@font-face {
  font-family: "Questrial";
  src: url("assets/fonts/questrial-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #000000;
  --white: #ffffff;
  --gold: #c6910f;
  --gold-accent: #d89200;
  --gold-dark: #9e7614;
  --gold-soft: #ddbb69;
  --gold-light: #f3c044;
  --gold-line: rgb(221 187 105 / 32%);
  --cta-gold-deep: #ac854b;
  --cta-gold-mid: #d6b576;
  --cta-gold-light: #f3deb2;
  --cta-ink: #181209;
  --text-muted: rgb(255 255 255 / 70%);
  --sans: "Questrial", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1 { margin: 0; }
a:focus-visible { outline: 2px solid var(--white); outline-offset: 5px; }

.skip-link { position: absolute; left: 20px; top: 10px; z-index: 20; padding: 12px 18px; background: var(--white); color: var(--black); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  isolation: isolate;
  color: var(--white);
  background: linear-gradient(180deg, rgb(43 42 38 / 72%), rgb(12 12 11 / 90%));
  -webkit-backdrop-filter: blur(20px) saturate(115%);
  backdrop-filter: blur(20px) saturate(115%);
  border-bottom: 1px solid rgb(221 187 105 / 24%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 8px 24px rgb(0 0 0 / 16%);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% -25%, rgb(255 255 255 / 13%), transparent 58%),
    linear-gradient(118deg, transparent 12%, rgb(255 255 255 / 6%) 27%, transparent 48%),
    radial-gradient(ellipse at 90% 110%, rgb(221 187 105 / 6%), transparent 60%);
}
.site-header::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgb(243 222 178 / 43%), transparent); }
.site-header a:focus-visible { outline-color: var(--white); }
.site-header__inner { position: relative; z-index: 1; width: min(100%, 1280px); min-height: 88px; margin: auto; padding: 10px 22px; display: flex; align-items: center; justify-content: center; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: linear-gradient(180deg, #252420, #10100e); }
}
.brand { flex: 0 0 auto; }
.brand img { width: 86px; height: auto; }

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--cta-ink);
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 3px) padding-box,
    linear-gradient(180deg, rgb(255 255 255 / 20%), transparent 38%, rgb(71 43 12 / 9%)) padding-box,
    linear-gradient(112deg, var(--cta-gold-deep), var(--cta-gold-mid) 23%, var(--cta-gold-light) 49%, var(--cta-gold-mid) 76%, #bd975a) padding-box,
    linear-gradient(135deg, #fae9c5, #d5b16c 43%, #8e6937 72%, #e9cd96) border-box;
  box-shadow: inset 0 1px 0 rgb(255 248 223 / 42%), inset 0 -1px 0 rgb(94 62 19 / 16%), 0 7px 24px rgb(185 140 65 / 10%);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: transform .18s ease, filter .25s ease, box-shadow .25s ease;
}
.button::after { content: ""; position: absolute; z-index: 0; inset: -30% -40%; pointer-events: none; background: linear-gradient(110deg, transparent 38%, rgb(255 250 231 / 46%) 50%, transparent 62%); transform: translateX(-75%); transition: transform .75s cubic-bezier(.2, .65, .3, 1); }
.button__label, .button__icon { position: relative; z-index: 1; }
.button__label { white-space: nowrap; }
.button__icon { display: inline-flex; align-items: center; justify-content: flex-end; width: 38px; height: 24px; flex: 0 0 auto; border-left: 1px solid rgb(82 58 24 / 25%); }
.button svg { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.3; transition: transform .25s ease; }
.button--primary { width: min(100%, 330px); min-height: 60px; margin-top: 24px; padding: 0 22px; }

.hero { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 20px; }
.hero__visual { position: relative; z-index: 0; isolation: isolate; height: clamp(335px, 100vw, 485px); max-width: 1440px; margin: 0 auto; }
.hero__composition { position: relative; height: 100%; overflow: hidden; background: radial-gradient(ellipse at 55% 30%, rgb(158 118 20 / 18%), var(--black) 68%); }
.hero__composition::after { content: ""; position: absolute; z-index: 6; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 57%, rgb(0 0 0 / 38%) 75%, var(--black) 100%); }
.facet { position: absolute; inset: 0; }
.facet img { position: absolute; object-fit: cover; }
.facet::after { content: ""; position: absolute; inset: 0; }
.facet--rio { clip-path: polygon(0 0, 42% 0, 24.8% 41%, 0 58%); }
.facet--rio img { left: 0; top: 0; width: 43%; height: 59%; object-position: 49% 38%; filter: saturate(.5) sepia(.25) brightness(.85); }
.facet--rio::after { background: linear-gradient(180deg, rgb(0 0 0 / 4%) 5%, rgb(0 0 0 / 82%) 57%); }
.facet--lente {
  --lens-light-x: 77%;
  --lens-light-y: 39%;
  clip-path: polygon(62% 0, 100% 0, 100% 57%, 78% 42%);
  background:
    radial-gradient(ellipse 9% 23% at var(--lens-light-x) var(--lens-light-y), rgb(255 225 172 / 78%), rgb(187 121 53 / 45%) 32%, transparent 76%),
    radial-gradient(ellipse 15% 34% at 66% 1%, rgb(148 106 65 / 48%), transparent 78%),
    radial-gradient(ellipse 18% 25% at 96% 34%, rgb(73 61 47 / 28%), transparent 76%),
    linear-gradient(112deg, #3c2d20 56%, #1b1713 69%, #080909 88%);
}
/* Reflexo suave de estúdio, inspirado no fundo da lente no template. */
.facet--lente::before {
  content: "";
  position: absolute;
  left: 59%;
  top: -8%;
  width: 15%;
  height: 64%;
  pointer-events: none;
  transform: rotate(-21deg);
  transform-origin: 50% 0;
  background: linear-gradient(90deg, transparent 4%, rgb(187 142 87 / 12%) 23%, rgb(238 218 184 / 45%) 48%, rgb(201 154 93 / 19%) 66%, transparent 96%);
  filter: blur(7px);
  mask-image: linear-gradient(180deg, #000 2%, rgb(0 0 0 / 78%) 40%, transparent 88%);
}
.facet--lente img { left: 65%; top: 2%; width: 39%; height: 49%; object-fit: contain; transform: rotate(-24deg); filter: brightness(1.18); }
.facet--lente::after { background: linear-gradient(180deg, transparent 5%, rgb(0 0 0 / 65%) 54%); }
.facet--sorriso { clip-path: polygon(0 58%, 24.8% 41%, 0 100%); }
.facet--sorriso img { left: -3%; top: 42%; width: 34%; height: 57%; object-position: 32% 25%; }
.facet--sorriso::after { background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 75%) 88%); }
.facet--atendimento { clip-path: polygon(78% 42%, 100% 57%, 100% 100%); }
.facet--atendimento img { left: 73%; top: 39%; width: 31%; height: 61%; object-position: 65% 34%; filter: saturate(.4) sepia(.15); }
.facet--atendimento::after { background: linear-gradient(180deg, transparent 44%, rgb(0 0 0 / 75%) 89%); }

.hero__portrait-frame { position: absolute; z-index: 2; inset: 0; overflow: hidden; clip-path: polygon(42% 0, 62% 0, 100% 100%, 0 100%); background: radial-gradient(ellipse at 48% 24%, rgb(158 118 20 / 14%), var(--black) 77%); }
.hero__portrait { position: absolute; z-index: 4; left: 50%; top: 15px; transform: translateX(-50%); width: 100%; max-width: none; height: auto; }
.hero__lines { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__lines--mobile { display: none; }
.hero__lines use { vector-effect: non-scaling-stroke; }
.hero__line-bloom { stroke: var(--gold-light); stroke-width: 11; opacity: .22; filter: blur(7px); }
.hero__line-halo { stroke: var(--gold-soft); stroke-width: 5; opacity: .65; filter: blur(2.5px); }
.hero__line-core { stroke: var(--white); stroke-width: 2.2; opacity: .88; }
.hero__glint { position: absolute; z-index: 3; width: clamp(44px, 7vw, 90px); aspect-ratio: 1; pointer-events: none; transform: translate(-50%, -50%); background: radial-gradient(ellipse, var(--white) 0%, rgb(255 255 255 / 92%) 2%, rgb(243 192 68 / 72%) 7%, rgb(221 187 105 / 29%) 23%, transparent 68%); mix-blend-mode: screen; }
.hero__glint::before { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 75%; transform: translate(-50%, -50%) rotate(var(--glint-angle)); background: linear-gradient(transparent, var(--white), transparent); filter: blur(.4px); }
.hero__glint--left { left: 24.8%; top: 41%; --glint-angle: 23deg; }
.hero__glint--right { left: 78%; top: 42%; --glint-angle: -21deg; }

.hero__content { position: relative; z-index: 5; width: min(100%, 850px); margin: -72px auto 0; padding: 0 22px; text-align: center; }
.hero__wordmark { display: block; width: min(100%, 340px); height: auto; margin-inline: auto; }
.hero__wordmark img { display: block; width: 100%; height: auto; }
/* Keep the original letterforms; the metal finish is clipped to their alpha. */
@supports (mask-image: url("assets/images/viotto-lettering-original.svg")) or (-webkit-mask-image: url("assets/images/viotto-lettering-original.svg")) {
  .hero__wordmark {
    position: relative;
    overflow: hidden;
    background:
      repeating-linear-gradient(0deg, rgb(255 249 221 / 7%) 0, rgb(255 249 221 / 7%) .5px, transparent .5px, transparent 2px),
      linear-gradient(165deg, #bc9147 0%, #e6c879 24%, #f6e2a4 38%, #d4ae5e 49%, #b89045 57%, #dfbd6d 77%, #efda9a 100%);
    -webkit-mask: url("assets/images/viotto-lettering-original.svg") center / 100% 100% no-repeat;
    mask: url("assets/images/viotto-lettering-original.svg") center / 100% 100% no-repeat;
  }
  .hero__wordmark img { opacity: 0; }
  .hero__wordmark::after {
    content: "";
    position: absolute;
    inset: 0 -55%;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 38%, rgb(255 250 226 / 10%) 44%, rgb(255 250 226 / 46%) 50%, rgb(255 250 226 / 10%) 56%, transparent 62%);
    transform: translateX(-65%);
    opacity: 0;
    animation: wordmark-reflection 12s cubic-bezier(.4, 0, .25, 1) 2s infinite;
  }
}
@keyframes wordmark-reflection {
  0% { transform: translateX(-65%); opacity: 0; }
  5% { opacity: 1; }
  29% { transform: translateX(65%); opacity: 1; }
  34%, 100% { transform: translateX(65%); opacity: 0; }
}
.hero__eyebrow { margin-top: 4px; font-size: 10px; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.hero__eyebrow span { padding: 0 .25em; color: var(--gold-soft); }
.hero__title { margin: 22px 0 0; color: var(--gold-soft); font-family: var(--sans); font-size: clamp(24px, 6.7vw, 38px); font-weight: 600; line-height: 1.12; letter-spacing: .035em; text-transform: uppercase; }
.hero__description { margin-top: 11px; font-size: 15px; font-weight: 400; line-height: 1.5; letter-spacing: .045em; }
.hero__address { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; color: var(--text-muted); font-size: 11px; letter-spacing: .04em; }
.hero__address svg { width: 13px; height: 15px; stroke: var(--gold-soft); stroke-width: 1.35; }
.hero__closing { display: flex; align-items: center; gap: 14px; max-width: 1280px; margin: 27px auto 0; padding: 0 22px; color: var(--gold-soft); opacity: .6; }
.hero__closing span { height: 1px; flex: 1; background: var(--gold-line); }
.hero__closing svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1; }

@media (hover: hover) {
  .button:hover { filter: brightness(1.04); box-shadow: inset 0 1px 0 rgb(255 248 223 / 55%), inset 0 -1px 0 rgb(94 62 19 / 16%), 0 9px 30px rgb(185 140 65 / 17%); }
  .button:hover::after { transform: translateX(75%); }
  .button:hover svg { transform: translateX(2px); }
}
.button:active { transform: translateY(1px) scale(.985); filter: brightness(.97); box-shadow: inset 0 2px 5px rgb(67 43 12 / 18%), 0 2px 8px rgb(185 140 65 / 8%); }

/* Mais área para o sorriso e o atendimento nas telas de celular. */
@media (max-width: 539px) {
  .hero__lines--wide { display: none; }
  .hero__lines--mobile { display: block; }
  .facet--rio { clip-path: polygon(0 0, 42% 0, 30.66% 27%, 0 40%); }
  .facet--rio img { top: -2%; height: 46%; object-position: 100% 100%; }
  .facet--sorriso { clip-path: polygon(0 40%, 30.66% 27%, 0 100%); }
  .facet--sorriso img { left: -9%; top: 26%; width: 44%; height: auto; }
  .facet--lente { --lens-light-x: 75%; --lens-light-y: 32%; clip-path: polygon(62% 0, 100% 0, 100% 40%, 72.64% 28%); }
  .facet--lente img { left: 72%; top: -1%; width: 45%; height: auto; transform: rotate(60deg); }
  .facet--lente::after { background: linear-gradient(180deg, transparent 26%, rgb(0 0 0 / 55%) 48%); }
  .facet--atendimento { clip-path: polygon(72.64% 28%, 100% 40%, 100% 100%); }
  .facet--atendimento img { left: 68%; top: 30%; width: 40%; height: auto; }
  .hero__glint--left { left: 30.66%; top: 27%; }
  .hero__glint--right { left: 72.64%; top: 28%; }
}

@media (min-width: 540px) {
  .site-header__inner { padding-inline: 32px; }
  .hero__visual { height: 540px; }
  .hero__portrait { width: 540px; top: 18px; }
  .hero__content { margin-top: -105px; }
  .hero__eyebrow { font-size: 10px; }
  .hero__description { font-size: 16px; }
  .mobile-break { display: none; }
}

@media (min-width: 768px) {
  .site-header__inner { min-height: 103px; padding: 9px 40px; }
  .brand img { width: 108px; }
  .hero { padding-bottom: 28px; }
  .hero__visual { height: 540px; }
  .hero__portrait { width: 64vw; max-width: 700px; top: 15px; }
  .hero__content { margin-top: -122px; }
  .hero__wordmark { width: 500px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: .3em; }
  .hero__title { margin-top: 20px; font-size: 42px; letter-spacing: .09em; }
  .hero__description { margin-top: 9px; font-size: 16px; letter-spacing: .1em; }
  .hero__address { margin-top: 17px; font-size: 12px; }
  .button--primary { width: 350px; margin-top: 25px; font-size: 12px; gap: 24px; }
  .hero__closing { margin-top: 30px; padding-inline: 40px; }
}

@media (min-width: 1100px) {
  .hero__visual { height: 568px; }
  .hero__content { margin-top: -162px; }
  .hero__wordmark { width: 530px; }
  .facet--rio img { object-position: 50% 44%; }
}

@media (max-width: 359px) {
  .site-header__inner { padding-inline: 16px; }
  .brand img { width: 77px; }
  .hero__content { padding-inline: 18px; margin-top: -68px; }
  .hero__eyebrow { font-size: 9.5px; letter-spacing: .07em; }
  .hero__description { font-size: 14px; }
}

@media (min-width: 768px) and (max-height: 800px) {
  .hero__visual { height: 460px; }
  .hero__portrait { width: min(64vw, 590px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__wordmark::after { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
  .button, .button::after, .button svg { transition: none; }
  .button::after { display: none; }
  .button:active { transform: none; }
}
