/* =========================================================
   Maré — landing page de estudo
   Paleta: noite índigo → coral → areia
   ========================================================= */

:root {
  --sand: #f6f0e8;
  --sand-2: #efe6da;
  --shell: #fffbf6;
  --ink: #17182b;
  --ink-2: #3a3a4e;
  --muted: #7a7166;
  --faint: #d3c9bb;
  --line: rgba(23, 24, 43, .08);

  --night: #0b1030;
  --indigo: #2d2fb3;
  --violet: #7a3bc9;
  --pink: #e8457e;
  --coral: #ff6a4d;
  --peach: #ffb489;
  --teal: #1fb5a8;
  --teal-d: #0f6f7a;

  --grad: linear-gradient(180deg, #2d2fb3 0%, #7a3bc9 35%, #e8457e 65%, #ff8a5b 85%, #ffc48a 100%);
  --grad-x: linear-gradient(90deg, #2d2fb3, #7a3bc9 30%, #e8457e 60%, #ff8a5b 85%, #ffc48a);

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;

  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --wrap: 1040px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, figure, blockquote, ul { margin: 0; padding: 0; }
ul { list-style: none; }

svg:not([fill]) { fill: none; }
.btn svg, .sound-icon svg, .aud-icon svg, .app svg, .eyebrow svg {
  stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
svg.i-play, svg.i-pause { fill: currentColor; }

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.02em;
}

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 10px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 8px 30px -10px rgba(0,0,0,.35); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -12px rgba(23,24,43,.6); }
.btn-dark:hover { background: #000; }
.btn-glass {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-block { width: 100%; }

/* =========================================================
   NOTCH NAV
   ========================================================= */
.notch {
  position: fixed; top: 0; left: 50%; z-index: 100;
  transform: translateX(-50%);
  background: #000; color: #fff;
  border-radius: 0 0 24px 24px;
  padding: 7px 8px 7px 14px;
  width: max-content; max-width: calc(100vw - 24px);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.5);
  transition: border-radius .4s var(--ease), padding .4s var(--ease);
}
/* "orelhas" côncavas que fazem o formato de notch */
.notch::before,
.notch::after {
  content: ""; position: absolute; top: 0; width: 16px; height: 16px; pointer-events: none;
}
.notch::before { left: -16px; background: radial-gradient(circle at 0 100%, transparent 15.5px, #000 16px); }
.notch::after { right: -16px; background: radial-gradient(circle at 100% 100%, transparent 15.5px, #000 16px); }

.notch-row { display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.02em; font-size: 16px; }
.brand img { border-radius: 7px; }
.notch-links { display: flex; gap: 20px; font-size: 14px; color: rgba(255,255,255,.62); }
.notch-links a { transition: color .2s; }
.notch-links a:hover { color: #fff; }

.notch-mini {
  display: none; align-items: center; gap: 6px;
  font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--peach);
  margin-left: -10px;
}
.notch-mini i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s infinite; }
body.is-running .notch-mini { display: inline-flex; }

.notch-live {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.notch-live-inner {
  overflow: hidden; min-height: 0;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transition: opacity .3s;
}
.notch:hover .notch-live,
.notch.is-open .notch-live,
.notch:focus-within .notch-live { grid-template-rows: 1fr; }
.notch:hover .notch-live-inner,
.notch.is-open .notch-live-inner,
.notch:focus-within .notch-live-inner { opacity: 1; transition-delay: .12s; }
.notch:hover, .notch.is-open { border-radius: 0 0 30px 30px; padding-bottom: 12px; }

.notch-live-inner { padding: 12px 4px 0 2px; }
.live-text { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.live-text strong { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-text span { font-size: 12.5px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.live-text b { color: var(--peach); font-weight: 600; }
.live-text em { font-style: normal; }
.live-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none;
  transition: background .2s;
}
.live-btn:hover { background: rgba(255,255,255,.22); }
.live-btn svg { width: 15px; height: 15px; }

[data-toggle-session] .i-pause,
.sound-play .i-pause { display: none; }
body.is-running [data-toggle-session] .i-pause,
.sound.is-on .sound-play .i-pause { display: block; }
body.is-running [data-toggle-session] .i-play,
.sound.is-on .sound-play .i-play { display: none; }

/* ring */
.ring { width: 34px; height: 34px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: rgba(255,255,255,.14); }
.ring-fg {
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-dasharray: 100.53; stroke-dashoffset: 100.53;
  transition: stroke-dashoffset .9s linear;
}
.ring-lg { width: 46px; height: 46px; }
.ring-xl { width: 58px; height: 58px; }

/* bars (visualizador) */
.bars { display: flex; align-items: center; gap: 3px; height: 18px; }
.bars i {
  width: 3px; height: 30%; border-radius: 3px; background: currentColor; opacity: .55;
  transform-origin: center;
}
.notch .bars { color: var(--teal); }
.bars.is-on i,
body.has-sound .notch .bars i,
.sound.is-on .bars i { animation: bar 1s var(--ease-io) infinite alternate; opacity: 1; }
.bars i:nth-child(2) { animation-delay: -.2s !important; }
.bars i:nth-child(3) { animation-delay: -.5s !important; }
.bars i:nth-child(4) { animation-delay: -.1s !important; }
.bars i:nth-child(5) { animation-delay: -.7s !important; }
.bars i:nth-child(6) { animation-delay: -.35s !important; }
.bars i:nth-child(7) { animation-delay: -.6s !important; }
.bars-lg { height: 26px; gap: 4px; color: var(--teal); }
.bars-lg i { width: 3.5px; }

@keyframes bar { 0% { height: 20%; } 100% { height: 100%; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }

/* chips escuros (ilha) */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.chip-dark { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); transition: background .2s, color .2s, box-shadow .2s; }
.chip-dark:hover { background: rgba(255,255,255,.14); color: #fff; }
.chip-dark.is-on { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.chip-dark.is-on i { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 35%, transparent); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 230vh; --p: 0; --dawn: 0; background: var(--night); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.sky { position: absolute; inset: 0; }
.sky img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 70%;
  will-change: transform, opacity;
}
.sky-day { transform: scale(calc(1.12 - var(--dawn) * .1)) translateY(calc((1 - var(--dawn)) * 3%)); }
.sky-night { opacity: calc(1 - var(--dawn)); transform: scale(calc(1.06 - var(--dawn) * .04)); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .stars { opacity: calc(1 - var(--dawn) * 1.4); }
.sky-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 70% 68%, rgba(255,170,110,.55), transparent 70%);
  opacity: calc(var(--dawn) * .9);
  mix-blend-mode: screen;
}
.sky-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background: linear-gradient(to bottom, transparent, var(--sand) 92%);
  opacity: calc(var(--p) * 1.6 - .5);
}
/* vinheta superior para leitura do título */
.sky::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 60%;
  background: linear-gradient(to bottom, rgba(7,10,32,.55), transparent);
  opacity: calc(.9 - var(--dawn) * .5);
}

.hero-copy {
  position: relative; z-index: 2;
  max-width: 820px; margin: 0 auto; padding: calc(96px + 3vh) 20px 0;
  text-align: center; color: #fff;
  transform: translateY(calc(var(--p) * -14vh));
  opacity: calc(1 - var(--p) * 1.1);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .01em;
  padding: 6px 14px 6px 10px; border-radius: 999px;
}
.eyebrow svg { width: 18px; height: 18px; }
.eyebrow-glass {
  color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: rise .9s var(--ease) both;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 700; line-height: .94; letter-spacing: -.055em;
  text-shadow: 0 10px 50px rgba(5,8,30,.35);
}
.hero-title .serif {
  display: block; font-size: 1.04em; line-height: 1.02; letter-spacing: -.035em;
  background: linear-gradient(90deg, #ffd9bd, #ffb489 40%, #ff8a8a 75%, #e9a7ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .08em .08em;
}
.hero-title .serif .w { background: inherit; -webkit-background-clip: text; background-clip: text; }
.w {
  display: inline-block;
  animation: blurIn 1.1s var(--ease) both;
  animation-delay: calc(.25s + var(--i) * .12s);
}
@keyframes blurIn {
  from { opacity: 0; filter: blur(14px); transform: translateY(18px) scale(.98); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-sub {
  max-width: 560px; margin: 24px auto 0;
  font-size: clamp(16px, 1.6vw, 18px); color: rgba(255,255,255,.78);
  animation: rise 1s var(--ease) .85s both;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; animation: rise 1s var(--ease) 1s both; }
.hero-meta {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 20px;
  font-size: 12.5px; color: rgba(255,255,255,.55);
  animation: rise 1s var(--ease) 1.15s both;
}
.hero-meta li { display: flex; align-items: center; gap: 6px; }
.hero-meta li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--peach); }

/* device / mockup */
.hero-device {
  position: absolute; z-index: 3; left: 50%; bottom: 0;
  width: min(1000px, calc(100vw - 32px));
  --dh: 520px;
  --peek: min(26vh, 250px);
  --rise: min(34vh, calc(var(--dh) - var(--peek)));
  transform: translate(-50%, calc(var(--dh) - var(--peek) - var(--p) * var(--rise)));
  animation: deviceIn 1.4s var(--ease) .9s both;
}
@keyframes deviceIn { from { opacity: 0; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }

.device-glass {
  position: relative; height: var(--dh);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.28); border-bottom: 0;
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 -20px 80px -30px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.35);
}

.menubar {
  display: flex; justify-content: space-between; align-items: center;
  height: 34px; padding: 0 18px; font-size: 12.5px; color: rgba(255,255,255,.85);
}
.menubar-left { display: flex; gap: 16px; }
.menubar-left b { font-weight: 700; }
.menubar-left span { opacity: .75; }
.menubar-right { display: flex; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.mb-wave {
  width: 18px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M1 6c2.5 0 2.5-4 5.5-4S9 10 12 10s3-8 5.5-8S20 6 23 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M1 6c2.5 0 2.5-4 5.5-4S9 10 12 10s3-8 5.5-8S20 6 23 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.island {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(460px, 86%);
  background: #000; color: #fff;
  border-radius: 0 0 30px 30px;
  padding: 16px 18px 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.island::before, .island::after { content: ""; position: absolute; top: 0; width: 18px; height: 18px; }
.island::before { left: -18px; background: radial-gradient(circle at 0 100%, transparent 17.5px, #000 18px); }
.island::after { right: -18px; background: radial-gradient(circle at 100% 100%, transparent 17.5px, #000 18px); }
.island-top { display: flex; align-items: center; gap: 14px; padding-top: 8px; }
.island-text { flex: 1; line-height: 1.15; }
.island-text small { display: block; font-size: 12px; color: rgba(255,255,255,.55); }
.island-text strong { font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.island-bottom { display: flex; align-items: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.island-task { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.45); }

.float-card {
  position: absolute; top: 74px;
  width: 210px; padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.4);
}
.float-card small { font-size: 11.5px; color: rgba(255,255,255,.6); }
.float-card p { font-size: 13px; margin-top: 6px; }
.float-card p span { opacity: .6; }
.fc-left { left: 28px; animation: bob 6s ease-in-out infinite; }
.fc-right { right: 28px; animation: bob 7s ease-in-out -2s infinite; }
.fc-apps { display: flex; margin-top: 10px; }
.fc-apps i {
  width: 30px; height: 30px; border-radius: 9px; margin-right: -6px;
  background: var(--a); border: 2px solid rgba(255,255,255,.4);
  filter: grayscale(.7) brightness(.85);
}
.fc-big { font-size: 26px !important; font-weight: 700; letter-spacing: -.03em; margin-top: 2px !important; }
.fc-spark { margin-top: 6px; }
.fc-spark path { stroke: var(--peach); stroke-width: 2.4; stroke-linecap: round; fill: none; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-time {
  position: absolute; z-index: 4; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(0,0,0,.35); color: rgba(255,255,255,.85);
  font-size: 12px; font-variant-numeric: tabular-nums;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: calc(1 - var(--p) * 1.3);
}
.hero-time .dot { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, #9fb4ff calc((1 - var(--dawn)) * 100%), #ffb36b); box-shadow: 0 0 10px currentColor; }
.hero-time .sep { opacity: .4; }

/* =========================================================
   STATS
   ========================================================= */
.stats {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center;
}
.stat p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.odometer {
  display: inline-flex; justify-content: center;
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; letter-spacing: -.045em;
  line-height: 1; height: 1em; overflow: hidden;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.odo-col { display: inline-block; height: 1em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transition: transform 1.6s var(--ease); }
.odo-strip span, .odo-static { height: 1em; line-height: 1; display: block; }

/* =========================================================
   SEÇÕES — base
   ========================================================= */
.intro, .audience, .faq {
  max-width: var(--wrap); margin: 0 auto; padding: 110px 20px 40px; text-align: center;
}
h2 {
  font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; letter-spacing: -.05em; line-height: 1;
  max-width: 820px; margin: 0 auto;
}
.lead { max-width: 620px; margin: 22px auto 0; font-size: 18px; color: var(--muted); }

/* efeito "tinta": título começa claro e escurece com o scroll */
.ink { --k: 0; color: color-mix(in oklab, var(--ink) calc(var(--k) * 100%), var(--faint)); }

.marquee {
  display: grid; gap: 10px; margin: 34px auto 0; max-width: 860px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-row.reverse .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee li {
  display: inline-flex; align-items: center; gap: 7px; margin-right: 8px; white-space: nowrap;
  font-size: 14px; color: var(--ink-2);
  padding: 8px 15px; border-radius: 999px; background: var(--sand-2);
  transition: background .3s, transform .4s var(--ease);
}
.marquee li:hover { background: #e6dccd; transform: translateY(-3px) scale(1.04); }
@keyframes marquee { to { transform: translateX(-50%); } }
.dot-c { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* reveal */
html.lenis, html.lenis body { scroll-behavior: auto !important; }

[data-reveal] {
  opacity: 0; transform: translateY(40px); filter: blur(8px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease), filter 1.1s var(--ease), clip-path 1.3s var(--ease);
}
[data-reveal="scale"] { transform: translateY(60px) scale(.92); transform-origin: 50% 0; }
[data-reveal="rise3d"] { transform: perspective(1000px) translateY(90px) rotateX(22deg) scale(.92); transform-origin: 50% 100%; }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* stagger: filhos entram em sequência */
[data-stagger] > * { opacity: 0; }
[data-stagger].in > * { animation: staggerIn 1s var(--ease) both; animation-delay: calc(var(--si, 0) * 85ms); }
[data-stagger] > .done { opacity: 1; animation: none !important; }
@keyframes staggerIn {
  from { opacity: 0; transform: translateY(36px) scale(.94); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* zoom ligado ao scroll (mídia "cresce" ao entrar) */
[data-zoom] { transform: scale(var(--z, 1)); transform-origin: 50% 30%; will-change: transform; }

/* tinta palavra por palavra */
.ink .word { display: inline-block; color: color-mix(in oklab, var(--ink) calc(var(--k, 0) * 100%), var(--faint)); transition: color .25s linear; }
.ink-soft .word { color: color-mix(in oklab, var(--ink-2) calc(var(--k, 0) * 100%), #cbc1b3); }
.ink .space { display: inline; }

/* tilt + brilho */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.38), transparent 45%);
  opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light;
}
[data-tilt]:hover .glare { opacity: 1; }

/* ---------------- feature cards ---------------- */
.feature {
  max-width: var(--wrap); margin: 40px auto 0; padding: 48px 32px 32px;
  background: var(--sand-2); border-radius: var(--r-xl);
  width: calc(100% - 32px);
}
.feature-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
h3 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.05em; line-height: 1.02; }
.feature-head p { margin-top: 16px; color: var(--muted); font-size: 16.5px; }

/* --- screen (demo do notch) --- */
.screen {
  position: relative; height: 560px; border-radius: var(--r-lg); overflow: hidden;
  background: url("../assets/aerial.webp") center/cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.08), transparent 30%); }
.menubar-light {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.28); color: #10202a;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}

.demo-island {
  position: absolute; z-index: 3; top: 0; left: 50%; transform: translateX(-50%);
  width: min(420px, 92%);
  background: #000; color: #fff;
  border-radius: 0 0 32px 32px;
  padding: 18px 18px 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.demo-island::before, .demo-island::after { content: ""; position: absolute; top: 0; width: 18px; height: 18px; }
.demo-island::before { left: -18px; background: radial-gradient(circle at 0 100%, transparent 17.5px, #000 18px); }
.demo-island::after { right: -18px; background: radial-gradient(circle at 100% 100%, transparent 17.5px, #000 18px); }
.di-row { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.di-text { flex: 1; line-height: 1.1; min-width: 0; }
.di-text small { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.di-text strong { font-size: 38px; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.di-play {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #fff; color: #000;
  transition: transform .3s var(--ease);
}
.di-play:hover { transform: scale(1.08); }
.di-play svg { width: 20px; height: 20px; }
.di-sounds { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.di-presets { display: flex; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.06); }
.preset { flex: 1; height: 30px; border-radius: 10px; font-size: 12.5px; color: rgba(255,255,255,.55); transition: background .25s, color .25s; }
.preset:hover { color: #fff; }
.preset.is-on { background: rgba(255,255,255,.14); color: #fff; }

.doc-window {
  position: absolute; z-index: 2; left: 50%; bottom: -30px; transform: translateX(-50%);
  width: min(640px, 88%); height: 290px;
  background: rgba(255,255,255,.88); border-radius: 18px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0,30,40,.55);
  overflow: hidden;
  transition: filter .6s, transform .6s var(--ease);
}
body.is-running .doc-window { transform: translateX(-50%) translateY(-6px); }
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: auto; margin-right: auto; padding-right: 50px; }
.doc-body { padding: 22px 34px; }
.doc-body h4 { font-size: 22px; letter-spacing: -.03em; }
.doc-body p { font-family: var(--serif); font-style: normal; font-weight: 300; font-size: 15.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }
.caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; margin-left: 2px; background: var(--coral); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.doc-lines { margin-top: 14px; display: grid; gap: 9px; }
.doc-lines i { display: block; height: 8px; width: var(--w); border-radius: 4px; background: #ebe4da; }
.screen-hint {
  position: absolute; z-index: 4; right: 16px; bottom: 16px;
  font-size: 12px; color: #fff; background: rgba(0,0,0,.4); padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity .4s;
}
body.is-running .screen-hint { opacity: 0; }

/* --- depoimentos --- */
.quote { max-width: 520px; margin: 90px auto; padding: 0 20px; }
.stars-rating { color: #f5a524; letter-spacing: 2px; font-size: 16px; }
.quote blockquote { margin-top: 12px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote figcaption b { display: block; font-size: 15px; letter-spacing: -.01em; }
.quote figcaption small { font-size: 13px; color: var(--muted); }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--g); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}

/* --- sons --- */
.sounds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sound {
  position: relative; overflow: hidden;
  padding: 20px; border-radius: 22px; min-height: 220px;
  display: flex; flex-direction: column;
  background: var(--shell);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
  isolation: isolate;
}
.sound::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, var(--s1), var(--s2));
  opacity: 0; transition: opacity .6s var(--ease);
}
.sound::after {
  content: ""; position: absolute; z-index: -1; left: -20%; right: -20%; bottom: -60%; height: 100%;
  background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent);
  opacity: 0; transition: opacity .6s;
  animation: swell 5s ease-in-out infinite;
}
.sound:hover { box-shadow: 0 24px 50px -30px rgba(23,24,43,.45); }
.sound.is-on { color: #fff; box-shadow: 0 30px 60px -28px var(--s1); }
.sound.is-on::before { opacity: 1; }
.sound.is-on::after { opacity: 1; }
@keyframes swell { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14%) scale(1.1); } }

.sound-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sound-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--s1), var(--s2)); color: #fff;
  transition: background .4s;
}
.sound.is-on .sound-icon { background: rgba(255,255,255,.18); }
.sound-icon svg { width: 22px; height: 22px; }
.sound-play {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: transform .3s var(--ease), background .3s;
}
.sound-play:hover { transform: scale(1.08); }
.sound.is-on .sound-play { background: #fff; color: var(--s1); }
.sound-play svg { width: 15px; height: 15px; }
.sound h4 { margin-top: 18px; font-size: 20px; letter-spacing: -.03em; }
.sound p { margin-top: 4px; font-size: 14px; color: var(--muted); transition: color .4s; }
.sound.is-on p { color: rgba(255,255,255,.75); }
.sound-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.sound .bars { color: var(--s2); }
.sound.is-on .bars { color: #fff; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 4px; border-radius: 4px;
  background: rgba(23,24,43,.12); outline: none;
}
.sound.is-on input[type="range"] { background: rgba(255,255,255,.3); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.3); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.3); cursor: pointer; }

/* --- distrações / maré --- */
.tide-demo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #fff8ef 0%, #ffe6d2 55%, #ffd2b8 100%);
  padding: 22px 22px 0;
}
.tide-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--muted); }
.switch {
  position: relative; width: 58px; height: 32px; border-radius: 999px; background: #dccfbf;
  transition: background .4s var(--ease);
}
.switch i { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: transform .45s var(--ease); }
.tide-demo.is-high .switch { background: var(--teal); }
.tide-demo.is-high .switch i { transform: translateX(26px); }

.tide-stage { position: relative; height: 380px; margin-top: 22px; }
.apps { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; position: relative; z-index: 1; }
.apps-work { margin-top: 18px; }
.apps-noise { margin-top: 56px; }
.app { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); transition: transform 1.2s var(--ease), filter 1.2s var(--ease), opacity 1.2s; }
.app svg {
  width: 70px; height: 70px; padding: 19px; border-radius: 20px;
  background: linear-gradient(150deg, var(--a1), var(--a2)); color: #fff; stroke-width: 1.7;
  box-shadow: 0 14px 30px -14px var(--a1), inset 0 1px 0 rgba(255,255,255,.3);
}
.app em {
  position: absolute; top: -6px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: #ff3b30; color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 0 0 3px #fff2e6;
  transition: opacity .5s, transform .5s var(--ease);
}
.apps-noise .app { animation: jitter 3.4s ease-in-out infinite; }
.apps-noise .app:nth-child(2) { animation-delay: -.6s; }
.apps-noise .app:nth-child(3) { animation-delay: -1.3s; }
.apps-noise .app:nth-child(4) { animation-delay: -2s; }
.apps-noise .app:nth-child(5) { animation-delay: -2.6s; }
@keyframes jitter { 0%, 100% { translate: 0 0; } 10% { translate: 0 -5px; } 20% { translate: 0 0; } }

.tide-demo.is-high .apps-noise .app { animation: none; transform: translateY(80px) scale(.9); filter: grayscale(.6) blur(1.2px) brightness(1.1); opacity: .9; }
.tide-demo.is-high .apps-noise .app em { opacity: 0; transform: scale(.4); }
.tide-demo.is-high .apps-noise .app:nth-child(2) { transition-delay: .08s; }
.tide-demo.is-high .apps-noise .app:nth-child(3) { transition-delay: .16s; }
.tide-demo.is-high .apps-noise .app:nth-child(4) { transition-delay: .24s; }
.tide-demo.is-high .apps-noise .app:nth-child(5) { transition-delay: .32s; }
.tide-demo.is-high .apps-work .app { transform: translateY(-6px); }

/* água física em canvas (ver Water em main.js) */
.water-canvas {
  position: absolute; z-index: 2; left: -22px; top: -60px;
  width: calc(100% + 44px); height: calc(100% + 60px); max-width: none;
  pointer-events: none;
}


/* --- ritmo --- */
.rhythm { background: var(--shell); border-radius: var(--r-lg); padding: 26px 26px 22px; }
.segmented {
  position: relative; display: flex; gap: 4px; padding: 4px; margin: 0 auto; width: max-content; max-width: 100%;
  background: var(--sand-2); border-radius: 16px;
}
.segmented button {
  padding: 10px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted);
  display: flex; gap: 8px; align-items: baseline; transition: background .3s, color .3s, box-shadow .3s;
}
.segmented button small { font-weight: 500; font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
.segmented button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -4px rgba(0,0,0,.2); }
.rhythm-chart { position: relative; margin-top: 26px; height: 260px; }
.rhythm-chart svg { width: 100%; height: 100%; overflow: visible; }
#rhythmArea, #rhythmLine { transition: d .9s var(--ease); }
.rider {
  position: absolute; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: #fff; border: 4px solid var(--coral);
  box-shadow: 0 0 0 6px rgba(255,106,77,.18), 0 4px 14px rgba(255,106,77,.6);
  pointer-events: none;
}
.rhythm-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rhythm-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.rhythm-legend div { background: var(--sand); border-radius: 16px; padding: 14px 16px; }
.rhythm-legend b { display: block; font-size: 26px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rhythm-legend span { font-size: 13px; color: var(--muted); }
.wave-label { font-family: var(--sans); font-size: 12px; font-weight: 600; fill: var(--ink-2); }
.wave-label.brk { fill: var(--muted); font-weight: 500; }

/* --- diário --- */
.journal { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.journal-chart { position: relative; background: var(--shell); border-radius: var(--r-lg); padding: 22px 22px 18px; }
.journal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.journal-head small { font-size: 13px; color: var(--muted); }
.journal-head strong { display: block; font-size: 32px; letter-spacing: -.045em; }
.pill-up { font-size: 12.5px; font-weight: 600; color: var(--teal-d); background: rgba(31,181,168,.14); padding: 5px 10px; border-radius: 999px; }
#journalSvg { width: 100%; height: auto; overflow: visible; }
.j-grid line { stroke: var(--line); stroke-dasharray: 3 5; }
.j-line { stroke-linecap: round; }
.j-dots circle { fill: #fff; stroke: var(--teal-d); stroke-width: 2.5; transition: r .25s var(--ease); cursor: pointer; }
.j-dots circle.is-hover { r: 7; }
.j-days { display: flex; justify-content: space-between; padding: 6px 4px 0; font-size: 12.5px; color: var(--muted); }
.j-tip {
  position: absolute; pointer-events: none; transform: translate(-50%, -130%);
  padding: 6px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; white-space: nowrap;
  opacity: 0; transition: opacity .2s;
}
.j-tip.show { opacity: 1; }
.journal-side { display: grid; gap: 14px; }
.mini-card { position: relative; background: var(--shell); border-radius: 22px; padding: 18px 20px; }
.mini-card small { font-size: 13px; color: var(--muted); }
.mini-card strong { display: block; font-size: 26px; letter-spacing: -.04em; margin-top: 2px; }
.mini-card p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.mini-card-grad { background: var(--grad-x); color: #fff; }
.mini-card-grad small, .mini-card-grad p { color: rgba(255,255,255,.85); }
.streak { display: flex; gap: 4px; margin-top: 12px; }
.streak i { flex: 1; height: 22px; border-radius: 6px; background: var(--grad); background-size: 100% 300%; background-position: 0 100%; }
.streak i.off { background: var(--sand-2); }

/* --- público --- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; text-align: left; }
.aud-grid article {
  position: relative;
  background: var(--sand-2); border-radius: var(--r-lg); padding: 26px 24px 28px;
  transition: transform .5s var(--ease), background .4s;
}
.aud-grid article:hover { background: #e9dfd1; box-shadow: 0 30px 60px -40px rgba(23,24,43,.5); }
.aud-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); }
.aud-icon svg { width: 20px; height: 20px; }
.aud-grid h4 { margin-top: 22px; font-size: 22px; letter-spacing: -.035em; }
.aud-grid p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* =========================================================
   PREÇO
   ========================================================= */
.pricing {
  --fade-top: 460px; --fade-bottom: 380px;
  position: relative; margin-top: 60px; padding: calc(var(--fade-top) - 90px) 20px calc(var(--fade-bottom) - 40px);
  overflow: hidden; background: var(--sand); color: #fff;
}
.pricing-bg { position: absolute; left: 0; top: -14%; width: 100%; height: 128%; will-change: transform; object-fit: cover; object-position: 50% 80%; opacity: .95; }
.pricing::before, .pricing::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
/* areia → entardecer → noite, com várias paradas para não "lavar" de cinza */
.pricing::before {
  top: -2px; height: calc(var(--fade-top) + 2px);
  background: linear-gradient(to bottom,
    var(--sand) 0%,
    #f5ece2 9%,
    #f3e0d2 18%,
    #eecbbb 27%,
    #e2b0a8 36%,
    #c9969f 45%,
    #a07e9a 54%,
    #725f8b 63%,
    #463f74 72%,
    #262759 81%,
    rgba(14,18,52,.75) 90%,
    rgba(11,16,48,0) 100%);
}
/* noite → amanhecer → areia na saída */
.pricing::after {
  bottom: -2px; height: calc(var(--fade-bottom) + 2px);
  background: linear-gradient(to top,
    var(--sand) 0%,
    #f5ece2 10%,
    #f2ddcd 20%,
    #e9c3b2 31%,
    #cf9f9c 43%,
    #8f7393 56%,
    #4a4275 69%,
    rgba(30,32,82,.7) 82%,
    rgba(11,16,48,0) 100%);
}
.pricing .stars { z-index: 0; }
.pricing-inner { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; text-align: center; }
.pricing-title { color: #fff; font-size: clamp(42px, 6vw, 72px); text-shadow: 0 10px 40px rgba(0,0,0,.4); }
.pricing-title .serif { background: linear-gradient(90deg, #ffd9bd, #ffb489, #e9a7ff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.pricing-sub { margin-top: 18px; color: rgba(255,255,255,.75); }

.price-card {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 46px auto 0; max-width: 380px; padding: 52px 26px 26px;
  border-radius: 34px; text-align: left; color: var(--ink);
  background: rgba(255,251,246,.96);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.6);
  --level: 30%;
}
.price-card[data-plan="vitalicio"] { --level: 62%; }
.price-tab {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #000; color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 16px 9px 10px; border-radius: 0 0 18px 18px;
}
.price-tab img { border-radius: 6px; }
.price-tab::before, .price-tab::after { content: ""; position: absolute; top: 0; width: 12px; height: 12px; }
.price-tab::before { left: -12px; background: radial-gradient(circle at 0 100%, transparent 11.5px, #000 12px); }
.price-tab::after { right: -12px; background: radial-gradient(circle at 100% 100%, transparent 11.5px, #000 12px); }

.price-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--sand-2); }
.price-toggle button { position: relative; z-index: 1; height: 34px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .3s; }
.price-toggle button[aria-selected="true"] { color: #fff; }
.pt-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: var(--ink); transition: transform .5s var(--ease); }
.price-card[data-plan="vitalicio"] .pt-thumb { transform: translateX(100%); }

.price-main { display: flex; align-items: flex-start; gap: 6px; margin-top: 26px; }
.currency { font-size: 22px; font-weight: 600; margin-top: 8px; }
.price-value {
  font-size: 76px; font-weight: 700; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums;
  display: inline-block; transition: transform .5s var(--ease), opacity .3s, filter .3s;
}
.price-value.swap { transform: translateY(30%); opacity: 0; filter: blur(6px); }
.price-old { align-self: center; margin-left: 8px; color: var(--muted); text-decoration: line-through; font-size: 18px; transition: opacity .3s; }
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.price-list { display: grid; gap: 10px; margin: 22px 0 24px; }
.price-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.price-list li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.price-card .btn { position: relative; z-index: 1; }

.price-water { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pricing-foot { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.8); text-shadow: 0 1px 12px rgba(5,8,30,.8); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-top: 80px; }
.faq-list { max-width: 720px; margin: 46px auto 0; text-align: left; display: grid; gap: 10px; }
.faq details { background: var(--sand-2); border-radius: 22px; overflow: hidden; transition: background .3s; }
.faq details[open] { background: var(--shell); box-shadow: 0 20px 50px -35px rgba(23,24,43,.5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; letter-spacing: -.02em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%2317182b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sand-2); }
.faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* =========================================================
   CTA FINAL + FOOTER
   ========================================================= */
.final-cta { text-align: center; padding: 120px 20px 140px; }
.final-icon { margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(122,59,201,.55); will-change: transform; }
.final-cta h2 { margin-bottom: 30px; }
.final-cta .serif { background: var(--grad-x); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }

.footer {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 80% at 50% 120%, #2a2470 0%, #0b1030 55%, #05071a 100%);
  padding: 80px 20px 0;
  border-radius: 40px 40px 0 0;
}
.footer .stars { opacity: .9; }
.footer-top { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 360px; }
.footer-brand .brand small { font-weight: 400; color: rgba(255,255,255,.45); font-size: 13px; letter-spacing: 0; }
.footer-tag { margin-top: 22px; font-size: 26px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.footer-tag .serif { font-weight: 300; color: var(--peach); }
.footer-desc { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.55); }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-cols h5 { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.footer-cols a { display: block; font-size: 14.5px; color: rgba(255,255,255,.85); margin-bottom: 10px; transition: color .2s; }
.footer-cols a:hover { color: var(--peach); }
.footer-copy { position: relative; z-index: 1; max-width: var(--wrap); margin: 50px auto 0; font-size: 12.5px; color: rgba(255,255,255,.4); }
.wordmark {
  position: relative; z-index: 1;
  font-size: clamp(120px, 31vw, 440px); font-weight: 800; letter-spacing: -.07em; line-height: .78;
  text-align: center; margin-top: 30px; margin-bottom: -.12em;
  background: linear-gradient(to bottom, rgba(255,255,255,.16), rgba(255,180,137,.06) 70%, transparent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; will-change: transform;
  transform-origin: 50% 100%;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 900px) {
  .notch-links { display: none; }
  .notch-row { gap: 14px; }
  .float-card { display: none; }
  .sounds { grid-template-columns: repeat(2, 1fr); }
  .journal { grid-template-columns: 1fr; }
  .journal-side { grid-template-columns: repeat(3, 1fr); }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { height: 200vh; }
  .hero-copy { padding-top: 92px; }
  .hero-meta { gap: 14px; }
  .hero-device { width: calc(100vw - 24px); --dh: 300px; --peek: 15vh; --rise: calc(var(--dh) - var(--peek)); }
  .device-glass { border-radius: 22px 22px 0 0; }
  .menubar-left span { display: none; }
  .island { width: 92%; padding: 14px 14px; }
  .island-text strong { font-size: 26px; }
  .island-task { display: none; }
  .hero-time { display: none; }

  .stats { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .intro, .audience, .faq { padding-top: 80px; }
  .lead { font-size: 16.5px; }

  .feature { padding: 36px 14px 14px; border-radius: 28px; width: calc(100% - 24px); }
  .feature-head { margin-bottom: 26px; padding: 0 6px; }
  .feature-head p { font-size: 15.5px; }

  .screen { height: 540px; }
  .demo-island { width: 94%; padding: 14px; }
  .di-text strong { font-size: 32px; }
  .doc-window { width: 92%; height: 250px; bottom: -40px; }
  .doc-body { padding: 18px 20px; }
  .screen-hint { display: none; }

  .sounds { grid-template-columns: 1fr; }
  .sound { min-height: 0; }

  .tide-stage { height: 400px; }
  .apps { gap: 12px; }
  .app svg { width: 58px; height: 58px; padding: 15px; border-radius: 16px; }
  .apps-noise { margin-top: 40px; }

  .rhythm { padding: 18px 14px; }
  .segmented button { padding: 9px 10px; font-size: 13px; flex-direction: column; gap: 0; align-items: center; }
  .rhythm-chart { height: 200px; }
  .rhythm-legend { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .rhythm-legend div { padding: 12px; }
  .rhythm-legend b { font-size: 20px; }
  .rhythm-legend span { font-size: 12px; }

  .journal-side { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .quote { margin: 64px auto; }
  .quote blockquote { font-size: 16.5px; }

  .pricing { --fade-top: 340px; --fade-bottom: 300px; padding-left: 16px; padding-right: 16px; }
  .price-card { padding: 50px 20px 22px; }
  .footer-cols { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---- extras de animação ---- */
.faq-a { overflow: hidden; }
.faq details.closing summary::after { transform: rotate(0deg); background-color: #fff; }
.faq summary:hover::after { transform: scale(1.1); }
.faq details[open]:not(.closing) summary:hover::after { transform: rotate(45deg) scale(1.1); }
.live-btn { transition: background .2s, transform .35s var(--ease); }
.tide-demo { cursor: default; }
.price-card { cursor: default; }
