:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  --background: #080b12;
  --surface: #101623;
  --surface-raised: #18263c;
  --border: #293c58;
  --blue: #0064d7;
  --blue-light: #70c9ff;
  background: var(--background);
  color: #f7f7f5;
  line-height: 1.45;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse 52rem 36rem at 50% 3rem, #142749, var(--background) 75%);
}

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 4px;
}

.page {
  max-width: 35rem;
  margin-inline: auto;
  padding-bottom: 3.5rem;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  isolation: isolate;
  height: clamp(19rem, 78vw, 25rem);
  padding: 1.5rem 1.5rem 2.65rem;
  overflow: hidden;
  background: #1b1b1c url("assets/vitrine.webp") center 37% / cover no-repeat;
}

.hero-video,
.hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-video {
  z-index: -2;
  object-fit: cover;
  object-position: center 37%;
}

.hero::after {
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse 54% 52% at 50% 56%, #080b1290, transparent),
    linear-gradient(180deg, #0001 24%, #080b1240 55%, var(--background) 100%);
}

.hero-content {
  display: grid;
  justify-items: center;
  gap: .7rem;
  width: 100%;
}

.hero-caption {
  margin: 0;
  font-size: clamp(.75rem, 2.5vw, .875rem);
  font-weight: 700;
  letter-spacing: .075em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 6px #000;
}

.brand {
  margin: 0;
  width: min(92%, 22rem);
  perspective: 58rem;
  filter: drop-shadow(0 4px 6px #000e);
  animation: logo-entry 650ms cubic-bezier(.2, .75, .3, 1) both;
}

.brand-rotor {
  display: grid;
  place-items: center;
  aspect-ratio: 352 / 220;
  transform-style: preserve-3d;
  animation: brand-turn 10s cubic-bezier(.45, .08, .55, .92) 5s infinite;
}

.brand-rotor img {
  display: block;
  grid-area: 1 / 1;
  backface-visibility: hidden;
}

.brand-mascot {
  width: min(62%, 13rem);
  height: auto;
}

.brand-wordmark {
  width: 100%;
  height: auto;
  transform: rotateY(180deg);
}

@keyframes brand-turn {
  0% { transform: rotateY(0deg); }
  6.5%, 50% { transform: rotateY(180deg); }
  56.5%, 100% { transform: rotateY(360deg); }
}

@keyframes logo-entry {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.content { position: relative; padding-inline: clamp(1rem, 5vw, 2rem); margin-top: -1.35rem; }

.channels { display: grid; gap: .75rem; margin-bottom: 1.65rem; }

.channel {
  --icon-surface: #1b3555;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: .95rem;
  background: linear-gradient(105deg, #172337, var(--surface) 68%);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}

.channel-row {
  display: flex;
  align-items: center;
  gap: .875rem;
  min-height: 4.625rem;
  padding: .8rem 1rem;
}

.channel-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: .65rem;
  background: var(--icon-surface);
}

.channel-icon img { display: block; }
.channel-label { font-size: 1.0625rem; font-weight: 700; line-height: 1.25; }
.channel-label small { display: block; margin-top: .23rem; font-size: .875rem; font-weight: 400; color: #b7c5d8; }

.channel-shop {
  --icon-surface: #ffffff26;
  border-color: #3a87dc;
  background: var(--blue);
  box-shadow: 0 10px 24px #0064d733;
}

.shop-image { display: block; width: 100%; height: auto; }
.channel-shop .channel-label { font-size: 1.125rem; }
.channel-whatsapp { --icon-surface: #15372e; }
.channel-instagram { --icon-surface: #40293f; }

@media (hover: hover) {
  .channel:hover {
    border-color: var(--blue-light);
    box-shadow: 0 5px 18px #0005;
  }
  .channel-shop:hover { background: #0755b2; }
}
.channel:active { border-color: var(--blue-light); }

.location { padding: 1.2rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.location h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.location address { margin: .45rem 0 1rem; font-style: normal; color: #d0ced0; }
.location iframe { display: block; width: 100%; height: 15rem; border: 0; border-radius: .55rem; background: #2a2a2b; }
.route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.1rem;
  margin-top: .85rem;
  padding: .65rem 1rem;
  border: 1px solid var(--border);
  border-radius: .65rem;
  color: #9bd0ff;
  font-weight: 700;
}
.route:hover { border-color: var(--blue-light); background: var(--surface-raised); }

@media (min-width: 36rem) {
  .page { padding-top: 1.5rem; }
  .hero { border-radius: 1.25rem 1.25rem 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .brand, .brand-rotor { animation: none; }
  .channel { transition: none; }
}
