@font-face { font-family: Inter; src: url("inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #1e2a5c;
  --deep: #1b2755;
  --coral: #f2704e;
  --clay: #b54529;
  --mist: #f1f3f9;
  --line: #d9dde9;
  --text: #4b5169;
  --sans: Inter, Arial, sans-serif;
  --display: "Space Grotesk", Inter, Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(4rem, 8vw, 7.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--ink); background: white; font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a, input, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, .brand, .amount, .card-theme { font-family: var(--display); }
h1, h2 { font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.08; }
.wrap { width: min(77rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon-library { width: 0; height: 0; position: absolute; }
.icon { display: block; flex: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; border-radius: .5rem; background: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

/* topo */
.masthead { position: sticky; top: 0; z-index: 10; background: white; border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; min-height: 4.6rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-pair, .brand, .maker, .header-actions, .desktop-nav, .footer-credit, .footer-links { display: inline-flex; align-items: center; }
.brand-pair { gap: .9rem; }
.brand { gap: .5rem; font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: -.06em; }
.brand-icon { width: 2.1rem; height: 2.1rem; flex: none; }
.maker { border-left: 1px solid var(--line); padding-left: .9rem; gap: .4rem; }
.maker span, .footer-credit { color: var(--text); font-size: .82rem; }
.maker img { width: 4.1rem; }
.desktop-nav { gap: 2rem; }
.desktop-nav a, .login, .mobile-nav a, .footer-links a { font-size: .93rem; font-weight: 550; padding-block: .7rem; }
.desktop-nav a:hover, .login:hover, .mobile-nav a:hover, .footer-links a:hover { color: var(--clay); }
.header-actions { gap: 1.3rem; }
.icon-button.menu-toggle, .mobile-nav { display: none; }
.icon-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: transparent; border-radius: .5rem; }
.icon-button:hover { background: var(--mist); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .85rem 1.4rem; border-radius: .7rem; font-weight: 650; line-height: 1.2; text-align: center; transition: background-color .16s ease; }
.button-ink { color: #fff; background: var(--ink); }
.button-ink:hover { background: #33427f; }
.button-coral { color: #172144; background: var(--coral); }
.button-coral:hover { background: #ff8663; }
.button.small { min-height: 2.75rem; padding: .6rem 1.1rem; font-size: .92rem; }
.text-link { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; font-weight: 600; padding-block: .6rem; }
.text-link:hover { color: var(--clay); }

/* abertura: a foto sangra até a borda direita */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); background: var(--mist); }
.hero-copy { align-self: center; padding: clamp(2.5rem, 4vw, 5rem) clamp(1rem, 2vw, 2rem) clamp(2.5rem, 4vw, 5rem) max(var(--gutter), calc((100vw - 77rem) / 2)); }
h1 { font-size: clamp(2.5rem, 4.5vw, 4.3rem); line-height: 1.04; }
h1 span { display: block; color: var(--clay); margin-top: .12em; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.65; text-wrap: pretty; max-width: 31rem; color: var(--text); margin-top: 1.5rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.6rem; margin-top: 1.9rem; }
.hero-note { margin-top: .9rem; color: var(--text); font-size: .92rem; }
.hero-visual { position: relative; min-height: clamp(32rem, min(47vw, 100svh - 4.7rem), 44rem); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; border-bottom-left-radius: clamp(3rem, 8vw, 8rem); }
.session-ticket { position: absolute; left: -2.2rem; bottom: 3rem; display: flex; align-items: center; gap: 1rem; padding: .9rem 1.4rem .9rem .9rem; background: white; border-radius: .9rem; box-shadow: 0 1rem 2.6rem #0f17383d; }
.ticket-date { display: grid; place-content: center; justify-items: center; width: 3.6rem; height: 4rem; background: var(--coral); color: #172144; border-radius: .55rem; }
.ticket-date > span { font-size: .85rem; font-weight: 600; line-height: 1.1; }
.ticket-date > strong { font: 650 1.8rem/1 var(--display); letter-spacing: -.05em; }
.ticket-content { display: grid; line-height: 1.4; font-size: .9rem; color: var(--text); }
.ticket-content strong { font: 650 1.15rem/1.35 var(--display); letter-spacing: -.03em; color: var(--ink); }

/* conversa -> cartão */
.showcase { background: var(--deep); color: white; padding-block: var(--section); }
.showcase :focus-visible { outline-color: #ffb39c; }
.showcase .card :focus-visible { outline-color: var(--clay); }
.showcase-intro p, .builder-intro p { margin-top: 1rem; font-size: 1.08rem; max-width: 38rem; }
.showcase-intro p { color: #d5daec; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 36rem) minmax(0, 31rem); justify-content: space-between; gap: clamp(2rem, 5vw, 7rem); align-items: start; margin-top: clamp(2.2rem, 4vw, 3.5rem); }
.chat { display: grid; justify-items: start; gap: .7rem; }
.bubble { max-width: 30rem; font-size: 1.06rem; text-align: left; border: 2px solid transparent; border-radius: .35rem 1.15rem 1.15rem 1.15rem; padding: .8rem 1.05rem; background: #2c3a70; color: #f1f3fb; line-height: 1.5; transition: background-color .16s ease, color .16s ease; }
.bubble:hover { background: #394982; }
.bubble:nth-child(even) { margin-left: clamp(0rem, 4vw, 3.5rem); }
.bubble[aria-pressed="true"] { background: var(--coral); color: #172144; }
.bubble-photo img { width: 16rem; aspect-ratio: 1.6; object-fit: cover; border-radius: .6rem; margin-bottom: .5rem; }
.bubble-audio > span { display: block; }
.bubble-audio .audio-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; gap: 3px; height: 1.5rem; }
.wave i { width: 3px; height: 30%; border-radius: 2px; background: currentColor; opacity: .75; }
.wave i:nth-child(3n) { height: 85%; } .wave i:nth-child(4n+1) { height: 55%; } .wave i:nth-child(5n) { height: 100%; } .wave i:nth-child(7n) { height: 40%; }

/* cartão do ensaio */
.card { background: white; color: var(--ink); border-radius: 1.15rem; padding: clamp(1.1rem, 2vw, 1.6rem); display: grid; gap: 1.3rem; }
.card [data-field] { border-radius: .6rem; transition: box-shadow .2s ease, background-color .2s ease; }
.card [data-field].lit { background-color: #ffefe9; box-shadow: 0 0 0 .45rem #ffefe9, 0 0 0 calc(.45rem + 2px) var(--coral); }
.card h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 650; overflow-wrap: anywhere; }
.card-when { display: flex; align-items: center; gap: .5rem; color: var(--text); margin-top: .25rem; }
.card-when .icon { color: var(--clay); width: 1.15rem; height: 1.15rem; }
.photo-button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--mist); border-radius: .6rem; overflow: hidden; }
.photo-button img { width: 100%; aspect-ratio: 1.95; object-fit: cover; object-position: 50% 55%; }
.zoom-label { position: absolute; right: .55rem; bottom: .55rem; display: inline-flex; align-items: center; gap: .35rem; color: white; background: #18233de8; border-radius: .4rem; padding: .34rem .55rem; font-size: .8rem; font-weight: 600; }
.zoom-label .icon { width: 1rem; height: 1rem; }
.card-theme { font-weight: 650; font-size: 1.15rem; letter-spacing: -.02em; margin-top: .6rem; overflow-wrap: anywhere; }
.children li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; overflow-wrap: anywhere; }
.children li + li { border-top: 1px solid var(--line); }
.children li span { color: var(--text); }
.card-note { color: #4d3a33; background: #fdf1ec; border-radius: .6rem; padding: .75rem .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.card [data-field="nota"].lit { background-color: #ffe4da; }
.card-status { font-size: .92rem; font-weight: 600; color: #1d6b4a; }
.card-status:empty { display: none; }
.is-empty { color: #73788c; font-weight: 500; }

/* rotina */
.routine { padding-block: var(--section); }
.routine h2 { max-width: 18ch; }
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.moments li { position: relative; padding-top: 1.9rem; }
.moments li::before { content: ""; position: absolute; top: 0; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: var(--coral); z-index: 1; }
.moments li:not(:last-child)::after { content: ""; position: absolute; top: calc(.5rem - 1px); left: 1rem; right: calc(-1 * clamp(1.5rem, 4vw, 4rem)); height: 2px; background: var(--line); }
.moments h3 { font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.3; }
.moments p { text-wrap: pretty; color: var(--text); margin-top: .5rem; max-width: 24rem; }

/* monte o cartão */
.builder { background: var(--mist); padding-block: var(--section); }
.builder-intro p { color: var(--text); }
.builder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 29rem); gap: clamp(2rem, 7vw, 7rem); align-items: start; margin-top: clamp(2rem, 4vw, 3rem); }
.builder form { display: grid; gap: 1.25rem; }
.field label:not(.chip), .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; padding: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { min-width: 0; }
.builder input:not([type="radio"]):not([type="file"]), .builder textarea { width: 100%; min-width: 0; min-height: 3rem; padding: .65rem .85rem; border: 1px solid #868ca5; border-radius: .55rem; background: white; }
.builder textarea { display: block; resize: vertical; line-height: 1.5; }
.builder ::placeholder { color: #6d7389; opacity: 1; }
.child-row { display: grid; grid-template-columns: 1fr 8rem; gap: .6rem; }
.child-row + .child-row { margin-top: .6rem; }
.photo-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 2.75rem; padding: .4rem 1rem; border: 1px solid #868ca5; border-radius: 2rem; background: white; font-size: .95rem; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: white; }
.chip input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 3px; }
.file-row { margin-top: .8rem; }
.file-row input { max-width: 100%; }
.file-row input::file-selector-button { font: inherit; font-weight: 600; min-height: 2.75rem; padding: .4rem 1rem; margin-right: .8rem; border: 1px solid var(--ink); border-radius: .55rem; background: white; color: var(--ink); cursor: pointer; }
.field-error { color: #a3271b; font-size: .92rem; margin-top: .4rem; }
.field-error:empty { display: none; }
.preview-col { position: sticky; top: 6rem; }
.preview-col .card { box-shadow: 0 1.2rem 3rem #1e2a5c1f; }
.no-photo { display: flex; align-items: center; justify-content: center; gap: .6rem; aspect-ratio: 1.95; border: 2px dashed #b4bace; border-radius: .6rem; color: var(--text); font-size: .95rem; padding: 1rem; }
.noscript { margin-top: 1.5rem; font-weight: 600; }

/* preço */
.price { padding-block: var(--section) 0; }
.price-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; background: #f78a6b; color: #172144; border-radius: 1.5rem clamp(3rem, 7vw, 7rem) 1.5rem 1.5rem; padding: clamp(2rem, 5vw, 4.8rem); }
.amount { font-weight: 650; font-size: clamp(4.2rem, 9vw, 7.2rem); line-height: 1; letter-spacing: -.06em; margin-top: 1.6rem; }
.amount-note { font-weight: 600; font-size: 1.1rem; margin-top: .4rem; }
.included { display: grid; }
.included li { padding: .8rem 0; border-bottom: 1px solid #17214452; font-weight: 550; font-size: 1.05rem; line-height: 1.45; }
.included li:first-child { padding-top: 0; }
.after-year { margin-top: .9rem; max-width: 30rem; }
.offer-actions { margin-top: 1.6rem; display: grid; gap: .9rem; justify-items: start; }
.offer-status { font-weight: 650; }

/* dúvidas */
.faq { padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 1.2rem 2.8rem 1.2rem 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; top: 50%; right: .4rem; background: var(--clay); width: 1rem; height: 2px; }
.faq summary::after { transform: rotate(90deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { text-wrap: pretty; max-width: 38rem; color: var(--text); padding: 0 2rem 1.3rem 0; }

.rules { background: var(--mist); padding-block: var(--section); outline-offset: -3px; }
.rules-text { max-width: 42rem; }
.rules-text h3 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.35; }
.rules-text p { color: var(--text); margin: .3rem 0 1.5rem; }
.rules-text p strong { color: var(--ink); }

footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; padding-block: 1.8rem; }
.footer-inner .brand { font-size: 1.4rem; }
.footer-credit { gap: .55rem; }
.footer-credit img { width: 4.1rem; }
.footer-links { gap: 1.6rem; }

.photo-dialog { width: min(80rem, 94vw); max-width: none; max-height: 94dvh; padding: 0; border: 0; border-radius: .9rem; overflow: hidden; background: #10162e; }
.photo-dialog::backdrop { background: #0b1128d9; }
.photo-dialog img { width: 100%; max-height: 94dvh; object-fit: contain; }
.photo-dialog .icon-button { position: absolute; right: .7rem; top: .7rem; background: white; color: var(--ink); z-index: 1; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 64rem) {
  .session-ticket { left: 1rem; }
  .desktop-nav { gap: 1.2rem; }
  .login { display: none; }
  .is-enhanced .icon-button.menu-toggle { display: grid; }
  .mobile-nav:not([hidden]) { position: absolute; display: grid; top: 100%; right: 0; min-width: 14rem; padding: .4rem; background: white; border: 1px solid var(--line); border-radius: .7rem; box-shadow: 0 1rem 2.5rem #0f17382e; }
  .mobile-nav a { padding: .8rem; border-radius: .5rem; }
  html:not(.is-enhanced) .login { display: inline; }
}
@media (max-width: 52rem) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 2.4rem var(--gutter) 2.2rem; }
  .hero-visual { min-height: 0; padding-bottom: 2.6rem; }
  .hero-photo { position: static; height: auto; aspect-ratio: 1.3; border-bottom-left-radius: 3.5rem; }
  .session-ticket { left: var(--gutter); bottom: 1rem; }
  .showcase-grid, .builder-grid, .faq-grid, .price-panel { grid-template-columns: minmax(0, 1fr); }
  .preview-col { position: static; }
  .price-panel { width: calc(100% - 2 * .75rem); padding: 2.2rem 1.4rem; }
  .moments { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .moments li { padding: 0 0 0 2.2rem; }
  .moments li::before { top: .35rem; }
  .moments li:not(:last-child)::after { top: 1rem; bottom: -2.2rem; left: calc(.5rem - 1px); right: auto; width: 2px; height: auto; }
  /* o cartão fica à vista enquanto as mensagens são tocadas */
  .chat { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(-1 * var(--gutter)); padding: .3rem var(--gutter) .6rem; scroll-padding-inline: var(--gutter); }
  .bubble, .bubble:nth-child(even) { flex: 0 0 min(15.5rem, 74vw); margin: 0; scroll-snap-align: start; }
  .bubble-photo img { width: 100%; aspect-ratio: 2.2; }
  .wave { overflow: hidden; }
  .showcase-grid { gap: 1.3rem; }
}
@media (max-width: 31rem) {
  .brand { font-size: 1.32rem; gap: .38rem; }
  .brand-icon { width: 1.75rem; height: 1.75rem; }
  .brand-pair { flex-direction: column; align-items: flex-start; gap: .18rem; }
  .maker { border: 0; padding: 0 0 0 2.12rem; line-height: 1; }
  .maker img { width: 2.9rem; }
  .header-inner { gap: .5rem; }
  .header-actions { gap: .2rem; }
  .button.small { padding-inline: .8rem; font-size: .86rem; white-space: nowrap; }
  .hero-actions .button, .offer-actions .button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 23rem) {
  :root { --gutter: 1rem; }
  .brand { font-size: 1.15rem; }
  .brand-icon { width: 1.5rem; height: 1.5rem; }
  .maker { padding-left: 1.85rem; }
  .button.small { padding-inline: .6rem; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
