/*
Theme Name: Myethik
Author: Julien Wegner
Description: Thème sur mesure pour l'association Myethik (Amarjap) — yoga Kundalini, Yoga Nidra, cercles de femmes, Marseille.
Version: 1.0.0
Text Domain: myethik
*/

:root {
  --linen: #F7F5F1;
  --sand: #EFE9DD;
  --paper: #FFFFFF;
  --ink: #2E2A36;
  --ink-soft: #5E5868;
  --rose: #D63E74;
  --rose-deep: #B12E5E;
  --rose-pale: #F8E3EA;
  --violet: #4B3480;
  --night: #221A36;
  --lavender: #CDBEEA;
  --teal: #3F6B68;
  --aqua: #6CCBD1;        /* tunique d'Amarjap (photo d'accueil) */
  --aqua-deep: #3FAAB3;
  --aqua-pale: #E6F3F5;
  --line: rgba(46, 42, 54, .14);

  --font: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --script: "Dancing Script", cursive;
  --display: "Poiret One", "Jost", sans-serif;

  --step--1: clamp(.86rem, .84rem + .1vw, .92rem);
  --step-0: clamp(1.02rem, .98rem + .2vw, 1.12rem);
  --step-1: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + .9vw, 2.15rem);
  --step-3: clamp(2.1rem, 1.7rem + 1.8vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.2vw, 4.6rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --arch: 999px 999px 18px 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--linen); color: var(--ink);
  font-family: var(--font); font-weight: 400; font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-weight: 300; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, h2, .quote { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 400; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 62ch; }
.lead { font-size: var(--step-1); font-weight: 300; line-height: 1.5; color: var(--ink-soft); }
.script { font-family: var(--script); font-weight: 500; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font: 500 var(--step-0)/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background-color: var(--rose-deep); color: #fff; }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.btn-light { background: var(--linen); color: var(--night); }
.btn-light:hover { background: var(--rose); color: #fff; box-shadow: 0 6px 16px -10px rgba(214, 62, 116, .55); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 241, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand svg { height: 30px; width: auto; display: block; }
@media (max-width: 420px) { .brand svg { height: 24px; } }
.brand-name { font-size: 1.55rem; font-weight: 300; letter-spacing: .14em; }
.brand-sub { font-family: var(--script); font-size: 1.35rem; color: var(--rose); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { color: var(--ink); text-decoration: none; font-size: .98rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav .current-menu-item > a { border-bottom-color: var(--rose); color: var(--ink); }
.nav .menu-cta > a { background: var(--rose); color: #fff; padding: .55em 1.1em; border-radius: 999px; border: 0; }
.nav .menu-cta > a:hover { background: var(--rose-deep); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: inherit; color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--linen); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .menu-cta > a { text-align: center; margin-top: 14px; padding: 14px; }
}

/* Arch motif — the doorways of the Panier */
.arch { border-radius: var(--arch); overflow: hidden; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(44px, 6vw, 72px); }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-rose { background: var(--rose-pale); }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); }

/* Home hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: var(--step-4); margin-bottom: .35em; }
.hero h1 span { display: block; }
.hero .lead { max-width: 46ch; margin-bottom: 1.8em; }
.hero-figure { position: relative; }
.hero-figure .arch { aspect-ratio: 4 / 5; }
.hero-sign { position: absolute; left: -8%; bottom: 8%; background: var(--linen); padding: 10px 20px; border-radius: 999px; font-family: var(--script); font-size: 1.6rem; color: var(--rose-deep); box-shadow: 0 6px 24px rgba(46, 42, 54, .08); }
.leaf { position: absolute; width: 180px; opacity: .55; pointer-events: none; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { max-width: 420px; justify-self: center; width: 100%; }
  .hero-sign { left: 0; }
}

/* Nidra band on home */
.nidra-band { background: var(--night); color: var(--linen); overflow: hidden; position: relative; }
.nidra-band .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.nidra-band h2 { color: #fff; }
.nidra-band p { color: rgba(247, 245, 241, .82); }
.nidra-band .arch { aspect-ratio: 4 / 5; background: var(--violet); }
.facts { list-style: none; padding: 0; margin: 0 0 1.8em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.facts li { border-top: 1px solid rgba(205, 190, 234, .35); padding-top: 10px; }
.facts strong { display: block; font-weight: 400; font-size: var(--step-1); color: #fff; }
.facts span { font-size: var(--step--1); color: var(--lavender); }
.offer-note { display: inline-block; background: rgba(214, 62, 116, .18); color: #fff; border: 1px solid rgba(214, 62, 116, .55); border-radius: 999px; padding: 6px 16px; font-size: var(--step--1); margin-bottom: 1.4em; }
@media (max-width: 860px) {
  .nidra-band .wrap { grid-template-columns: 1fr; }
  .nidra-band .arch { max-width: 360px; }
}

/* Offer rows */
.offers { display: grid; gap: clamp(56px, 8vw, 96px); }
.offer { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.offer:nth-child(even) { grid-template-columns: 7fr 5fr; }
.offer:nth-child(even) .offer-media { order: 2; }
.offer-media .arch { aspect-ratio: 5 / 6; }
.offer h3 { font-size: var(--step-2); font-weight: 300; }
.meta-list { list-style: none; padding: 0; margin: 0 0 1.6em; }
.meta-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.meta-list li span:first-child { color: var(--ink-soft); }
.meta-list li span:last-child { text-align: right; }
@media (max-width: 860px) {
  .offer, .offer:nth-child(even) { grid-template-columns: 1fr; }
  .offer:nth-child(even) .offer-media { order: 0; }
  .offer-media { max-width: 380px; }
}

/* Onde teaser */
.onde { position: relative; overflow: hidden; background: var(--aqua-pale); }
.onde .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.onde-img { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; }
.onde-img img { width: 100%; height: 100%; object-fit: cover; }
.onde-dates { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; gap: 10px; }
.onde-dates li { background: #fff; border-radius: 999px; padding: 8px 16px; font-size: var(--step--1); }
.tag-soon { display: inline-block; font-family: var(--script); font-size: 1.5rem; color: var(--rose-deep); margin-bottom: .2em; }
@media (max-width: 860px) { .onde .wrap { grid-template-columns: 1fr; } }

/* About teaser */
.about-teaser .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about-teaser .arch { aspect-ratio: 3 / 4; }
.quote { font-size: var(--step-2); font-weight: 300; line-height: 1.3; margin: 0 0 .8em; }
@media (max-width: 760px) { .about-teaser .wrap { grid-template-columns: 1fr; } .about-teaser .arch { max-width: 300px; } }

/* Newsletter */
.newsletter { background: var(--teal); color: #fff; }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter h2 { color: #fff; font-size: var(--step-2); }
.newsletter p { color: rgba(255, 255, 255, .85); margin: 0; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input[type=email] { flex: 1 1 220px; min-width: 0; padding: .85em 1.2em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); color: #fff; font: inherit; }
.inline-form input::placeholder { color: rgba(255, 255, 255, .7); }
.inline-form .btn { background: #fff; color: var(--teal); }
.inline-form .btn:hover { background: var(--linen); color: var(--ink); }
.form-msg { margin-top: 12px; font-size: var(--step--1); }
@media (max-width: 760px) { .newsletter .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(247, 245, 241, .78); padding-block: 56px 32px; font-size: var(--step--1); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h3 { color: #fff; font-size: 1rem; font-weight: 500; margin-bottom: .8em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-brand { color: #fff; margin-bottom: 1.2em; }
.footer-brand svg { width: min(320px, 100%); height: auto; display: block; }
.footer-legal { border-top: 1px solid rgba(247, 245, 241, .15); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 64px); }
.page-hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.page-hero .arch { aspect-ratio: 4 / 5; max-width: 420px; justify-self: end; width: 100%; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .arch { justify-self: start; max-width: 340px; } }

/* Schedule */
.schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.slot { background: #fff; border-radius: 18px; padding: 28px; border: 1px solid var(--line); }
.slot .day { font-size: var(--step-2); font-weight: 300; line-height: 1; margin-bottom: .2em; }
.slot .time { color: var(--rose-deep); font-size: var(--step-1); }
@media (max-width: 600px) { .schedule { grid-template-columns: 1fr; } }
.price-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list strong { font-weight: 500; white-space: nowrap; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Prose */
.prose { max-width: 64ch; }
.prose p { color: var(--ink); }
.prose h2 { font-size: var(--step-2); margin-top: 1.4em; }
.badge-row { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.badge-row img { width: 96px; }

/* Contact */
.contact-card { background: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: var(--step--1); margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field textarea, .field select { width: 100%; padding: .8em 1em; border-radius: 12px; border: 1px solid var(--line); background: var(--linen); font: inherit; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; }
.notice-ok { background: #E3F0EC; color: #234542; }
.notice-err { background: var(--rose-pale); color: var(--rose-deep); }

/* ===== Formation Yoga Nidra (sales page) ===== */
.nidra-hero { background: var(--night); color: var(--linen); position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(64px, 9vw, 120px); }
.nidra-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.nidra-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.7rem); }
.nidra-hero .lead { color: rgba(247, 245, 241, .82); max-width: 48ch; }
.nidra-hero .kicker { font-family: var(--script); font-size: 1.7rem; color: var(--lavender); margin-bottom: .3em; display: block; }
.breath { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; display: grid; place-items: center; }
.breath .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(205, 190, 234, .45); }
.breath .ring-2 { inset: 9%; border-color: rgba(205, 190, 234, .3); }
.breath .ring-3 { inset: 18%; border-color: rgba(214, 62, 116, .5); }
.breath .disc { position: absolute; inset: 22%; border-radius: 50%; overflow: hidden; }
.breath .disc img { width: 100%; height: 100%; object-fit: cover; }
.breath-label { position: absolute; bottom: -2.2em; left: 0; right: 0; text-align: center; font-size: var(--step--1); color: var(--lavender); }
@media (prefers-reduced-motion: no-preference) {
  .breath .ring-1 { animation: breathe 10s ease-in-out infinite; }
  .breath .ring-2 { animation: breathe 10s ease-in-out infinite .4s; }
  .breath .ring-3 { animation: breathe 10s ease-in-out infinite .8s; }
  @keyframes breathe { 0%, 100% { transform: scale(.9); opacity: .55; } 50% { transform: scale(1.04); opacity: 1; } }
}
@media (max-width: 860px) {
  .nidra-hero .wrap { grid-template-columns: 1fr; }
  .breath { max-width: 300px; margin-bottom: 2.5em; }
}
.early { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 1.8em; padding: 14px 20px; border-radius: 16px; background: rgba(214, 62, 116, .16); border: 1px solid rgba(214, 62, 116, .5); color: #fff; }
.early strong { font-weight: 500; }
.early .count { font-size: var(--step--1); color: var(--lavender); }
.nidra-hero .facts { margin-top: 2.4em; }

.outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 40px; }
.outcomes li { padding: 22px 0 22px 36px; border-top: 1px solid var(--line); position: relative; }
.outcomes li::before { content: ""; position: absolute; left: 0; top: 30px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--rose); }
.outcomes strong { display: block; font-weight: 500; margin-bottom: 4px; }
.outcomes span { color: var(--ink-soft); }

.format-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.format-item { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid var(--line); }
.format-item .num { font-size: var(--step-3); font-weight: 300; color: var(--violet); line-height: 1; }
.format-item p { margin: .5em 0 0; color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 860px) { .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--lavender); }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--linen); border: 2px solid var(--violet); }
.timeline li.pause::before { border-color: var(--lavender); background: var(--lavender); }
.timeline li.nature::before { border-color: var(--teal); background: var(--teal); }
.timeline .when { font-weight: 500; display: block; }
.timeline .what { color: var(--ink-soft); font-size: var(--step--1); }

.modules { border-top: 1px solid var(--line); }
.module { border-bottom: 1px solid var(--line); }
.module summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 3.2em 1fr auto; gap: 12px; align-items: baseline; padding: 22px 0; font-size: var(--step-1); font-weight: 300; }
.module summary::-webkit-details-marker { display: none; }
.module summary .n { color: var(--violet); font-size: var(--step-0); font-weight: 500; }
.module summary .plus { font-size: 1.6rem; line-height: 1; color: var(--rose); transition: transform .25s; }
.module[open] summary .plus { transform: rotate(45deg); }
.module ul { margin: 0 0 24px 3.2em; padding: 0 0 0 1em; columns: 2 260px; column-gap: 40px; color: var(--ink-soft); }
.module li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 600px) { .module ul { margin-left: 0; } }

.immersion { background: var(--teal); color: #fff; }
.immersion .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.immersion h2 { color: #fff; }
.immersion p { color: rgba(255, 255, 255, .86); }
.immersion .arch { aspect-ratio: 4 / 5; max-width: 420px; }
.pill-list { list-style: none; padding: 0; margin: 1.2em 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 6px 14px; font-size: var(--step--1); }
@media (max-width: 860px) { .immersion .wrap { grid-template-columns: 1fr; } }

.for-who { list-style: none; padding: 0; margin: 0 0 1.4em; }
.for-who li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--step-1); font-weight: 300; }

.trainer { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.trainer .arch { aspect-ratio: 3 / 4; }
.creds { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; }
.creds li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.creds li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--rose); }
@media (max-width: 760px) { .trainer { grid-template-columns: 1fr; } .trainer .arch { max-width: 320px; } }

.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.price-card { border-radius: 24px; padding: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid var(--line); }
.price-card.main { background: var(--night); color: var(--linen); border: 0; }
.price-card .amount { font-size: var(--step-4); font-weight: 300; line-height: 1; color: #fff; }
.price-card .was { text-decoration: line-through; color: var(--lavender); margin-left: .4em; font-size: var(--step-1); }
.price-card ul { padding-left: 1.1em; margin: 1.4em 0; }
.price-card.main li { color: rgba(247, 245, 241, .85); }
.price-card .btn { width: 100%; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-size: var(--step-1); font-weight: 300; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rose); font-size: 1.5rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); max-width: 64ch; }

.final-cta { background: var(--night); color: var(--linen); text-align: center; }
.final-cta h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.final-cta p { color: rgba(247, 245, 241, .8); max-width: 52ch; margin: 0 auto 1.8em; }
.final-cta .btn-row { justify-content: center; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--night); color: #fff; padding: 10px var(--gutter); display: none; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); transform: translateY(100%); transition: transform .3s; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta small { display: block; color: var(--lavender); }
.sticky-cta .btn { padding: .7em 1.2em; }
@media (max-width: 760px) { .sticky-cta { display: flex; } body.has-sticky { padding-bottom: 72px; } }

/* ===== Motion: subtle, only when JS is on and the visitor accepts motion ===== */
.btn { transition: background-color .3s, color .3s, border-color .3s, transform .3s ease, box-shadow .3s; }
.btn:hover { transform: translateY(-1px); }
.btn-rose:hover { box-shadow: 0 6px 16px -10px rgba(214, 62, 116, .55); }
.arch img, .onde-img img { transition: transform 1.6s ease; }
.arch:hover img, .onde-img:hover img { transform: scale(1.02); }

@media (prefers-reduced-motion: no-preference) {
  .anim .reveal { opacity: 0; transform: translateY(10px); transition: opacity 1.1s ease, transform 1.1s ease; transition-delay: calc(var(--i, 0) * 60ms); }
  .anim .reveal.is-in { opacity: 1; transform: none; }
  .anim .arch.reveal, .anim .onde-img.reveal { transform: none; }
  .anim .arch.reveal img { transform: scale(1.03); transition: transform 2s ease; }
  .anim .arch.reveal.is-in img { transform: none; }
  .anim .arch.reveal.is-in:hover img { transform: scale(1.02); }

  .anim .hero h1, .anim .nidra-hero h1, .anim .page-hero h1 { animation: soft-rise 1.2s ease both; }
  .anim .hero .lead, .anim .hero .btn-row, .anim .nidra-hero .lead, .anim .nidra-hero .early, .anim .nidra-hero .btn-row { animation: soft-rise 1.2s ease .2s both; }
  .anim .hero .arch, .anim .page-hero .arch, .anim .breath .disc, .anim .hero-sign { animation: soft-fade 1.6s ease .1s both; }
  @keyframes soft-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes soft-fade { from { opacity: 0; } to { opacity: 1; } }
}

.footer-credit { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer-credit:hover { opacity: .8; }

/* Boutons de l'accueil : couleur de la tunique d'Amarjap */
.hero .btn-rose { background: var(--aqua); color: var(--ink); }
.hero .btn-rose:hover { background: var(--aqua-deep); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(63, 170, 179, .6); }
.hero .btn-line { border-color: var(--aqua-deep); color: var(--ink); }
.hero .btn-line:hover { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
