/* Aplomb : le calme d'une pièce claire. Céladon, encre verte, un point de terre cuite. Un fil à plomb traverse la page et oscille quand on défile. */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-i.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("fonts/albert.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --fond: #F0F3EE; --eau: #DFE7E1; --celadon: #A9BCAC; --encre: #1E2F2B; --encre-2: #16241F; --terre: #C8654A; --terre-f: #A44A31; --doux: #55665F; --doux-n: #AFC0B6; --filet: rgba(30, 47, 43, .15); --filet-n: rgba(233, 239, 234, .17); --marge: clamp(20px, 4.4vw, 76px); --sortie: cubic-bezier(.16, 1, .3, 1); --doux-c: cubic-bezier(.32, .72, 0, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 17.5px/1.6 "Albert Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--terre); color: #fff; }
:focus-visible { outline: 2px solid var(--terre); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.evite { position: absolute; left: -9999px; }
.evite:focus { left: 12px; top: 12px; z-index: 100; padding: 10px 14px; background: #fff; }
.cadre { width: 100%; max-width: 1560px; margin: 0 auto; padding-inline: var(--marge); }
.titre { font: 300 clamp(48px, 6.6vw, 112px)/1.02 "Newsreader", serif; letter-spacing: -.024em; }
.titre em { font-weight: 300; }

.bouton { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 8px 8px 8px 24px; border: 0; border-radius: 14px; background: var(--encre); color: #fff; font-weight: 500; font-size: 16px; line-height: 1.1; cursor: pointer; transition: background-color .35s var(--doux-c), transform .18s var(--sortie); }
.bouton__f { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .13); transition: transform .5s var(--doux-c); }
.bouton svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.bouton:active { transform: scale(.98); }
@media (hover: hover) { .bouton:hover { background: #2A423C; } .bouton:hover .bouton__f { transform: translateX(3px); } }
.bouton--clair { background: var(--fond); color: var(--encre); }
.bouton--clair .bouton__f { background: rgba(30, 47, 43, .09); }
@media (hover: hover) { .bouton--clair:hover { background: #fff; } }

/* Le fil à plomb : il pend du haut de l'écran, il oscille quand on défile, puis il se remet d'aplomb */
.fil { position: fixed; z-index: 15; top: 0; right: clamp(16px, 6.2vw, 110px); width: 22px; height: 58vh; transform-origin: 50% 0; pointer-events: none; will-change: transform; }
.fil__corde { position: absolute; left: 50%; top: 0; bottom: 30px; width: 1.2px; margin-left: -.6px; background: var(--encre); opacity: .72; }
.fil__plomb { position: absolute; left: 0; bottom: 0; width: 22px; height: 32px; }
.fil__plomb svg { width: 100%; height: 100%; }
.capture .fil { display: none; }

.tete { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: flex-start; gap: 30px; padding: 24px var(--marge) 0; }
.tete__logo svg { height: 84px; width: auto; }
.tete__nav { display: flex; gap: 30px; margin-left: auto; margin-right: clamp(60px, 8vw, 150px); padding-top: 11px; font-size: 15.5px; font-weight: 450; }
.tete__nav a { position: relative; padding-bottom: 4px; }
.tete__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--doux-c); }
@media (hover: hover) { .tete__nav a:hover::after { transform: scaleX(1); } }
.tete__nav-cta { display: none; }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; position: relative; z-index: 2; border: 0; border-radius: 12px; background: var(--eau); cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--encre); transition: transform .5s var(--doux-c), top .5s var(--doux-c); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.menu-ouvert .burger span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-ouvert .burger span:last-child { top: 22.5px; transform: rotate(-45deg); }

/* Une */
.une { padding: clamp(130px, 17vh, 170px) var(--marge) 0; }
.une__haut { display: grid; grid-template-columns: 1fr minmax(320px, 400px); gap: 30px clamp(40px, 8vw, 170px); align-items: end; margin-right: clamp(40px, 7vw, 130px); }
.une__titre { font: 300 clamp(64px, min(10.4vw, 18.5vh), 186px)/.98 "Newsreader", serif; letter-spacing: -.034em; }
.une__titre em { font-weight: 300; }
.creneaux { padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 2px 2px rgba(30, 47, 43, .03), 0 26px 50px -30px rgba(30, 47, 43, .24); }
.creneaux h2 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.creneaux__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.creneaux__liste label { position: relative; cursor: pointer; }
.creneaux__liste input { position: absolute; opacity: 0; }
.creneaux__liste span { display: block; padding: 10px 12px; border-radius: 12px; background: var(--fond); font-size: 15px; line-height: 1.25; transition: background-color .35s var(--doux-c), color .35s var(--doux-c), transform .3s var(--sortie); }
.creneaux__liste span b { display: block; font-weight: 600; }
.creneaux__liste input:checked + span { background: var(--encre); color: #fff; }
.creneaux__liste input:focus-visible + span { outline: 2px solid var(--terre); outline-offset: 2px; }
.creneaux__liste label:active span { transform: scale(.97); }
.creneaux .bouton { width: 100%; }
.creneaux__note { margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--doux); }
.creneaux__msg { margin-top: 10px; padding: 11px 13px; border-radius: 12px; background: var(--eau); font-size: 14.5px; line-height: 1.4; }
.une__photo { margin: clamp(30px, 4.6vw, 66px) calc(var(--marge) * -1) 0; height: clamp(320px, 56vw, 820px); overflow: hidden; }
.une__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.une__texte { max-width: 44em; margin: clamp(30px, 4vw, 60px) 0 0 auto; padding-right: clamp(40px, 12vw, 220px); font: 300 clamp(23px, 2.2vw, 36px)/1.3 "Newsreader", serif; letter-spacing: -.008em; }

/* Ce qui vous amène : les zones s'enfilent sur l'axe */
.amene { padding-block: clamp(90px, 11vw, 180px); }
.amene__grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 130px); align-items: start; padding-right: clamp(calc(var(--marge) + 10px), 11vw, 200px); }
.zones { position: relative; padding-left: 30px; }
.zones::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--encre); opacity: .3; }
.zones li { position: relative; border-bottom: 1px solid var(--filet); }
.zones li::before { content: ""; position: absolute; left: -30px; top: clamp(25px, 2.5vw, 38px); width: 11px; height: 11px; border-radius: 50%; background: var(--fond); box-shadow: inset 0 0 0 1.5px var(--encre); transition: background-color .4s, box-shadow .4s; }
.zones li.ouverte::before { background: var(--terre); box-shadow: none; }
.zones button { display: block; width: 100%; padding: clamp(14px, 1.5vw, 22px) 40px clamp(14px, 1.5vw, 22px) 0; border: 0; background: none; text-align: left; font: 300 clamp(29px, 3vw, 48px)/1.1 "Newsreader", serif; letter-spacing: -.016em; cursor: pointer; position: relative; }
.zones button::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center / 100% 1.3px no-repeat, linear-gradient(currentColor, currentColor) center / 1.3px 100% no-repeat; transition: transform .5s var(--doux-c); }
.zones button[aria-expanded="true"]::after { transform: rotate(135deg); }
.zones__corps { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--doux-c); }
.zones__corps > p { overflow: hidden; min-height: 0; max-width: 33em; color: var(--doux); opacity: 0; transition: opacity .4s var(--sortie), padding-bottom .55s var(--doux-c); }
.zones .ouverte .zones__corps { grid-template-rows: 1fr; }
.zones .ouverte .zones__corps > p { opacity: 1; padding-bottom: 22px; }

/* La séance */
.seance { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(30px, 6vw, 110px); padding: 0 clamp(calc(var(--marge) + 10px), 11vw, 200px) clamp(90px, 11vw, 180px) 0; }
.seance__fil { min-height: 100%; max-height: 980px; overflow: hidden; }
/* Le pendule : un fil à plomb calculé en 3D, pendu au haut du cadre. On le pousse du doigt ou de la souris, il revient d'aplomb.
   Le bras tourne autour du point d'attache ; l'ombre, floutée une fois pour toutes, suit le même angle un peu plus loin sur le mur. */
.pendule { position: relative; min-height: clamp(560px, 62vw, 980px); background: radial-gradient(120% 70% at 22% 18%, #F4F7F2 0, #DCE5DD 46%, #C3D1C6 100%); touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.pendule:active { cursor: grabbing; }
.pendule::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: linear-gradient(#B9C8BC, rgba(185, 200, 188, 0)); opacity: .5; }
.pendule__bras { position: absolute; left: 50%; top: 0; width: min(36%, 240px); height: 88%; transform: translateX(-50%); transform-origin: 50% 0; will-change: transform; }
.pendule__bras--ombre { left: 57%; top: 2.5%; opacity: .22; }
.pendule__bras--ombre .pendule__plomb { filter: brightness(0) blur(6px); }
/* le cordon part du haut de l'image (où le rendu en montre le départ) et monte au-delà du cadre, qui le coupe */
.pendule__plomb { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; aspect-ratio: 440 / 900; }
.pendule__plomb::before { content: ""; position: absolute; left: 50%; bottom: 99%; width: 2.8%; height: 300vh; margin-left: -1.4%; background: #C4533A; }
.pendule__plomb canvas, .pendule__plomb img { position: absolute; inset: 0; width: 100%; height: 100%; }
html.js .pendule__plomb canvas + img { visibility: hidden; }
.pendule__plomb.seq-prete canvas + img { display: none; }
html.capture .pendule__plomb canvas { display: none; }
html.capture .pendule__plomb canvas + img { visibility: visible; }
.pendule__legende { position: absolute; left: 0; right: 0; bottom: clamp(16px, 2vw, 28px); text-align: center; font: italic 300 clamp(17px, 1.4vw, 21px)/1.3 "Newsreader", serif; color: var(--doux); }
html.capture .pendule__legende { display: none; }
.seance__texte { padding-top: clamp(20px, 4vw, 70px); }
.pas { margin-top: clamp(30px, 4vw, 60px); counter-reset: p; }
.pas li { display: grid; grid-template-columns: 56px 1fr; padding: 20px 0; border-top: 1px solid var(--filet); counter-increment: p; }
.pas li::before { content: counter(p); grid-row: 1 / span 2; font: italic 300 36px/1 "Newsreader", serif; color: var(--terre-f); }
.pas b { font-weight: 550; font-size: 19px; }
.pas span { max-width: 30em; color: var(--doux); }
.seance__mains { margin-top: clamp(26px, 3.4vw, 54px); aspect-ratio: 3 / 2; overflow: hidden; }
.seance__mains img { width: 100%; height: 100%; object-fit: cover; }

/* Pour qui */
.qui { padding-block: clamp(70px, 9vw, 150px); background: var(--eau); }
.qui__phrase { max-width: 1180px; padding-right: clamp(50px, 8vw, 140px); font: 300 clamp(34px, 5vw, 86px)/1.1 "Newsreader", serif; letter-spacing: -.024em; }
.qui__phrase em { color: var(--terre-f); }

.limites { padding-block: clamp(40px, 5vw, 80px); }
.limites__grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px clamp(36px, 7vw, 130px); padding-right: clamp(calc(var(--marge) + 10px), 11vw, 200px); }
.limites h2 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 550; }
.limites p { max-width: 38em; color: var(--doux); }

/* Infos pratiques */
.infos { padding-block: clamp(80px, 10vw, 170px); background: var(--encre); color: #E9EFEA; }
.infos__grille { display: grid; grid-template-columns: 1fr 1.05fr .46fr; gap: clamp(20px, 3vw, 54px); align-items: end; }
.heures { width: 100%; margin: clamp(24px, 3vw, 44px) 0 clamp(24px, 2.6vw, 40px); border-collapse: collapse; }
.heures th, .heures td { padding: 13px 0; border-top: 1px solid var(--filet-n); text-align: left; font-weight: 400; color: var(--doux-n); }
.heures td { text-align: right; color: #E9EFEA; font-variant-numeric: tabular-nums; }
.infos__plaque { aspect-ratio: 3 / 2; overflow: hidden; }
.infos__attente { aspect-ratio: 2 / 3; overflow: hidden; }
.infos img { width: 100%; height: 100%; object-fit: cover; }

.pied { padding-block: clamp(40px, 5vw, 70px) 84px; background: var(--encre-2); color: var(--doux-n); }
.pied__grille { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 22px; }
.pied__logo { height: 98px; width: auto; }
.pied__note { margin-top: 26px; font-size: 13.5px; }

@media (max-width: 1280px) {
  .une__haut { gap: 30px 40px; margin-right: clamp(30px, 5vw, 70px); grid-template-columns: 1fr minmax(290px, 340px); }
  .une__titre { font-size: clamp(60px, min(8.6vw, 17vh), 120px); }
}
@media (max-width: 1000px) {
  .tete { align-items: center; padding-top: 14px; }
  .tete__logo { position: relative; z-index: 2; } .tete__logo svg { height: 66px; }
  .burger { display: block; }
  .tete__nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 8px; margin: 0; padding: 90px var(--marge); background: var(--fond); font: 300 clamp(38px, 10.6vw, 70px)/1.12 "Newsreader", serif; letter-spacing: -.02em; opacity: 0; visibility: hidden; transition: opacity .4s var(--sortie), visibility 0s .4s; }
  .menu-ouvert .tete__nav { opacity: 1; visibility: visible; transition: opacity .4s var(--sortie); }
  .tete__nav a::after { display: none; } .tete__nav-cta { display: block; color: var(--terre-f); }
  .une { padding-top: 110px; }
  .une__haut { grid-template-columns: 1fr; margin-right: 0; }
  .une__texte { padding-right: 0; margin-left: 0; }
  .amene__grille, .limites__grille, .seance { grid-template-columns: 1fr; padding-right: var(--marge); }
  .seance { padding-left: var(--marge); }
  .seance__fil { max-height: none; aspect-ratio: 4 / 5; min-height: 0; }
  .pendule { aspect-ratio: auto; height: min(118vw, 78svh); }
  .infos__grille { grid-template-columns: 1fr 1fr; align-items: start; }
  .infos__grille > div, .infos__plaque { grid-column: 1 / -1; }
  .infos__attente { grid-column: 1; }
  .fil { right: 3px; height: 30vh; width: 14px; }
  .fil__plomb { width: 14px; height: 22px; } .fil__corde { bottom: 20px; }
  .qui__phrase { padding-right: 20px; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .une__titre { font-size: clamp(54px, 16.4vw, 110px); }
  .tete__logo svg { height: 60px; }
  .pas li { grid-template-columns: 44px 1fr; }
}

@font-face { font-family: "Newsreader"; src: url("../fine.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+202F; }
@font-face { font-family: "Newsreader"; src: url("../fine.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+202F; }
@font-face { font-family: "Albert Sans"; src: url("../fine.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+202F; }
