.showcase {
  --showcase-width: min(280px, 76vw);
  --showcase-height: 326px;
  --showcase-offset: 225px;
  --showcase-brand: var(--brand, #0c5d49);
  --showcase-dark: var(--brand-dark, #073d32);
  --showcase-accent: var(--accent, #c9f970);
  position: relative;
  width: 100%;
  max-width: 660px;
  min-width: 0;
  margin-inline: auto;
  isolation: isolate;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.showcase *, .showcase *::before, .showcase *::after { box-sizing: border-box; }
.showcase button, .showcase a { -webkit-tap-highlight-color: transparent; }
.showcase button { font: inherit; cursor: pointer; }
.showcase button:focus-visible, .showcase a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.showcase-stage {
  position: relative;
  height: 382px;
  width: 100%;
  overflow: clip;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.showcase-stage::before {
  position: absolute;
  content: '';
  width: 380px;
  height: 300px;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(201 249 112 / 24%) 0%, rgb(12 93 73 / 4%) 47%, transparent 70%);
  pointer-events: none;
}
.showcase-stage::after {
  position: absolute;
  content: '';
  width: 240px;
  height: 24px;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgb(7 61 50 / 17%), transparent 70%);
  filter: blur(5px);
  pointer-events: none;
}
.showcase-stage-orbit {
  position: absolute;
  width: min(520px, 140%);
  height: 104px;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  border: 1px solid rgb(12 93 73 / 9%);
  border-radius: 50%;
  pointer-events: none;
}
.showcase-stage-orbit::before { content: ''; position: absolute; inset: 12px 43px; border: 1px solid rgb(12 93 73 / 6%); border-radius: 50%; }
.showcase-card {
  position: absolute;
  top: 18px;
  left: calc((100% - var(--showcase-width)) / 2);
  width: var(--showcase-width);
  height: var(--showcase-height);
  margin: 0;
  z-index: 2;
  transform-style: flat;
  perspective: 1100px;
  transform: perspective(1100px) translate3d(0, 0, 0) rotateY(0);
  transition: transform 620ms cubic-bezier(.2, .7, .2, 1), opacity 450ms ease, filter 450ms ease;
}
.showcase-card[data-position='left'] { transform: perspective(1100px) translate3d(calc(-1 * var(--showcase-offset)), 19px, -135px) rotateY(35deg); opacity: .69; filter: saturate(.75); }
.showcase-card[data-position='right'] { transform: perspective(1100px) translate3d(var(--showcase-offset), 19px, -135px) rotateY(-35deg); opacity: .69; filter: saturate(.75); }
.showcase-card.is-active { z-index: 3; opacity: 1; filter: none; }
.showcase-flipper { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 620ms cubic-bezier(.2, .7, .2, 1); }
.showcase-card.is-flipped .showcase-flipper { transform: rotateY(180deg); }
.showcase-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 22px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 17px 32px rgb(6 44 37 / 16%), 0 2px 5px rgb(6 44 37 / 9%);
}
.showcase-card-front { color: #fff; background: linear-gradient(145deg, #0c5d49, #073d32 83%); overflow: hidden; }
.showcase-card[data-module='lembretes'] .showcase-card-front { background: linear-gradient(145deg, #0b4b3c, #062c25 86%); }
.showcase-card[data-module='retorno'] .showcase-card-front { background: linear-gradient(145deg, #276249, #073d32 85%); }
.showcase-card-front::before { content: ''; position: absolute; top: -135px; right: -130px; height: 285px; width: 285px; border: 1px solid rgb(201 249 112 / 13%); border-radius: 50%; pointer-events: none; }
.showcase-card-front::after { content: ''; position: absolute; top: -111px; right: -105px; height: 235px; width: 235px; border: 1px solid rgb(201 249 112 / 7%); border-radius: 50%; pointer-events: none; }
.showcase-front-trigger {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 20px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  text-align: left;
  touch-action: pan-y;
}
.showcase-front-trigger:focus-visible { outline-offset: -5px !important; }
.showcase-card-mast { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 29px; }
.showcase-card-number { font-size: 11px; font-weight: 500; letter-spacing: .04em; color: #9cb78c; }
.showcase-module-name { font-size: 26px; font-weight: 650; line-height: 1.1; letter-spacing: -.045em; }
.showcase-card[data-module='retorno'] .showcase-module-name { font-size: 22px; }
.showcase-flip-hint { display: flex; align-items: center; justify-content: flex-end; width: 100%; margin-top: auto; padding-top: 9px; }
.showcase-flip-symbol { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid rgb(201 249 112 / 38%); color: var(--showcase-accent); border-radius: 50%; background: rgb(201 249 112 / 7%); }
.showcase-art { display: flex; flex-direction: column; position: relative; width: 100%; height: 200px; flex: 0 0 200px; margin-top: 17px; }
.showcase-art-agenda { padding: 14px; border: 1px solid #edf3e8; border-radius: 13px; color: var(--showcase-dark); background: #fbfcf8; box-shadow: 0 6px 14px rgb(0 0 0 / 8%); }
.showcase-mini-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; font-weight: 650; }
.showcase-mini-pill { display: inline-flex; align-items: center; gap: 3px; padding: 4px 5px; border-radius: 4px; font-size: 7px; font-weight: 550; color: #4b6d34; background: #e7f1dc; }
.showcase-mini-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 12px; }
.showcase-mini-week > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 41px; padding-block: 3px; font-size: 7px; line-height: 1.4; color: #9aa991; border-radius: 6px; }
.showcase-mini-week strong { font-size: 12px; font-weight: 650; color: #7b8e70; }
.showcase-mini-week .showcase-mini-day-active { background: var(--showcase-brand); color: #b5d2b9; }
.showcase-mini-day-active strong { color: #fff; }
.showcase-mini-event { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 38px; padding: 7px 6px; margin-top: 8px; background: #edf4e6; border-left: 2px solid #689d49; border-radius: 5px; }
.showcase-mini-event-soft { margin-top: 6px; background: #f1f5ed; border-color: #b6cba4; }
.showcase-mini-time { font-size: 9px; font-weight: 650; color: #64804e; }
.showcase-mini-event-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.showcase-mini-event-copy strong { font-size: 9px; line-height: 1.25; font-weight: 650; }
.showcase-mini-event-copy small { font-size: 7px; line-height: 1.2; color: #8b9b7d; }
.showcase-mini-event-check { display: flex; align-items: center; justify-content: center; height: 16px; width: 16px; flex: 0 0 16px; border-radius: 50%; background: #e1edce; color: #769c4a; }
.showcase-art-reminder { padding-top: 5px; }
.showcase-reminder-event { display: flex; align-items: center; gap: 9px; width: 88%; min-height: 52px; margin-inline: auto; padding: 11px 10px; color: #ecf5e6; border: 1px solid rgb(194 222 187 / 16%); background: rgb(255 255 255 / 5%); border-radius: 10px; }
.showcase-reminder-clock { color: #a8c77e; }
.showcase-reminder-event > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.showcase-reminder-event strong { font-size: 10px; font-weight: 550; line-height: 1.3; }
.showcase-reminder-event small { font-size: 9px; line-height: 1.3; color: #91b39b; }
.showcase-reminder-path { display: flex; flex-direction: column; gap: 4px; min-height: 26px; padding: 5px 0 3px 40px; }
.showcase-reminder-path span { display: block; width: 2px; height: 2px; border-radius: 50%; background: #77a571; }
.showcase-mini-message { display: flex; flex-direction: column; gap: 9px; position: relative; color: #355a3d; background: #edf8d9; border: 1px solid #dceec0; border-radius: 12px 12px 12px 2px; padding: 13px; font-size: 11px; line-height: 1.6; box-shadow: 0 6px 12px rgb(0 0 0 / 8%); }
.showcase-mini-message-head { display: flex; align-items: center; gap: 4px; color: #477545; }
.showcase-mini-message-head strong { font-size: 9px; font-weight: 600; }
.showcase-mini-message-head small { font-size: 6px; color: #8fa376; margin-left: auto; }
.showcase-mini-message > span:last-child > strong { font-weight: 700; }
.showcase-mini-heart { font-size: 10px; color: #779c3c; }
.showcase-send-badge { display: inline-flex; align-items: center; gap: 5px; position: absolute; right: -5px; bottom: 5px; color: #365422; background: var(--showcase-accent); border: 2px solid #0a3e31; border-radius: 7px; padding: 6px 8px; font-size: 8px; font-weight: 600; box-shadow: 0 3px 8px rgb(0 0 0 / 7%); }
.showcase-art-followup { gap: 10px; }
.showcase-followup-path { display: flex; align-items: flex-start; min-height: 62px; padding-inline: 12px; }
.showcase-followup-point { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; width: 40px; flex: 0 0 40px; border-radius: 50%; color: var(--showcase-accent); background: rgb(201 249 112 / 9%); border: 1px solid rgb(201 249 112 / 27%); }
.showcase-followup-point small { position: absolute; width: 68px; left: 50%; top: 46px; transform: translateX(-50%); font-size: 8px; color: #b8cebc; text-align: center; line-height: 1.2; }
.showcase-followup-point-heart { color: #1e5935; background: var(--showcase-accent); border-color: var(--showcase-accent); }
.showcase-followup-line { position: relative; flex: 1; margin: 20px 9px 0; height: 1px; background: repeating-linear-gradient(to right, #668b64 0, #668b64 3px, transparent 3px, transparent 7px); }
.showcase-followup-line > span { position: absolute; top: -11px; left: 0; width: 100%; color: #b1c99c; font-size: 8px; text-align: center; transform: translateY(-50%); }
.showcase-followup-message { margin-top: 0; padding-block: 12px; gap: 8px; }
.showcase-return-link { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 6px 7px; color: #47713a; background: #dfeec7; border-radius: 5px; font-size: 8px; font-weight: 550; }
.showcase-card-back { display: flex; flex-direction: column; padding: 19px 20px 18px; color: #173d2a; background: #f2f8e8; transform: rotateY(180deg); pointer-events: none; }
.showcase-card.is-flipped .showcase-card-back { pointer-events: auto; }
.showcase-card.is-flipped .showcase-card-front { pointer-events: none; }
.showcase-back-mast { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 7px; }
.showcase-back-eyebrow { color: #28523c; font-size: 16px; font-weight: 650; letter-spacing: -.025em; }
.showcase-return { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; border: 1px solid #dbe7ca; padding: 6px 8px; margin: -6px -6px -6px 0; color: #507143; background: #f8fbf1; border-radius: 7px; font-size: 10px !important; }
.showcase-back-details { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 22px; margin: 18px 0; padding: 0; list-style: none; }
.showcase-back-details li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; font-weight: 500; color: #47663a; line-height: 1.5; }
.showcase-back-details li > svg { width: 16px; height: 16px; margin-top: 1px; color: #81a750; }
.showcase-back-bottom { display: flex; flex-direction: column; margin-top: 0; padding-top: 8px; }
.showcase-back-cta { display: flex; align-items: center; justify-content: space-between; gap: 7px; width: 100%; min-height: 44px; padding: 11px 12px; color: #fff; border: 1px solid var(--showcase-brand); border-radius: 9px; background: var(--showcase-brand); font-size: 12px !important; font-weight: 600; line-height: 1.4; text-decoration: none; }
.showcase-back-cta:hover { color: #fff; background: var(--showcase-dark); }
.showcase-card-back button:focus-visible, .showcase-back-cta:focus-visible { outline-color: var(--focus-ring); }
/* Keep 3D for movement; paint the resting face as ordinary, untransformed content. */
.showcase.is-preparing .showcase-card, .showcase.is-preparing .showcase-flipper { transition: none !important; }
.showcase-card.is-settled { transform: none; perspective: none; transition: none; }
.showcase-card.is-settled .showcase-flipper { transform: none; transform-style: flat; transition: none; }
.showcase-card.is-settled .showcase-card-face { transform: none; backface-visibility: visible; -webkit-backface-visibility: visible; }
.showcase-card.is-settled .showcase-card-face[aria-hidden='true'] { visibility: hidden; }
.showcase-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: -5px; position: relative; z-index: 4; }
.showcase-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d6e1cd; border-radius: 50%; color: var(--showcase-brand); background: #fff; box-shadow: 0 3px 7px rgb(7 61 50 / 3%); }
.showcase-arrow:hover { background: #edf6e3; border-color: #c6d7b4; }
.showcase-arrow:active { background: #e0edce; }
.showcase-pagination { display: flex; align-items: center; gap: 0; }
.showcase-dot { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; }
.showcase-dot > span { display: block; width: 6px; height: 6px; border-radius: 4px; background: #cbd8bf; transition: width 250ms ease, background 250ms ease; }
.showcase-dot.is-active > span { width: 22px; background: var(--showcase-brand); }
.showcase-arrow:focus-visible, .showcase-dot:focus-visible { outline-color: var(--focus-ring); }
.showcase-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 359px) {
  .showcase { --showcase-height: 350px; }
  .showcase-stage { height: 400px; }
  .showcase-card-back { padding: 18px 18px 20px; }
  .showcase-card[data-module='retorno'] .showcase-module-name { font-size: 19px; }
  .showcase-back-eyebrow { font-size: 14px; }
  .showcase-back-details li { font-size: 12px; }
}

@media (min-width: 768px) {
  .showcase { --showcase-width: 300px; --showcase-height: 340px; --showcase-offset: 245px; }
  .showcase-stage { height: 400px; }
  .showcase-card { top: 21px; }
  .showcase-front-trigger { padding: 22px; }
  .showcase-module-name { font-size: 28px; }
  .showcase-card[data-module='retorno'] .showcase-module-name { font-size: 24px; }
  .showcase-art { margin-top: 18px; height: 204px; flex-basis: 204px; }
  .showcase-card-back { padding: 21px 22px 20px; }
  .showcase-back-details li { font-size: 13px; }
  .showcase-back-cta { font-size: 12px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card, .showcase-flipper, .showcase-dot > span { transition: none !important; }
  .showcase-flipper, .showcase-card.is-flipped .showcase-flipper, .showcase-card-back { transform: none !important; }
  .showcase-card-face[aria-hidden='true'] { visibility: hidden; }
  .showcase-card:not(.is-active) .showcase-card-front { visibility: visible; }
}
