/* Moopy Flow · feuille de style principale
   Tokens issus de la charte graphique (couleurs Figma, Inter, rayons). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --orange: #F2802F;
  --sun: #FBE695;
  --peach: #FDB373;
  --cocoa: #5E2A07;
  --cream: #FBF6EB;
  --ink: #1E1E1E;
  --graphite: #3C3C3C;
  --mist: #F2F2F8;
  --tile: #F7F7FB;
  --white: #FFFFFF;
  --lav: #A887FF;
  --lav-deep: #693AE1;
  --lav-light: #E0D4FF;

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 10vw, 120px);

  --f: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.45, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--f); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--lav-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r-m); }
.skip:focus { top: 16px; color: var(--white); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.center { text-align: center; }
.center .stores { justify-content: center; }
.small { font-size: 14px; color: var(--graphite); margin-top: 20px; }
.hp { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------- type */
.h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; max-width: 16ch; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; max-width: 20ch; }
.h2--narrow { max-width: 18ch; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; }
.h4 { font-size: 1.1rem; font-weight: 800; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--graphite); max-width: 60ch; margin-top: 18px; }
.link { font-weight: 600; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; margin: 10px 0 18px; }
.prose li::marker { color: var(--orange); font-weight: 800; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--pill); border: 0; font: 600 16px/1 var(--f); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; color: var(--white); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); margin-top: 28px; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 18px; border-radius: var(--r-m); background: var(--ink); color: var(--white); text-decoration: none; transition: transform .2s var(--ease); }
.store:hover { color: var(--white); transform: translateY(-2px); }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 17px; line-height: 1.15; }
.store small { font-size: 11px; font-weight: 500; }
.store--light { background: var(--white); color: var(--ink); }
.store--light:hover { color: var(--ink); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--orange); transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(30, 30, 30, .12); }
body:not(.page-home) .site-header { background: var(--white); }
body:not(.page-home) .site-header.is-scrolled { box-shadow: 0 1px 0 var(--mist); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 25px; letter-spacing: -0.045em; white-space: nowrap; }
.logo img { width: 40px; height: 40px; border-radius: 10px; }
.logo:hover { color: var(--ink); }
.logo--light, .logo--light:hover { color: var(--white); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 26px; list-style: none; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__end { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 15px !important; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: var(--pill); background: var(--ink); cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 14px; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle__bar { top: 23px; }
.nav-toggle__bar::before { content: ""; left: 0; top: -6px; }
.nav-toggle__bar::after { content: ""; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 0; flex-direction: column; align-items: stretch; gap: 28px; padding: 32px var(--gutter); background: var(--white); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; overflow-y: auto; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .25s var(--ease); }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a:not(.btn) { display: block; padding: 12px 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
  .nav__end { flex-direction: column; align-items: flex-start; }
  body.nav-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- hero */
.hero { background: var(--orange); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; min-height: calc(100svh - 76px); padding-top: clamp(24px, 4vh, 56px); padding-bottom: clamp(32px, 6vh, 72px); }
.hero__title { font-size: clamp(2.8rem, min(6vw, 9.5vh), 5.6rem); font-weight: 900; letter-spacing: -0.055em; line-height: .92; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; margin: clamp(16px, 3vh, 28px) 0 clamp(18px, 3vh, 28px); max-width: 34em; }
.hero__pick { font-weight: 800; margin-bottom: 10px; }
.hero .breath__stage { width: min(400px, 34vw, calc(100svh - 360px)); min-width: 220px; }
.hero__note { margin-top: 16px; font-size: 15px; font-weight: 500; }
.hero__form { background: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); max-width: 560px; }
.hero__formtitle { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px; }
.page-home .hero .breath__hint { color: var(--ink); }
@media (max-width: 880px) { .hero__in { grid-template-columns: 1fr; min-height: 0; } .hero__visual .breath__stage { width: min(320px, 72vw); } }

/* ---------------------------------------------------------------- breathing widget */
.breath { --orb: var(--sun); --halo: rgba(251, 230, 149, .45); --s: 0.72; --t: 1s; display: grid; justify-items: center; text-align: center; }
.breath__stage { position: relative; width: min(420px, 78vw); aspect-ratio: 1; display: grid; place-items: center; }
/* Les calques suivent le personnage avec un léger retard : le halo proche, puis le halo lointain (effet de souffle). */
.breath__halo { position: absolute; inset: 0; border-radius: 50%; background: var(--halo); transform: scale(calc(var(--s) + .1)); transition: transform var(--t) var(--ease) .22s; }
.breath__halo--far { opacity: .45; transform: scale(calc(var(--s) * 1.12 + .12)); transition-delay: .5s; }
.page-home .hero .breath__halo { background: rgba(251, 230, 149, .38); }
.breath__orb { width: 82%; transform: scale(var(--s)); transition: transform var(--t) var(--ease); will-change: transform; }
.orb__svg { width: 100%; overflow: visible; }
.orb__swirl { opacity: 0; transform: translateX(-12px); transition: opacity .6s, transform 1.2s var(--ease); }
.orb__mouth { transition: r .4s, opacity .25s; }
.orb__mouth-closed { opacity: 0; transition: opacity .25s; }
.orb__cheek { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease); }
/* Retenue : bouche fermée, joues un peu gonflées. */
.breath[data-state="hold"] .orb__mouth { opacity: 0; }
.breath[data-state="hold"] .orb__mouth-closed { opacity: 1; }
.breath[data-state="hold"] .orb__cheek { transform: scale(1.15); }
.breath[data-state="out"] .orb__swirl { opacity: 1; transform: none; }
.breath[data-state="in"] .orb__mouth { r: 5; }
.breath__phase { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; margin-top: 10px; min-height: 1.2em; }
.breath__count { font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; min-height: 1.6em; opacity: .7; }
.breath__toggle { margin-top: 12px; min-width: 160px; }
.breath__hint { margin-top: 14px; font-size: 15px; max-width: 30ch; color: var(--graphite); }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--section) 0; }
.section--tile { background: var(--tile); }
.section--flush { padding-top: 0; }
.section:not(.section--tile):not(.pagehead--color + .section) + .section:not(.section--tile) { padding-top: 0; }
.section__head { margin-bottom: 44px; }

.why { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 48px; }
.why--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why li { border-top: 3px solid var(--ink); padding-top: 20px; }
.why h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.why p { color: var(--graphite); }
@media (max-width: 860px) { .why, .why--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why, .why--4 { grid-template-columns: 1fr; } }

.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.tgrid--mini { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
/* Carte de technique façon app : fond organique (card_bg_*) + pictogramme, qui « respirent » doucement (ZenFloat 9 s). */
.tcard { position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 26px; border-radius: 30px; background: var(--white); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: translate .35s var(--ease), box-shadow .35s; }
.section:not(.section--tile) .tcard { background: var(--tile); }
.tcard:hover { color: var(--ink); translate: 0 -4px; box-shadow: 0 16px 36px rgba(30, 30, 30, .1); }
.tcard__art { position: absolute; right: -34px; top: -18px; width: 180px; z-index: -1; transform-origin: 50% 60%; animation: zen-float 9s ease-in-out infinite; animation-delay: calc(var(--ph, 0s) * -1); }
.tcard__blob { display: block; width: 100%; height: auto; transform: rotate(2.3deg); }
.tcard__glyph { position: absolute; left: 44%; top: 44%; width: 62px; height: 62px; translate: -50% -50%; color: var(--accent); opacity: .5; animation: zen-glyph 9s ease-in-out infinite; animation-delay: calc(var(--ph, 0s) * -1); transition: opacity .3s, scale .4s var(--ease); }
.tcard:hover .tcard__glyph { opacity: .85; scale: 1.12; }
.tcard__new { align-self: flex-start; padding: 4px 10px; border-radius: var(--pill); background: var(--ink); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .02em; margin-bottom: 10px; }
.tcard__title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; max-width: 12ch; line-height: 1.15; }
.h2 + .tgrid { margin-top: 40px; }
.tcard__text { margin-top: 8px; max-width: 17ch; font-size: 15px; color: var(--graphite); }
.tcard__rhythm { margin-top: auto; padding-top: 16px; align-self: flex-start; }
.tcard__rhythm { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--ink-c); }
.tcard__rhythm::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.tgrid--mini .tcard { min-height: 170px; padding: 20px; }
.tgrid--mini .tcard__art { width: 140px; right: -30px; }
.tgrid--mini .tcard__glyph { width: 48px; height: 48px; }
.tgrid--mini .tcard__title { font-size: 1.1rem; }
.tgrid--mini .tcard__text { font-size: 14px; }
@keyframes zen-float { 0%, 100% { transform: none; } 25% { transform: translateY(-1.5px) rotate(2deg) scale(1.02); } 50% { transform: translateY(-3px) scale(1.04); } 75% { transform: translateY(-1.5px) rotate(-2deg) scale(1.02); } }
@keyframes zen-glyph { 0%, 100% { transform: none; } 50% { transform: translateY(-2px) scale(1.05); } }

.sos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; background: #D5EEFF; border-radius: 40px; padding: clamp(32px, 6vw, 72px); }
.sos__list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.chip-link { display: inline-flex; align-items: center; gap: 12px; padding: 8px 22px 8px 8px; background: var(--white); border-radius: var(--pill); color: var(--ink); text-decoration: none; font-weight: 700; transition: transform .2s var(--ease); }
.chip-link img { width: 44px; height: 44px; }
.chip-link:hover { color: var(--ink); transform: translateY(-2px); }
@media (max-width: 860px) { .sos { grid-template-columns: 1fr; } }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__item { background: var(--bg); border-radius: 40px; padding: clamp(28px, 4vw, 48px); }
.duo__item img { width: 88px; margin-bottom: 22px; }
.duo__item p { margin-top: 12px; font-size: 1.1rem; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.split { max-width: 760px; background: var(--lav-light); border-radius: 40px; padding: clamp(28px, 5vw, 56px); }
.split .lead { color: var(--ink); }

.faq { display: grid; gap: 12px; margin: 32px 0 24px; }
.faq__item { background: var(--white); border-radius: var(--r-l); }
.section:not(.section--tile) .faq__item { background: var(--tile); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.faq__item summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--lav-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 24px; color: var(--graphite); max-width: 64ch; }

/* ---------------------------------------------------------------- inner pages */
.pagehead { padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.pagehead--color { background: var(--bg); }
.pagehead--color + .section { padding-top: clamp(48px, 7vw, 88px); }
.pagehead--color .breath__halo { background: rgba(255, 255, 255, .55); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--graphite); margin-bottom: 24px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--graphite); }

.tech { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tech .breath__stage { width: min(360px, 74vw); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0 0; }
.facts dt { font-weight: 800; font-size: 15px; }
.facts dd { margin: 4px 0 0; color: var(--graphite); font-size: 16px; }
@media (max-width: 860px) { .tech { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } }
.steps { counter-reset: s; list-style: none; padding: 0 !important; gap: 12px !important; }
.steps li { counter-increment: s; position: relative; padding: 16px 20px 16px 64px; background: var(--tile); border-radius: var(--r-l); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.note { background: #FFF6CC; border-radius: var(--r-l); padding: 22px 26px; margin: 28px 0; }
.note p { margin-top: 6px; }

.situs { display: grid; gap: 20px; }
.situ { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--bg); border-radius: 40px; padding: clamp(24px, 4vw, 48px); }
.situ p { margin-top: 10px; max-width: 62ch; }
.situ__tip { font-weight: 600; }
.situ__tech { font-size: 15px; }
@media (max-width: 620px) { .situ { grid-template-columns: 1fr; } .situ__img { width: 110px; } }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { position: relative; background: var(--tile); border-radius: 40px; padding: 36px; display: flex; flex-direction: column; }
.plan--best { background: var(--lav-light); }
.plan__badge { position: absolute; top: 28px; right: 28px; background: var(--ink); color: var(--white); border-radius: var(--r-s); padding: 6px 12px; font-size: 14px; font-weight: 600; }
.plan__name { font-size: 1.2rem; font-weight: 800; }
.plan__price { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -0.04em; margin-top: 12px; line-height: 1; }
.plan__sub { color: var(--graphite); margin: 8px 0 28px; flex: 1; }
.feats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; max-width: 860px; margin: 40px auto; }
.feats li { padding-left: 32px; position: relative; font-weight: 600; }
.feats li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--lav-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23693AE1' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .feats { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- waitlist */
.waitlist__row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist__email { flex: 1 1 240px; min-height: 54px; padding: 0 22px; border-radius: var(--pill); border: 2px solid var(--mist); background: var(--tile); font: 500 17px var(--f); color: var(--ink); transition: border-color .2s; }
.waitlist__email:focus { outline: none; border-color: var(--lav-deep); background: var(--white); }
.waitlist__email[aria-invalid="true"] { border-color: #C0362C; }
.waitlist .btn { min-height: 54px; }
.waitlist__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--graphite); cursor: pointer; }
.waitlist__consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--lav-deep); }
.waitlist__msg { margin-top: 12px; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.waitlist__msg.is-error { color: #B02A20; }
.waitlist__msg.is-ok { color: var(--ink); }
.waitlist__launch { margin-top: 6px; font-size: 14px; color: var(--graphite); }
.waitlist.is-done .waitlist__row, .waitlist.is-done .waitlist__consent { display: none; }
.waitlist.is-done .waitlist__msg { font-size: 1.15rem; padding: 18px 22px; border-radius: var(--r-l); background: var(--sun); animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------- contact */
.contact-form { margin-top: 32px; max-width: 640px; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; }
.field__opt { font-weight: 500; color: var(--graphite); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 0 20px; border-radius: var(--r-m); border: 2px solid var(--mist); background: var(--tile); font: 500 17px var(--f); color: var(--ink); transition: border-color .2s; }
.field textarea { padding: 14px 20px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lav-deep); background: var(--white); }
.field [aria-invalid="true"] { border-color: #C0362C; }
.contact-form__note { margin-bottom: 18px; font-size: 14px; color: var(--graphite); }
.contact-form__msg { margin-top: 12px; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.contact-form__msg.is-error { color: #B02A20; }
.contact-form.is-done > :not(.contact-form__msg) { display: none; }
.contact-form.is-done .contact-form__msg { font-size: 1.15rem; padding: 18px 22px; border-radius: var(--r-l); background: var(--sun); animation: pop .6s var(--ease); }
.contact-form ~ .small { margin-bottom: 40px; }
@media (max-width: 600px) { .contact-form__row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- band + footer */
.band { background: var(--sun); overflow: hidden; }
.band__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.band h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.05; max-width: 16ch; }
.band__copy p { margin-top: 12px; font-size: 1.1rem; }
.band .waitlist__email { background: var(--white); border-color: var(--white); }
.band__mascot { position: absolute; right: -40px; bottom: -70px; width: 200px; z-index: 0; pointer-events: none; }
.band__in > :not(.band__mascot) { position: relative; z-index: 1; }
@media (max-width: 860px) { .band__in { grid-template-columns: 1fr; padding-bottom: 140px; } }

.site-footer { background: var(--ink); color: var(--mist); font-size: 15px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.site-footer__brand p { margin-top: 18px; max-width: 38ch; color: #CFCFD8; }
.site-footer__h { font-size: 15px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid #3A3A3A; color: #B5B5C0; font-size: 14px; }
.site-footer__legal ul { display: flex; gap: 20px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- page load: the one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title, .js .hero__lead, .js .hero__copy > :not(.hero__title):not(.hero__lead) { animation: rise .9s var(--ease) both; }
  .js .hero__lead { animation-delay: .12s; }
  .js .hero__copy > :not(.hero__title):not(.hero__lead) { animation-delay: .22s; }
  .js .hero .breath__stage { animation: inflate 1.4s var(--ease) both .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  @keyframes inflate { from { opacity: 0; transform: scale(.6); } }

  /* Apparition au défilement (classe posée par main.js, en cascade avec --i). */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .reveal.is-in { opacity: 1; transform: none; }
  .tcard.reveal { transform: translateY(36px) scale(.96); transition: opacity .8s var(--ease), transform .8s var(--ease), translate .35s var(--ease), box-shadow .35s; transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s; }
  .tcard.reveal.is-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  /* l'exercice lancé par l'utilisateur garde son mouvement, c'est lui qui guide le souffle */
  .breath.is-running .breath__orb, .breath.is-running .breath__halo { transition-duration: var(--t) !important; }
  .breath.is-running .breath__halo { transition-delay: .22s !important; }
  .breath.is-running .breath__halo--far { transition-delay: .5s !important; }
}

/* ---------------------------------------------------------------- android beta */
.hero__access { display: grid; gap: 16px; max-width: 560px; }
.android-beta { background: var(--ink); color: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); }
.android-beta__tag { display: inline-block; padding: 6px 12px; border-radius: var(--pill); background: var(--sun); color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.android-beta__title { margin-top: 14px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.android-beta__steps { margin: 16px 0 0; padding-left: 1.3em; display: grid; gap: 6px; font-size: 15px; line-height: 1.45; }
.android-beta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.android-beta .btn--ink { background: var(--sun); color: var(--ink); }
.android-beta .btn--line { margin-top: 0; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.android-beta .btn--line:hover { background: var(--white); color: var(--ink); }
.android-beta__soon { margin-top: 18px; font-weight: 700; color: var(--sun); }
.android-beta__note { margin-top: 16px; font-size: 13px; opacity: .8; }
.android-link { margin-top: 16px; font-size: 1rem; }
.android-link a { color: inherit; font-weight: 700; }

/* ---------------------------------------------------------------- choix de la plateforme (accueil) */
.platforms { position: relative; max-width: 560px; z-index: 5; }
.platforms__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.platform { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: var(--r-l); font: inherit; text-align: left; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.platform:hover, .platform[aria-expanded="true"] { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 30, 30, .18); }
.platform--android { background: var(--ink); color: var(--white); }
.platform--ios { background: var(--white); color: var(--ink); }
.platform__txt { display: grid; flex: 1; line-height: 1.25; }
.platform__txt strong { font-size: 1.15rem; font-weight: 900; letter-spacing: -0.01em; }
.platform__txt small { font-size: 13px; font-weight: 600; opacity: .8; }
.platform--android .platform__txt small { color: var(--sun); opacity: 1; }
.platform__chev { width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.platform[aria-expanded="true"] .platform__chev { transform: rotate(225deg) translateY(-3px); }
.platforms__panel { margin-top: 12px; }
.js .platforms__panel { display: none; }
.js .platforms__panel.is-open { display: block; animation: drop .25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.platforms__panel .android-beta, .platforms__panel .hero__form { box-shadow: 0 18px 40px rgba(30, 30, 30, .22); }
@media (hover: hover) and (min-width: 881px) {
  /* Ordinateur : le détail s'ouvre au-dessus des cartes, par-dessus le texte (la page ne bouge pas et tout reste visible) ;
     padding-bottom = pont pour la souris entre la carte et le détail. */
  .js .platforms__panel { position: absolute; left: 0; right: 0; bottom: 100%; margin-top: 0; padding-bottom: 12px; }
  .js .platforms__panel.is-open { animation-name: rise-up; }
  @keyframes rise-up { from { opacity: 0; transform: translateY(6px); } }
  .platforms__panel .android-beta__tag { display: none; }
  .platforms__panel .android-beta__title { margin-top: 0; }
}
@media (max-width: 420px) { .platform { padding: 12px; gap: 8px; } .platform__txt strong { font-size: 1.05rem; } .platform__txt small { font-size: 12px; } }
.platforms__panel .android-beta__actions .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* ---------------------------------------------------------------- catégories (accueil), comme les tuiles de l'app */
.cats { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.cat { position: relative; min-height: 250px; padding: 20px 18px; border-radius: 20px; background: var(--bg); overflow: hidden; isolation: isolate; }
.cat__name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.cat__count { margin-top: 6px; font-size: 13px; font-weight: 700; opacity: .65; }
.cat__art { position: absolute; left: -8px; right: -8px; bottom: -6px; width: calc(100% + 16px); height: auto; z-index: -1; transform: rotate(2.3deg); transform-origin: 0 100%; animation: cat-float 6s ease-in-out infinite; animation-delay: calc(var(--ph, 0s) * -1); }
.cat:first-child .cat__art { transform: none; }
@keyframes cat-float { 0%, 100% { translate: 0 0; scale: 1; } 50% { translate: 0 -1.5px; scale: 1.03; } }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat { min-height: 210px; } }

/* ---------------------------------------------------------------- défis, BreathLab, journal (accueil) */
.feat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { background: var(--bg); border-radius: 40px; padding: clamp(26px, 3.5vw, 40px); }
.feat__art { width: 96px; height: auto; margin-bottom: 18px; animation: zen-float 7s ease-in-out infinite; }
.feat__art--wide { width: 170px; }
.feat p { margin-top: 12px; }
.feat__list { list-style: none; margin-top: 14px; display: grid; gap: 6px; font-size: 15px; }
.feat__more { font-size: 14px; font-weight: 600; color: var(--graphite); }
@media (max-width: 900px) { .feat3 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- page Situations : encadré SOS */
.sosbox { background: var(--ink); color: var(--white); border-radius: 32px; padding: clamp(24px, 4vw, 40px); margin-bottom: 20px; }
.sosbox__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.sosbox__list li { background: rgba(255, 255, 255, .08); border-radius: 18px; padding: 14px 16px; display: grid; gap: 4px; }
.sosbox__list span { font-size: 14px; color: var(--sun); }
@media (max-width: 860px) { .sosbox__list { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- tarifs : 3 formules */
.plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; }
@media (max-width: 900px) { .plans--3 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tcard__art, .tcard__glyph, .cat__art, .feat__art { animation: none; } }

/* ---------------------------------------------------------------- formulaire bêta Android (fond sombre) */
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--white); color: var(--ink); }
.beta-form { margin-top: 18px; }
.beta-form .waitlist__email { background: var(--white); border-color: transparent; }
.android-beta .waitlist__consent { color: rgba(255, 255, 255, .8); }
.android-beta .waitlist__consent a, .android-beta__already a { color: var(--sun); }
.android-beta .waitlist__msg.is-error { color: #FFB4A8; }
.android-beta .waitlist__msg.is-ok { color: var(--ink); }
.android-beta__already { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .8); }

/* ---------------------------------------------------------------- nom de la marque dans le texte (comme le logotype) */
/* Gras serré comme le logotype + trait de surligneur couleur soleil. */
.brand { font-weight: 800; letter-spacing: -0.035em; white-space: nowrap; color: inherit; background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 92%, transparent 92%); padding: 0 .08em; border-radius: 2px; }
.hero .brand { background: linear-gradient(transparent 60%, rgba(251, 230, 149, .75) 60%, rgba(251, 230, 149, .75) 92%, transparent 92%); }
.android-beta .brand, .sosbox .brand, .site-footer .brand { background: linear-gradient(transparent 62%, rgba(251, 230, 149, .3) 62%, rgba(251, 230, 149, .3) 92%, transparent 92%); }
.prose .brand, .lead .brand, p .brand { font-weight: 800; }
.h1 .brand, .h2 .brand, h1 .brand, h2 .brand { font-weight: inherit; }
.lang { display: inline-flex; align-items: center; padding: 6px; border-radius: 8px; line-height: 0; }
.lang .flag { display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(30, 30, 30, .15); transition: transform .2s var(--ease); }
.lang:hover .flag { transform: scale(1.12); }

/* ---------------------------------------------------------------- À propos : fondateur */
.founder { display: flex; align-items: center; gap: 22px; margin: 18px 0 8px; }
.founder__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--sun); flex-shrink: 0; }
.founder__name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; margin: 0 !important; }
.founder__role { color: var(--graphite); margin: 2px 0 10px !important; }
.founder__li { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #0A66C2; color: #fff; transition: transform .2s var(--ease); }
.founder__li:hover { color: #fff; transform: translateY(-2px); }

/* ---------------------------------------------------------------- Conseils / Guides */
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 28px; }
.acard { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 30px; background: var(--bg); color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate; transition: translate .35s var(--ease), box-shadow .35s; }
.acard:hover { color: var(--ink); translate: 0 -4px; box-shadow: 0 16px 36px rgba(30, 30, 30, .1); }
.acard__art { position: absolute; right: -10px; top: -10px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .55); display: grid; place-items: center; z-index: -1; }
.acard__glyph { width: 56px; height: 56px; color: var(--accent); opacity: .7; }
.acard__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; max-width: 18ch; }
.acard__text { margin-top: 10px; font-size: 15px; color: var(--graphite); }
.acard__more { margin-top: auto; padding-top: 18px; font-weight: 800; font-size: 15px; }
.h1--article { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; }
.article__meta { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--graphite); }
.article ul, .article ol { padding-left: 1.3em; display: grid; gap: 8px; }
.article a { font-weight: 700; }
.cmp { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.cmp thead th { font-weight: 800; background: var(--tile); }
.cmp tbody th { font-weight: 700; color: var(--graphite); width: 28%; }
@media (max-width: 560px) { .cmp { font-size: 14px; } .cmp th, .cmp td { padding: 10px 8px; } }

/* ---------------------------------------------------------------- Ce que dit la science */
.studies { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.study { background: var(--bg); border-radius: 30px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.study__type { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.study__head { margin-top: 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.study__sum { margin-top: 12px; font-size: 16px; }
.study__you { margin-top: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .6); border-radius: 16px; font-size: 15px; }
.study__you a { font-weight: 700; white-space: nowrap; }
.study__ref { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--graphite); line-height: 1.5; }
.study__ref a { color: var(--ink); font-weight: 600; }
.sci-note { margin-top: 28px; max-width: 72ch; }
.sci-teaser { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 24px; background: var(--ink); color: var(--white); text-decoration: none; margin-bottom: 8px; }
.sci-teaser:hover { color: var(--white); }
.sci-teaser__n { flex-shrink: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 1.4rem; }
.sci-teaser > span:last-child { margin-left: auto; font-size: 1.4rem; }
