@font-face {
  font-family: Bricolage;
  src: url("./bricolage-extrabold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #151611;
  --paper: #f6f6ee;
  --amber: #ffb627;
  --muted: #55574e;
  --line: #cfcfc3;
  --display: Bricolage, "Arial Black", system-ui, sans-serif;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  font-size: 100%;
  line-height: 1.55;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p, figure { margin: 0; }
h1, h2, .brand, .choice strong { font-family: var(--display); font-weight: 800; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - clamp(2.5rem, 9vw, 10rem), 78rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: .8rem; background: white; color: black; }

/* Match the native launch screen and components/SplashBranded.tsx. */
.app-opening[open] {
  --native-hold: 220ms;
  --pulse-leg: 900ms;
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; border: 0; padding: 0; display: grid; place-items: center;
  background: #0b0b12; color: #f5f5f7; overscroll-behavior: contain;
  font-family: system-ui, sans-serif;
  animation: opening-exit 240ms ease-out calc(var(--native-hold) + var(--pulse-leg) + var(--pulse-leg)) both;
}
.app-opening::backdrop { background: transparent; }
.opening-native, .opening-brand { grid-area: 1 / 1; }
.opening-native { animation: opening-exit 160ms ease-out var(--native-hold) both; }
.opening-brand {
  display: grid; justify-items: center; gap: 12px;
  animation: opening-enter 320ms cubic-bezier(.3333,.6667,.6667,1) var(--native-hold) both;
}
.opening-brand img { margin-bottom: 8px; animation: opening-pulse var(--pulse-leg) var(--native-hold) 2 alternate both; }
.opening-brand strong { font-size: 2rem; letter-spacing: -.5px; font-weight: 800; line-height: 1.2; }
.opening-brand span { font-size: .8125rem; line-height: 1.3; color: #a1a1aa; }
@keyframes opening-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes opening-exit { from { opacity: 1; } to { opacity: 0; } }
@keyframes opening-pulse {
  from { transform: scale(1); opacity: .7; animation-timing-function: ease-in; }
  50% { transform: scale(1.075); opacity: .85; animation-timing-function: ease-out; }
  to { transform: scale(1.15); opacity: 1; }
}
body:has(.app-opening[open]) :is(.hero-photo img, h1 > span, .signature-art) { animation-play-state: paused; }
@media print, (prefers-reduced-motion: reduce) {
  .app-opening[open], .app-opening::backdrop { display: none; }
}

.masthead, .footer { color: var(--paper); background: var(--ink); }
.masthead { border-bottom: 1px solid #424139; }
.bar, .bar nav, .footer-nav, .footer-nav nav, .brand, .hero-actions, .kicker { display: flex; align-items: center; }
.bar { min-height: 4.75rem; justify-content: space-between; gap: 1rem; }
.brand { flex: none; gap: .55rem; font-size: 1.65rem; line-height: 1; letter-spacing: -.065em; text-decoration: none; }
.brand img { object-fit: contain; }
.bar nav { gap: clamp(1rem, 3.2vw, 3rem); }
.bar nav a { font-size: .94rem; font-weight: 650; text-decoration: none; }
.nav-section, .footer-nav a:not(.brand) { padding-block: .65rem; }
.nav-section:hover, .footer-nav a:not(.brand):hover { text-decoration: underline; text-underline-offset: .26em; }
.nav-download { background: var(--amber); color: var(--ink); padding: .65rem 1.15rem; border-radius: .55rem; }
.nav-download:hover { background: #ffd477; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #171610; color: #fffef7; }
.hero-photo, .hero-photo img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: center 12%; }
.hero::after {
  content: ""; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(13,15,12,.88), rgba(13,15,12,.66) 32%, rgba(13,15,12,.13) 63%, transparent 79%);
}
.hero-inner { display: flex; align-items: center; min-height: clamp(35rem, 45vw, 46rem); padding-block: 4.5rem; }
.hero-copy { max-width: 48rem; }
.kicker { gap: .65rem; color: #ffca60; font-size: .94rem; font-weight: 700; }
.signal { width: 1.55rem; height: .76rem; display: inline-block; background: repeating-linear-gradient(111deg, transparent 0 3px, currentColor 3px 6px, transparent 6px 8px); }
h1 { margin: 1.25rem 0 1.55rem; font-size: clamp(4.6rem, 7.45vw, 7.7rem); letter-spacing: -.045em; line-height: .95; }
.lede { max-width: 28em; color: #efeee4; font-size: clamp(1.06rem, 1.42vw, 1.31rem); line-height: 1.5; }
.hero-actions { margin-top: 2rem; }
.store { display: inline-flex; align-items: center; flex-shrink: 0; width: fit-content; border-radius: .6rem; }
.store img { width: 9.75rem; height: auto; }
.store:hover { box-shadow: 0 0 0 2px #ffcf67; }
.ring-play { display: grid; place-items: center; border-radius: 50%; }
.ring-play::after { content: ""; width: 0; height: 0; margin-left: .1em; border-block: .23em solid transparent; border-left: .37em solid currentColor; }
h1 > span { display: block; }
.hero-note { font-size: .83rem; color: #d9d7c9; margin-top: .95rem; }

.product { padding: clamp(3.5rem, 6.4vw, 6rem) 0; }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.3rem); line-height: 1.04; letter-spacing: -.06em; }
.product-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.product-heading p, .faq-layout > div > p { color: var(--muted); }
.demo { min-width: 0; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: 0; margin: 0; border: 0; }
.choices { min-width: 0; border-bottom: 1px solid var(--line); }
.choice { display: flex; gap: clamp(.8rem, 2vw, 1.5rem); align-items: start; padding: 1.6rem .25rem; border-top: 1px solid var(--line); cursor: pointer; }
.choice-index { flex: none; margin-top: .1rem; display: grid; place-items: center; min-width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid #aaada1; color: #636558; font-family: ui-monospace, monospace; font-size: .8rem; font-weight: 650; }
.choice-content { min-width: 0; }
.choice strong { display: block; font-size: clamp(1.35rem, 2.25vw, 2.25rem); letter-spacing: -.052em; line-height: 1.15; }
.choice-content > span { display: none; margin-top: .65rem; color: var(--muted); max-width: 32rem; }
.choice:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
#see-analysis:checked ~ .choices .choice-analysis .choice-content > span,
#see-routine:checked ~ .choices .choice-routine .choice-content > span,
#see-library:checked ~ .choices .choice-library .choice-content > span { display: block; }
#see-analysis:checked ~ .choices .choice-analysis .choice-index,
#see-routine:checked ~ .choices .choice-routine .choice-index,
#see-library:checked ~ .choices .choice-library .choice-index { color: var(--ink); border-color: var(--amber); background: var(--amber); }
#see-analysis:focus-visible ~ .choices .choice-analysis,
#see-routine:focus-visible ~ .choices .choice-routine,
#see-library:focus-visible ~ .choices .choice-library { outline: 3px solid var(--ink); outline-offset: 3px; }
.stage {
  isolation: isolate; position: relative; overflow: hidden; display: grid; place-items: center; padding: 2rem;
  background-color: #f7b63d;
  background-image: repeating-linear-gradient(0deg, #52390017 0 1px, transparent 1px 2rem),
    repeating-linear-gradient(90deg, #52390017 0 1px, transparent 1px 2rem);
  border-radius: 1.3rem;
}
.lens { position: absolute; z-index: -1; width: 77%; aspect-ratio: 1; border: 1px solid #65470040; border-radius: 50%; }
.lens::before, .lens::after { content: ""; position: absolute; border: 1px solid #65470040; border-radius: inherit; }
.lens::before { inset: 8%; }
.lens::after { inset: -10%; }
.phone { width: clamp(12rem, 16vw, 15.4rem); border: 3px solid #3a372e; padding: .22rem; border-radius: 2.15rem; background: #0b0b12; box-shadow: .8rem 1.1rem 1.6rem #4c310b48; }
.screen { display: none; width: 100%; height: auto; border-radius: 1.8rem; }
#see-analysis:checked ~ .stage .screen-analysis,
#see-routine:checked ~ .stage .screen-routine,
#see-library:checked ~ .stage .screen-library { display: block; }
.faq { background: #e9eae0; padding-block: clamp(3.5rem, 6vw, 6rem); }
.faq-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem, 6vw, 6rem); }
.faq-layout > div > p { margin-top: 1rem; max-width: 20rem; }
.faq a { text-underline-offset: .22em; }
.questions details { border-top: 1px solid #c1c3b6; }
.questions details:last-child { border-bottom: 1px solid #c1c3b6; }
.questions summary { cursor: pointer; list-style: none; font-size: 1.14rem; font-weight: 650; padding: 1.25rem 2rem 1.25rem 0; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; top: 1rem; right: .25rem; font-size: 1.4rem; line-height: 1.5; }
.questions details[open] summary::after { content: "−"; }
.questions details p { margin: -.15rem 1.8rem 1.3rem 0; color: #414439; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid #494a41; }
.footer-cta h2 { max-width: 13em; }
.footer-nav { padding-block: 1.55rem; gap: 1rem; justify-content: space-between; }
.footer-nav nav { flex-wrap: wrap; gap: 1.3rem; }
.footer-nav nav a { color: #e0dfd1; font-size: .9rem; text-decoration: none; }
@media (max-width: 900px) {
  .product-heading { display: block; }
  .product-heading p { margin-top: .65rem; }
  .choice { padding: 1.2rem .1rem; }
}
@media (max-width: 700px) {
  .bar { min-height: 4rem; }
  .brand { font-size: 1.4rem; }
  .brand img { width: 1.45rem; height: 1.5rem; }
  .nav-section { display: none; }
  .nav-download { padding: .54rem .87rem; }
  .hero-photo { height: 70%; }
  .hero-photo img { object-position: center 18%; }
  .hero::after { background: linear-gradient(0deg, #171610 0%, #171610 32%, rgba(23,22,16,.88) 42%, rgba(23,22,16,.24) 65%, transparent 82%); }
  .hero-inner { align-items: end; min-height: auto; padding-block: clamp(14rem, 57vw, 21rem) 2.5rem; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(2.35rem, 12.1vw, 5.3rem); margin: .8rem 0 1.05rem; }
  .lede { max-width: 28rem; }
  .hero-actions { margin-top: 1.4rem; }
  .store img { width: 8.8rem; }
  .hero-note { margin-top: .65rem; }
  .demo, .faq-layout { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .product-heading { margin-bottom: 1.5rem; }
  .stage { padding: 1.35rem; }
  .phone { width: clamp(11rem, 55vw, 14rem); }
  .faq-layout > div > p { max-width: none; }
  .footer-cta, .footer-nav { align-items: flex-start; flex-direction: column; }
  .footer-cta { gap: 1.3rem; }
  .footer-nav nav { gap: .9rem; }
}
@media (max-width: 360px) {
  .bar { gap: .5rem; }
  .bar .brand { font-size: 1.23rem; gap: .35rem; }
  .bar nav .nav-download { font-size: .85rem; padding-inline: .65rem; white-space: nowrap; }
  .hero-inner { padding-top: 10.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .nav-download, .store { transition: background-color .15s, box-shadow .15s; }
}

/* The film, image selector and story gallery share the original film's palette. */
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
button:not(:disabled) { cursor: pointer; }
button:focus-visible, video:focus-visible, .gallery:focus-visible { outline: 3px solid #ed9b12; outline-offset: 4px; }
.cinema { background: #191b18; color: var(--paper); padding-block: clamp(3rem, 5.7vw, 6rem); border-top: 1px solid #49473a; }
.cinema-grid { display: grid; grid-template-columns: minmax(14rem,.68fr) minmax(0,1.45fr); align-items: center; gap: clamp(2rem,5vw,5rem); }
.section-label { display: flex; align-items: center; gap: .66rem; font-size: .88rem; font-weight: 650; color: #ffca65; }
.reel-icon { width: 1.35rem; height: .9rem; border-block: 2px dotted currentColor; outline: 1px solid currentColor; outline-offset: 1px; }
.program h2 { font-size: clamp(2.75rem,4.5vw,4.9rem); line-height: .99; margin: 1.15rem 0; }
.program > p:not(.section-label), .stories-intro > p:not(.section-label) { max-width: 30em; color: #d4d2c5; }
.chapters { display: flex; flex-wrap: wrap; gap: .25rem .65rem; align-items: center; margin-top: 1.5rem; }
.chapters p { flex-basis: 100%; color: #aaa99e; font-size: .85rem; }
.chapters button { display: inline-flex; gap: .45rem; align-items: baseline; padding: .45rem .05rem; color: #e4e5d8; border: 0; border-bottom: 1px solid #555545; background: transparent; font-size: .93rem; }
.chapters time, .cut figcaption span, .gallery-controls output, .film-time { font: 500 .78rem ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.chapters time { color: #ffca65; }
.chapters button:hover, .chapters button[aria-current] { color: white; border-bottom-color: var(--amber); }
.player-surface { isolation: isolate; overflow: hidden; position: relative; background: #0b0b12; }
.player-surface video { width: 100%; height: auto; display: block; background: #0b0b12; }
.film-player .player-surface { border: 1px solid #777462; border-radius: .72rem; box-shadow: 0 1.3rem 2.8rem -1.5rem #000c; }
.player-cover { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; justify-items: center; align-items: center; border: 0; background: transparent; }
.player-cover:focus-visible { outline-offset: -5px; }
.ring-play { width: 4.7rem; height: 4.7rem; font-size: 3.65rem; border: 1px solid #fff9; color: var(--ink); background: #fff7de; box-shadow: 0 0 0 .65rem #1117; }
.film-time { position: absolute; right: 1rem; bottom: .85rem; color: white; border-radius: .25rem; background: #12130fc9; padding: .25rem .45rem; }
.transcript { margin-top: .7rem; color: #c3c5b7; font-size: .87rem; }
.transcript summary { cursor: pointer; width: fit-content; padding: .2rem 0; text-underline-offset: .2em; }
.transcript summary:hover { text-decoration: underline; }
.transcript p { max-width: 70ch; margin-top: .45rem; }
.viewfinder { position: absolute; inset: 1.1rem; pointer-events: none; opacity: .7;
  background: linear-gradient(currentColor,currentColor) left top / 1.3rem 1px,
    linear-gradient(currentColor,currentColor) left top / 1px 1.3rem,
    linear-gradient(currentColor,currentColor) right bottom / 1.3rem 1px,
    linear-gradient(currentColor,currentColor) right bottom / 1px 1.3rem;
  background-repeat: no-repeat;
}
#see-routine:checked ~ .stage { background-color: #e8c494; }
#see-library:checked ~ .stage { background-color: #c3d2c4; }

.stories { background: #0b0b12; color: var(--paper); padding-block: clamp(3.4rem,7vw,7.5rem); overflow: hidden; }
.stories-grid { display: grid; grid-template-columns: minmax(0,.73fr) minmax(0,1.75fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.stories-intro { position: relative; isolation: isolate; }
.stories-intro::after { content: ""; position: absolute; bottom: -3rem; left: -5.3rem; width: 16rem; height: 10rem; background: url("./filmes/assinatura.webp") center / contain no-repeat; opacity: .12; z-index: -1; pointer-events: none; }
.stories h2 { margin: 1rem 0 1.25rem; max-width: 9em; }
.stories-intro .stories-note { margin-top: .9rem; font-size: .88rem; color: #a9a9a4; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.65rem,1.5vw,1.4rem); min-width: 0; align-items: start; }
.cut:nth-child(2) { margin-top: 1.8rem; }
.cut:nth-child(3) { margin-top: 3.6rem; }
.cut .player-surface { border: 1px solid #454247; border-radius: .9rem; }
.cut video { aspect-ratio: 9/16; }
.cut-cover { align-items: end; justify-items: end; padding: .75rem; background: linear-gradient(0deg,#0003,transparent 25%); }
.cut-cover .ring-play { width: 2.35rem; height: 2.35rem; font-size: 1.75rem; background: #17171ce6; border: 1px solid #e7d6b1; box-shadow: none; color: var(--paper); }
.cut figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-top: .65rem; }
.cut figcaption strong { font-family: var(--display); font-size: 1.45rem; letter-spacing: -.04em; }
.cut figcaption span { color: #c1bbae; }
.gallery-controls { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.gallery-controls button { display: grid; place-items: center; background: transparent; border: 1px solid #a39a8c; border-radius: 50%; width: 2.8rem; height: 2.8rem; }
.gallery-controls button span { font-size: 1.7rem; line-height: 1; }
.gallery-controls button:disabled { opacity: .35; }
@media (min-width: 701px) and (max-width: 1030px) {
  .stories-grid { grid-template-columns: 1fr; }
  .stories-intro { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2.5rem; align-items: end; }
  .stories-intro .section-label { grid-column: 1/-1; }
  .stories-intro h2 { margin: .55rem 0 0; }
  .stories-intro .stories-note { grid-column: 2; margin-top: 0; }
}
@media (max-width: 820px) {
  .cinema-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .program h2 br { display: none; }
  .program h2 br::after { content: " "; }
  .program h2 { max-width: 14em; }
  .chapters { margin-top: .85rem; }
}
@media (max-width: 700px) {
  .stories-grid { display: block; }
  .stories-intro::after { left: auto; right: -7rem; top: -1rem; bottom: auto; }
  .stories h2 { max-width: 11em; }
  .gallery { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #756e62 transparent; gap: 1rem; margin-top: 1.45rem; padding-block: .25rem .6rem; }
  .gallery .cut { flex: 0 0 min(75%,16rem); min-width: 0; margin-top: 0; scroll-snap-align: start; }
  .gallery .cut:last-child { scroll-snap-align: end; }
  .cut-cover .ring-play { width: 2.8rem; height: 2.8rem; }
  .ring-play { width: 3.5rem; height: 3.5rem; font-size: 2.6rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes establish-shot { from { transform: scale(1.045); } to { transform: scale(1); } }
  @keyframes type-in { from { transform: translateY(.35em); opacity: .15; } to { transform: none; opacity: 1; } }
  @keyframes screen-in { from { transform: translateY(.55rem) scale(.97); opacity: .35; } to { transform: none; opacity: 1; } }
  @keyframes turn-lens { from { transform: scale(.86); } to { transform: scale(1.12); } }
  .hero-photo img { animation: establish-shot 2s cubic-bezier(.2,.72,.25,1) both; transform-origin: 70% 32%; }
  h1 > span { animation: type-in .8s cubic-bezier(.22,.78,.24,1) both; }
  h1 > span + span { animation-delay: .1s; }
  .screen { animation: screen-in .48s cubic-bezier(.2,.76,.25,1); }
  .stage { transition: background-color .45s ease; }
  .ring-play { transition: transform .28s ease, background-color .28s ease; }
  .player-cover:hover .ring-play { transform: scale(1.08); }
  @supports (animation-timeline: view()) {
    .lens { animation: turn-lens linear both; animation-timeline: view(); animation-range: entry 5% exit 90%; }
  }
}
.hero-inner { position: relative; }
.signature-preview {
  position: absolute; right: 0; bottom: 2.2rem; display: grid; justify-items: center; gap: .05rem;
  padding: .3rem .85rem .65rem; border: 1px solid #fbe6ba4d; border-radius: .55rem;
  background: #10110fe6; box-shadow: 0 .5rem 1.4rem #09090633;
  text-decoration: none; font-size: .78rem; font-weight: 650; color: #f2e6c8;
}
.signature-art { width: 7.5rem; aspect-ratio: 224/150; background: url("./filmes/marca-quadros.webp") right center / 2400% 100% no-repeat; }
.signature-preview:hover { border-color: #ffcb68; }
@media (min-width: 701px) and (max-width: 900px) {
  .signature-preview { bottom: 1.1rem; }
  .signature-art { width: 5.5rem; }
}
@media (max-width: 700px) {
  .signature-preview { right: 0; bottom: auto; top: .9rem; padding: .18rem .4rem .3rem; font-size: .69rem; }
  .signature-art { width: 4.65rem; }
}
@media (max-width: 360px) {
  .signature-preview { font-size: .65rem; }
  .signature-art { width: 3.9rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes form-signature { from { background-position: 0% center; } to { background-position: 100% center; } }
  .signature-art { animation: form-signature 3.8s steps(23,end) .12s 1 both; }
  .signature-preview:is(:hover,:focus-visible) .signature-art { animation: signature-replay 2.8s steps(23,end) 1 both; }
  @keyframes signature-replay { from { background-position: 0% center; } to { background-position: 100% center; } }
}
