@font-face {
  font-family: Inter;
  src: url("./assets/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #232019;
  background: #f8f7f9;
  --muted: #665e50;
  --accent: #fec942;
  --accent-soft: #fff4ca;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --press: 140ms;
  --panel-border: #e9e5dc;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }

body {
  min-width: 0;
  margin: 0;
  background: radial-gradient(ellipse 43rem 37rem at 50% 12rem, #fcfbfc, #f8f7f9 100%);
}

h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; color: inherit; touch-action: manipulation; user-select: none; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, .highlight-track:focus-visible { outline: 2px solid #8a690d; outline-offset: 3px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.layout, .footer {
  position: relative;
  width: min(100% - 2.25rem, 32rem);
  width: min(calc(100% - max(1.125rem, env(safe-area-inset-left)) - max(1.125rem, env(safe-area-inset-right))), 32rem);
  margin-inline: auto;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.55rem;
  padding-block: max(1rem, calc(env(safe-area-inset-top) + .75rem)) 1.4rem;
}

.profile { color: #131214; }

.profile-intro { text-align: center; }

.page-transition { display: none; }

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(9rem, 43.6vw, 10.75rem);
  aspect-ratio: 1;
  margin: 0 auto .55rem;
}

.brand-mark img {
  width: 74%;
  height: auto;
}

.brand-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
}

.brand-ring-line {
  stroke: var(--accent);
  stroke-width: .9;
  vector-effect: non-scaling-stroke;
}

.brand-ring-orbit {
  opacity: 0;
  transform-box: view-box;
  transform-origin: center;
}

.brand-ring-trail {
  stroke: url("#brand-ring-light");
  stroke-width: 1.75;
  filter: drop-shadow(0 0 2px #fec942) drop-shadow(0 0 5px #ffbf00cc);
}

#brand-ring-light stop { stop-color: #ffc328; }
#brand-ring-light stop:nth-child(3) { stop-color: #fff2a3; }

.profile h1 {
  max-width: 21.25rem;
  margin-inline: auto;
  font-size: clamp(.9375rem, 4.05vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

.shortcuts { margin-top: 1.4rem; }

.little-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.5rem, 3.5vw, .875rem);
  margin-bottom: .8rem;
  color: #504e52;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.little-heading::before, .little-heading::after {
  width: clamp(.65rem, 8vw, 2rem);
  flex: 0 1 auto;
  height: 1px;
  content: "";
  background: #aaa6ac;
}

.shortcut-stack { display: grid; gap: .375rem; }
.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .375rem; }

.shortcut {
  --shortcut-inset: clamp(.65rem, 4.5vw, 1.1rem);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.65rem, 4.1vw, 1.125rem);
  min-width: 0;
  min-height: 2.8rem;
  overflow: hidden;
  padding: .38rem var(--shortcut-inset);
  border-radius: .95rem;
  color: #131214;
  background: #ecebed;
  transition: transform var(--press) var(--ease-out), background-color 180ms var(--ease-out);
}

.shortcut strong {
  font-size: clamp(.875rem, 4vw, 1rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -.03em;
}

.shortcut strong span { display: block; }

.shortcut-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .65rem;
  color: #fff;
  background: var(--accent);
  box-shadow: inset 0 0 0 1px #66511a14;
}

.shortcut-icon .icon { width: 1.16rem; height: 1.16rem; filter: drop-shadow(0 1px 1px #50400c63); }

.shortcut-chevron {
  width: .875rem;
  height: .875rem;
  color: #48464a;
  stroke-width: 1.65;
  transition: transform 180ms var(--ease-out);
}

.shortcut-location {
  gap: clamp(.25rem, 1.65vw, .5rem);
  padding-inline: clamp(.48rem, 2.7vw, .72rem) .5rem;
}
.shortcut-location-jaboatao {
  padding-inline-start: calc(var(--shortcut-inset) + .175rem);
  padding-inline-end: .35rem;
}
.shortcut-location .shortcut-icon { width: 1.65rem; height: 1.65rem; border-radius: .52rem; }
.shortcut-location .shortcut-icon .icon { width: 1rem; height: 1rem; }
.shortcut-location strong { font-size: .85rem; font-weight: 570; line-height: 1.13; }
.shortcut:focus-visible { outline-color: #57545a; }

.showcase { min-width: 0; }

.highlight-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 44%;
  gap: .65rem;
  padding-block: .25rem .5rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.highlight-track::-webkit-scrollbar { display: none; }
.highlight-track[data-count="1"] { grid-auto-columns: 100%; }
.highlight-track[data-count="2"] { grid-auto-columns: calc((100% - .65rem) / 2); }

.product-action {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8e5e0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 12px -9px #27231755;
  -webkit-touch-callout: none;
  transition: transform var(--press) var(--ease-out);
}

.product-action[data-hold]::after {
  position: absolute;
  inset: auto 0 0;
  height: .1875rem;
  background: var(--accent);
  content: "";
  pointer-events: none;
  transform-origin: left;
}

.product-action[data-hold] { border-color: var(--accent); }
.product-action[data-hold] .product-plus { background-color: var(--accent); }

.product-action:focus-visible { outline-offset: -3px; }
.product-action[data-href] { cursor: pointer; }
.product-media { display: block; overflow: hidden; aspect-ratio: 1.29; background: #efedef; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
.highlight-track[data-count="1"] .product-media { aspect-ratio: 2.13; }

.product-caption {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  min-height: 3.1rem;
  padding: .55rem .62rem .55rem .72rem;
  border-top: 2px solid var(--accent);
  font-size: clamp(.86rem, 1.5vw, 1rem);
  letter-spacing: -.025em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.product-caption strong { font-weight: 650; }

.product-plus {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  color: #352808;
  background: var(--accent-soft);
  transition: background-color 180ms var(--ease-out);
}

.product-plus .icon { width: .9rem; height: .9rem; }

.highlight-toolbar {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: .35rem;
  margin-top: .25rem;
}

.highlight-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.highlight-dot, .highlight-toggle {
  display: grid;
  place-items: center;
  flex: none;
  border: 0;
  border-radius: .6rem;
  background: transparent;
  cursor: pointer;
}

.highlight-dot { width: 1.8rem; min-height: 2.75rem; }
.highlight-dot::before {
  width: .4rem;
  height: .4rem;
  content: "";
  border-radius: 1rem;
  background: #c5c1be;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.highlight-dot[aria-current="true"]::before { background: var(--accent); transform: scale(1.65); }
.highlight-toggle { width: 2.75rem; height: 2.75rem; }
.highlight-toggle .icon { width: 1.05rem; height: 1.05rem; }
.highlight-empty { color: var(--muted); line-height: 1.5; }

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding-block: .95rem max(1.35rem, env(safe-area-inset-bottom));
  border-top: 1px solid #e6dece;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

.footer a { text-underline-offset: .18em; }

.consultation {
  width: min(calc(100% - 2rem), 25rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--panel-border);
  border-radius: 1.3rem;
  color: inherit;
  background: #fffcf5;
  box-shadow: 0 20px 90px #2a211b45;
}

html:has(.consultation[open]) { overflow: hidden; }
.consultation::backdrop { background: #201a0d70; }
.consultation-inner { position: relative; padding: 1.55rem; }
.consultation h2 { padding-right: 2.5rem; font-size: 1.6rem; line-height: 1.18; letter-spacing: -.045em; }
.consultation p { margin: .5rem 0 1.25rem; color: var(--muted); line-height: 1.45; }

.close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #ede4d1;
  border-radius: 50%;
  background: #f8f0e1;
  cursor: pointer;
  transition: transform var(--press) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .shortcut:hover { background-color: #e2e0e4; }
  .shortcut:hover .shortcut-chevron { transform: translateX(2px); }
  .product-action:hover .product-plus { background-color: var(--accent); }
  .product-action:hover:not([data-hold]) img { transform: scale(1.045); }
  .highlight-toggle:hover { background-color: var(--accent-soft); }
  .footer a:hover { text-decoration: underline; }
}

.shortcut:active, .product-action:active, .close:active { transform: scale(.98); }
.shortcut:active { background-color: #dbd9de; }

@media (prefers-reduced-motion: no-preference) {
  .page-transition {
    --transition-duration: 1.5s;
    --transition-ease: cubic-bezier(.77, 0, .175, 1);
    position: fixed;
    z-index: 5;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    pointer-events: none;
    animation: hide-page-transition 0s var(--transition-duration) forwards;
  }

  .page-transition::before, .page-transition::after {
    position: absolute;
    bottom: 0;
    width: 145vmax;
    height: 145vmax;
    background: var(--accent);
    content: "";
  }

  .page-transition::before {
    left: 0;
    transform-origin: left bottom;
    animation: page-cover var(--transition-duration) var(--transition-ease) both;
  }

  .page-transition::after {
    right: 0;
    transform-origin: right bottom;
    animation: page-reveal var(--transition-duration) var(--transition-ease) both;
  }

  .page-transition-brand {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: .72rem;
  }

  .page-transition-emblem {
    display: grid;
    justify-items: center;
    gap: .85rem;
    animation: transition-logo 680ms var(--ease-out) 430ms both;
  }

  .page-transition-logo {
    position: relative;
    width: clamp(7rem, 29vw, 9.5rem);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #fcfbfc;
    box-shadow: 0 .6rem 1.7rem #4c36132e;
    pointer-events: auto;
    touch-action: manipulation;
    transition: transform 160ms var(--ease-out);
  }

  .page-transition-logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 132%;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
    transition: transform var(--press) var(--ease-out);
  }

  .page-transition-logo.is-pressed img { transform: translate(-50%, -50%) scale(.93); }

  .page-transition-name {
    width: clamp(12.7rem, 70vw, 24.7rem);
    max-width: calc(100vw - 2rem);
    height: auto;
  }

  .page-transition-dots {
    display: flex;
    gap: .22rem;
  }

  .page-transition-dots span {
    width: .32rem;
    aspect-ratio: 1;
    background: #232019;
    animation: transition-dot 320ms var(--ease-out) var(--dot-delay, 570ms) both;
  }

  .page-transition-dots span:nth-child(2) { --dot-delay: 620ms; }
  .page-transition-dots span:nth-child(3) { --dot-delay: 660ms; }
  .page-transition-dots span:nth-child(4) { --dot-delay: 690ms; }

  .profile-intro h1 { animation: fade 360ms var(--ease-out) 140ms both; }

  .shortcut::after {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgb(255 255 255 / .65), transparent);
    content: "";
    pointer-events: none;
    transform: translateX(-150%) skewX(-20deg);
    animation: shortcut-shine 3.6s cubic-bezier(.22, 1, .36, 1) var(--shine-delay, 0s) infinite paused;
  }

  .shortcut strong, .shortcut-chevron { position: relative; z-index: 2; }
  .shortcut-stack .shortcut:nth-child(2) { --shine-delay: .12s; }
  .shortcut-stack .shortcut:nth-child(3) { --shine-delay: .24s; }
  .locations { --shine-delay: .36s; }

  :root:not([data-page-hidden]) :is(.shortcut[data-shine-visible], .consultation[open] .shortcut)::after {
    animation-play-state: running;
  }

  .product-action[data-hold="countdown"]::after { animation: hold-countdown var(--hold-duration) linear forwards; }
  #showcase-title { animation: enter 420ms var(--ease-out) both; }
  .brand-mark img { animation: mascot-float 6s ease-in-out infinite paused; }
  .brand-ring-orbit { animation: brand-orbit 10s linear infinite paused; }
  html.intro-settled .brand-mark.is-animating :is(img, .brand-ring-orbit) { animation-play-state: running; }
  .shortcuts { animation: enter 420ms var(--ease-out) 55ms both; }
  .le-reveal { opacity: 0; transform: translateY(12px); transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); transition-delay: var(--le-reveal-delay, 0ms); }
  .le-reveal.le-visible, .le-reveal:focus-within { opacity: 1; transform: none; }
  .le-reveal:focus-within { transition: none; }

  html.intro-settled :is(
    .profile-intro h1,
    .shortcuts,
    #showcase-title
  ) { animation: none; }
  .consultation[open] { animation: dialog-enter 200ms var(--ease-out) both; }
  .consultation[open]::backdrop { animation: fade 180ms var(--ease-out) both; }
}

@keyframes enter { from { opacity: 0; transform: translateY(7px); } }
@keyframes page-cover {
  0% { transform: rotate(-90deg); visibility: visible; }
  40%, 51% { transform: rotate(0deg); visibility: visible; }
  52%, 100% { transform: rotate(0deg); visibility: hidden; }
}
@keyframes page-reveal {
  0%, 48% { transform: rotate(0deg); visibility: hidden; }
  49%, 54% { transform: rotate(0deg); visibility: visible; }
  100% { transform: rotate(90deg); visibility: visible; }
}
@keyframes transition-logo {
  0% { opacity: 0; visibility: hidden; transform: translateY(.6rem) scale(.88); }
  25%, 78% { opacity: 1; visibility: visible; transform: none; }
  100% { opacity: 0; visibility: hidden; transform: translateY(-.3rem) scale(.97); }
}
@keyframes transition-dot {
  0% { opacity: 0; transform: translateY(.6rem); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-.45rem); }
}
@keyframes hide-page-transition { to { opacity: 0; visibility: hidden; } }
@keyframes shortcut-shine {
  0%, 60% { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(325%) skewX(-20deg); }
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(1%) rotate(-1deg); }
  50% { transform: translateY(-2%) rotate(1.3deg) scale(1.025); }
}
@keyframes brand-orbit {
  0% { transform: rotate(-.25turn); opacity: 0; }
  4%, 66% { opacity: 1; }
  70%, 100% { transform: rotate(.75turn); opacity: 0; }
}
@keyframes hold-countdown { to { transform: scaleX(0); } }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(5px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .shortcut:active, .product-action:active, .close:active,
  .shortcut:hover .shortcut-chevron, .product-action:hover img { transform: none; }
  .highlight-toggle { display: none; }
}

@media (max-width: 48rem) {
  .profile {
    margin-inline: min(0px, calc(env(safe-area-inset-left) - .25rem))
      min(0px, calc(env(safe-area-inset-right) - .25rem));
  }
}

@media (max-width: 22rem) {
  .shortcut { --shortcut-inset: .7rem; }
  .little-heading { letter-spacing: .105em; }
  .highlight-track { grid-auto-columns: 47%; }
  .highlight-dot { width: 1.55rem; }
  .product-caption { gap: .18rem; }
  .product-plus { width: 1.4rem; height: 1.4rem; }
  .product-plus .icon { width: .8rem; height: .8rem; }
}
