/* PRISTAYA — site vitrine (pristaya.com). Même univers que l'application : crème rosé, framboise, prune, Caprasimo / Figtree. */
@font-face { font-family: 'Caprasimo'; font-weight: 400; font-display: swap; src: url('fonts/caprasimo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 400; font-display: swap; src: url('fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-display: swap; src: url('fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 700; font-display: swap; src: url('fonts/figtree-latin-700-normal.woff2') format('woff2'); }
:root {
  --bg: #f8f1ee; --surface: #fffbfa; --surface-2: #f1e6e2; --ink: #2a0f1d; --ink-soft: #6e5260;
  --night: #3a1428; --night-2: #5a2440; --accent: #c0577d; --accent-strong: #a3285f; --accent-700: #7d1d48; --accent-100: #fbeef3;
  --line: rgba(42, 15, 29, .12); --r: 28px; --r-s: 16px; --shadow: 0 3px 10px rgba(58, 20, 40, .16);
  --title: 'Caprasimo', Georgia, serif; --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-700); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--title); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.eyebrow { color: var(--accent-700); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: .6em; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--surface); padding: 8px 14px; border-radius: 999px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgba(248, 241, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { font-family: var(--title); font-size: 1.5rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current='page'] { background: var(--surface-2); }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink); padding: 8px 10px; border-radius: 999px; cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; background: var(--surface); padding: 12px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .top .btn--app { display: none; }
  .nav .nav__app { display: block; }
}
.nav .nav__app { display: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer; }
.btn--primary { background: var(--accent-strong); color: var(--surface); }
.btn--primary:hover { background: var(--accent-700); color: var(--surface); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--surface); }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--app { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Héros */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: var(--surface); background: var(--night) center/cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 15, 29, .1) 20%, rgba(42, 15, 29, .82) 100%); }
.hero > .wrap { position: relative; z-index: 1; padding: 120px 0 56px; }
.hero h1 { max-width: 15ch; }
.hero p.lead { font-size: clamp(1.1rem, 2.6vw, 1.35rem); max-width: 38ch; color: #f6e6ec; }
.hero .eyebrow { color: #e8b7c3; }
.page-head { padding: 64px 0 24px; }
.page-head .lead { font-size: 1.2rem; max-width: 46ch; color: var(--ink-soft); }
.banner { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 7; background: var(--surface-2) center/cover; margin: 8px 0 0; }

/* Sections */
section.block { padding: 56px 0; }
section.block--alt { background: var(--surface); }
section.block--night { background: var(--night); color: var(--surface); }
section.block--night .muted { color: #e2ccd5; } section.block--night .eyebrow { color: #e8b7c3; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border-radius: var(--r); padding: 24px; box-shadow: 0 1px 2px rgba(58, 20, 40, .1); display: flex; flex-direction: column; }
.block--alt .card { background: var(--bg); }
.card h3 { margin-bottom: .35em; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card p:last-of-type { margin-bottom: 18px; }
.door { padding: 0; overflow: hidden; }
.door__img { aspect-ratio: 4 / 3; background: var(--surface-2) center/cover; }
.door__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; align-self: flex-start; background: var(--accent-100); color: var(--accent-700); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.tag--free { background: #e7efdf; color: #3f5a2c; }

/* Bandeau « sans abonnement » */
.callout { background: var(--accent-100); border-radius: var(--r); padding: 28px; display: grid; gap: 8px; border: 1px solid #f6dfe5; }
.callout h2 { font-size: clamp(1.4rem, 3.6vw, 2rem); margin: 0; }
.callout p { margin: 0; }

/* Étapes */
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; list-style: none; margin: 0; }
.steps li { background: var(--bg); border-radius: var(--r-s); padding: 22px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); font-family: var(--title); font-size: 2rem; color: var(--accent); display: block; line-height: 1; margin-bottom: 8px; }
.steps strong { display: block; margin-bottom: 4px; }

/* Formules */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan { background: var(--surface); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; border: 2px solid transparent; }
.plan--featured { border-color: var(--accent); position: relative; }
.plan__flag { position: absolute; top: -14px; left: 24px; background: var(--accent-strong); color: var(--surface); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }
.plan__price { font-family: var(--title); font-size: 2.4rem; line-height: 1; margin: 6px 0 4px; }
.plan__price small { font-family: var(--body); font-size: 1rem; color: var(--ink-soft); }
.plan ul { padding: 0; margin: 16px 0 22px; list-style: none; display: grid; gap: 8px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-strong); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* Programmes */
.prog { padding: 0; overflow: hidden; }
.prog__img { aspect-ratio: 4 / 5; background: var(--surface-2) center/cover; }
.prog__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prog__body h3 { font-size: 1.25rem; margin-bottom: .2em; }
.prog__price { font-weight: 700; margin: 6px 0 14px; }

/* Listes simples, FAQ */
.ticks { padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: '✦'; position: absolute; left: 0; color: var(--accent); }
details.faq { background: var(--surface); border-radius: var(--r-s); padding: 0 20px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; float: right; font-family: var(--title); color: var(--accent); }
details.faq[open] summary::after { content: '–'; }
details.faq p { padding-bottom: 14px; margin: 0; }

/* À compléter (visible tant que Georgie n'a pas donné le texte) */
.todo { background: repeating-linear-gradient(-45deg, #fbeef3, #fbeef3 10px, #f6dfe5 10px, #f6dfe5 20px); border: 2px dashed var(--accent); border-radius: var(--r-s); padding: 14px 16px; color: var(--accent-700); font-weight: 600; font-size: .95rem; }

/* Portrait */
.portrait { border-radius: var(--r); aspect-ratio: 4 / 5; background: var(--surface-2); display: grid; place-items: center; text-align: center; padding: 24px; }
.split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 5fr 7fr; } .split--rev { grid-template-columns: 7fr 5fr; } }

/* Actualités */
.news { display: grid; gap: 16px; }
.news article { background: var(--surface); border-radius: var(--r-s); padding: 22px; }
.news time { color: var(--ink-soft); font-size: .9rem; }

/* Pied de page */
.foot { background: var(--night); color: #efdfe6; padding: 48px 0 32px; margin-top: 0; }
.foot a { color: #e8b7c3; }
.foot__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot .brand { color: var(--surface); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot__legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 32px; padding-top: 18px; font-size: .88rem; color: #d6bfc9; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
@media (max-width: 600px) { .prog__img { aspect-ratio: 16 / 10; } .hero { min-height: 82vh; } }

/* Novembre 2026 : photos réelles, témoignages, mise en avant, vidéo */
.photo { width: 100%; border-radius: var(--r); object-fit: cover; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.photo--portrait { aspect-ratio: 4 / 5; object-position: center 30%; }
.quote { margin: 0; justify-content: space-between; gap: 16px; }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.55; position: relative; padding-top: 28px; }
.quote blockquote::before { content: '“'; position: absolute; top: -6px; left: 0; font-family: var(--title); font-size: 3rem; line-height: 1; color: var(--accent); }
.quote figcaption { font-size: .88rem; color: var(--ink-soft); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.feature { display: grid; gap: 0; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 2px rgba(58, 20, 40, .1); }
.feature__img { min-height: 240px; background: var(--surface-2) center/cover; }
.feature__body { padding: 28px; }
@media (min-width: 860px) { .feature { grid-template-columns: 5fr 7fr; } .feature__img { min-height: 100%; } .feature__body { padding: 40px; } }
.video { margin: 0; display: grid; gap: 8px; }
.video video { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r); background: var(--night); }
.steps li strong + br { display: none; }
.ticks.small li { font-size: .92rem; }
.card .ticks { margin: 0 0 18px; }
section.block--night .photo { box-shadow: none; }
.grid--acc { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.acc__img { display: block; transition: transform .25s ease, filter .25s ease; }
.acc__img:hover { filter: brightness(1.06); }
.acc:has(.acc__img:hover) { box-shadow: var(--shadow); }
.steps--compact { grid-template-columns: 1fr; gap: 10px; }
.steps--compact li { padding: 14px 18px 14px 58px; background: var(--surface); }
.steps--compact li::before { position: absolute; left: 18px; top: 14px; font-size: 1.6rem; }
.photo { height: auto; }
.banner--top { background-position: center 22%; }
@media (min-width: 1000px) { .grid--acc { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; } .grid--acc .door__body { padding: 18px; } .grid--acc .btn { padding: 10px 14px; font-size: .92rem; } }

/* Site relié au back-office (événements, accompagnements) */
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--accent-100); }
.live-wait { padding: 24px 0; }
.ev .tag, .ev-body .tag { margin-bottom: 8px; }
.ev__link { color: inherit; text-decoration: none; }
.tag--full { background: #f1e1e1; color: #7a2a2a; }
.tag--ok { background: #e7efdf; color: #3f5a2c; }
.next-list { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 10px; }
.next-list a { display: flex; gap: 14px; align-items: center; color: var(--surface); text-decoration: none; background: rgba(255, 255, 255, .08); border-radius: var(--r-s); padding: 12px 14px; }
.next-list a:hover { background: rgba(255, 255, 255, .14); color: var(--surface); }
.next-list__date { font-family: var(--title); font-size: 1.1rem; color: #e8b7c3; min-width: 68px; }
.hero--event { min-height: min(70vh, 620px); }
.hero--event .eyebrow a { color: inherit; }
.hero__facts { font-weight: 700; color: #f6e6ec; }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.split--event { align-items: start; }
@media (min-width: 860px) { .split--event { grid-template-columns: 8fr 4fr; } .ev-aside { position: sticky; top: 84px; } }
.ev-body h2 { margin-top: 32px; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ticks--no li::before { content: '–'; color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 18px; font-size: .95rem; }
.facts dt { font-weight: 700; color: var(--ink-soft); }
.facts dd { margin: 0; }
.ev-aside .btn { width: 100%; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 16px; }
.gallery figure { margin: 0; } .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-s); }
.sticky-book { display: none; }
@media (max-width: 859px) {
  .sticky-book { display: block; position: sticky; bottom: 0; z-index: 15; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(248, 241, 238, .96); border-top: 1px solid var(--line); }
  .sticky-book .btn { width: 100%; }
}
.banner--small { aspect-ratio: 16 / 3.2; max-height: 220px; background-position: center 35%; }
@media (max-width: 600px) { .banner--small { aspect-ratio: 16 / 6; max-height: 160px; } }
.banner--top.banner--small { background-position: center 18%; }
/* 03/11 soir : images entières (plus de têtes coupées) */
.banner-img { display: block; width: auto; max-width: 100%; height: auto; max-height: 340px; border-radius: var(--r); margin: 8px 0 0; box-shadow: var(--shadow); }
@media (max-width: 600px) { .banner-img { width: 100%; max-height: none; } }
.ev .door__img { aspect-ratio: auto; background: none; display: block; }
.ev .door__img img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; background: var(--night); }
.ev-poster { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; margin: 0 0 20px; }
.ev-poster img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow); }
.ev-poster span { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink-soft); text-align: center; }
.ev-video { margin: 24px 0; } .ev-video video, .ev-video iframe { width: 100%; border: 0; border-radius: var(--r); background: var(--night); aspect-ratio: 16 / 9; }
.gallery .zoomable { padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; display: block; }
dialog.zoom { border: 0; padding: 0; margin: 0; inset: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(11, 7, 9, .94); display: flex; align-items: center; justify-content: center; }
dialog.zoom img { max-width: calc(100vw - 24px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
dialog.zoom .zoom__close { position: fixed; top: 12px; right: 12px; background: rgba(255, 251, 250, .92); color: var(--ink); border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; cursor: pointer; }
.gallery img { object-fit: contain; background: var(--night); }
