/* Reference composition, original Futora colours, content and assets.
   Separate presentation layer: no changes to shop, API or email workflows. */
:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', var(--font);
}
body { font-family: var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--dark); }

/* A translucent navigation rail, rather than an opaque toolbar. */
#header {
  padding: 18px 4%;
  background: linear-gradient(to bottom, rgba(235,235,237,.95), rgba(235,235,237,.6));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0;
  box-shadow: none;
}
#header.scrolled { background: rgba(235,235,237,.92); box-shadow: 0 1px 0 var(--border); }
#header .header-inner {
  max-width: 1280px; height: 64px; gap: 24px;
  display: grid; grid-template-columns: 220px 1fr auto;
}
#header #nav-main { justify-content: center; gap: 8px; }
#header #nav-main a { font-size: 12px; font-weight: 500; letter-spacing: -.015em; }
#header .header-cta .btn { min-height: 44px; padding: 12px 20px; font-size: 12px; border-radius: 6px; }

/* Oversized editorial type above the existing photographic objects.
   No unrelated stock video or fake AI search input. */
#hero {
  background: var(--bg2); padding: 130px 0 48px;
  min-height: 0; display: block;
}
#hero .hero-bg { background: var(--bg2); }
#hero .hero-grid, #hero .hero-orb { display: none; }
#hero .hero-viewport { max-width: 1280px; }
#hero .hero-track { transition: transform 550ms var(--ease-in-out); }
#hero .hero-slide-flex {
  flex: 0 0 100%; min-width: 100%;
  position: relative; display: block;
  padding: 0 7%; min-height: 590px;
  text-align: left;
}
#hero .hero-content { position: relative; z-index: 2; display: block; }
#hero .hero-badge {
  color: var(--dark2); font-size: 10px; font-weight: 500;
  letter-spacing: .14em; margin-bottom: 28px;
  background: none; border: 0; padding: 0;
}
#hero .hero-badge .dot { background: var(--gold); }
#hero .hero-title {
  max-width: 1060px; color: var(--dark);
  font-family: var(--font-display); font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 500; line-height: 1.04; letter-spacing: -.055em;
  margin: 0 0 26px; text-wrap: balance;
}
#hero .hero-title .accent { color: var(--gold-dark); display: inline; }
#hero .hero-title .accent::after { display: none; }
#hero .hero-sub {
  max-width: 58%; margin: 0 0 25px;
  color: var(--muted); font-size: 15px; line-height: 1.75;
}
#hero .hero-btns {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  gap: 5px; padding: 5px; margin: 0 0 38px;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 2px 4px rgba(26,26,26,.025);
}
#hero .hero-btns .btn {
  padding: 14px 20px; font-size: 13px; min-height: 48px; border-radius: 5px;
  box-shadow: none; font-weight: 500;
}
#hero .hero-btns .btn-white { background: var(--white); color: var(--dark); }
#hero .hero-btns .btn-gold { background: var(--gold); color: var(--dark); }
#hero .hero-btns i { font-size: 14px; }
#hero .hero-features {
  max-width: 46%; gap: 10px; margin-top: 12px;
  padding-top: 24px; border-top: 1px solid rgba(26,26,26,.14);
}
#hero .hero-feature { color: var(--muted); font-size: 11px; line-height: 1.65; font-weight: 400; }
#hero .hero-feature .icon {
  background: none; border: 0; border-radius: 0;
  color: var(--gold-dark); width: 18px; height: 18px;
}
#hero .hero-visual {
  position: absolute; right: 4%; bottom: 0;
  width: 43%; height: 310px; z-index: 1;
  order: initial; transform: none; max-height: none; margin: 0;
}
#hero .hero-cutout { width: 100%; height: 100%; object-fit: contain; }
#hero .hero-printer-sequence {
  width: 100%; max-width: 540px; height: 100%; aspect-ratio: auto;
  filter: none;
}
#hero .hero-nav {
  bottom: 25px; left: 7%; right: 7%; padding: 0;
  gap: 8px; justify-content: flex-start;
}
#hero .hero-nav-item {
  flex: 0 0 32px; width: 32px; height: 32px;
  background: none; border: 0; border-radius: 50%;
  position: relative; box-shadow: none; transform: none;
}
#hero .hero-nav-item::before {
  content: ''; position: absolute; width: 6px; height: 6px;
  left: 13px; top: 13px; background: var(--muted); border-radius: 50%;
}
#hero .hero-nav-item.active::before { background: var(--gold-dark); box-shadow: 0 0 0 3px rgba(0,184,156,.12); }
#hero .hero-nav-item:focus-visible, #header a:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 4px; }

/* Continue the same spacious, typographic language throughout the landing. */
#colecao-momentos { background: var(--bg2); padding: 90px 5%; border-top: 1px solid rgba(26,26,26,.1); }
#colecao-momentos .mom-wrap { max-width: 1100px; }
#colecao-momentos .mom-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px); line-height: 1.1; letter-spacing: -.045em;
}
#colecao-momentos .mom-title em { font-family: inherit; font-style: normal; color: var(--gold-dark); }
#colecao-momentos .mom-card { border-radius: 6px; box-shadow: none; border-color: var(--border); }
#colecao-momentos .mom-card-name { font-family: var(--font-display); font-weight: 500; letter-spacing: -.025em; }
#colecao-momentos .mom-card-cta { border-radius: 5px; box-shadow: none; }
#como-funciona, #diferenciais, #faq { background: var(--bg2); padding-top: 90px; padding-bottom: 90px; }
#como-funciona .container, #diferenciais .container, #faq .container { max-width: 1100px; }
#como-funciona .section-title, #diferenciais .section-title, #faq .section-title, #promo .promo-title, #cta .cta-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 4vw, 56px); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance;
}
#como-funciona .steps-grid { gap: 24px; }
#como-funciona .steps-grid::before, #como-funciona .step-ring { display: none; }
#como-funciona .step-card {
  background: none; border: 0; border-top: 1px solid rgba(26,26,26,.2);
  border-radius: 0; box-shadow: none; padding: 24px 0; text-align: left;
}
#como-funciona .step-num-wrap { margin: 0 0 24px; width: auto; height: auto; justify-content: flex-start; }
#como-funciona .step-num { background: none; color: var(--gold-dark); border: 0; border-radius: 0; width: auto; height: auto; font-size: 14px; box-shadow: none; justify-content: flex-start; }
#como-funciona .step-icon { font-size: 22px; margin-bottom: 18px; }
#como-funciona .step-title, #diferenciais .dif-title { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
#diferenciais .dif-card {
  text-align: left; align-items: flex-start; background: none; border: 0; border-radius: 0;
  border-top: 1px solid rgba(26,26,26,.2); padding: 26px 0; box-shadow: none;
}
#diferenciais .dif-icon { margin-left: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
#diferenciais .dif-card:hover .dif-icon { background: none; border: 0; }
#faq .faq-item { border: 0; border-bottom: 1px solid rgba(26,26,26,.18); background: none; border-radius: 0; box-shadow: none; }
#faq .faq-item summary { border-radius: 0; font-weight: 500; background: none; }
#promo .promo-card { border-radius: 6px; box-shadow: none; }
#cta::before { display: none; }
#cta .cta-inner { max-width: 1000px; }

@media (hover: hover) and (pointer: fine) {
  #hero .hero-btns .btn-gold:hover { background: var(--gold-dark); color: var(--white); }
  #colecao-momentos .mom-card:hover { transform: translateY(-2px); box-shadow: none; }
}
#como-funciona .step-card:hover, #diferenciais .dif-card:hover { transform: none; box-shadow: none; }
@keyframes futora-hero-enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
#hero .hero-slide-flex:first-child .hero-title { animation: futora-hero-enter 700ms var(--ease-out) both; }
#hero .hero-slide-flex:first-child .hero-sub { animation: futora-hero-enter 700ms 80ms var(--ease-out) both; }
#hero .hero-slide-flex:first-child .hero-btns { animation: futora-hero-enter 700ms 150ms var(--ease-out) both; }

@media (max-width: 1100px) and (min-width: 901px) {
  #header .header-inner { grid-template-columns: 180px 1fr auto; gap: 10px; }
  #header #nav-main { gap: 0; }
  #header .logo-animated { width: 180px; }
}
@media (max-width: 900px) {
  #header { padding: 8px 5%; }
  #header .header-inner { height: 64px; grid-template-columns: 1fr auto; }
  #header #nav-main, #header .header-cta { display: none; }
  #header .hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  #mobile-menu {
    top: 80px; bottom: auto; max-height: calc(100svh - 80px);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    background: rgba(235,235,237,.97); backdrop-filter: blur(10px);
    transition: transform 240ms var(--ease-out), opacity 180ms ease, visibility 240ms;
  }
  #mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  #hero { padding-top: 110px; min-height: auto; }
  #hero .hero-slide-flex { padding: 0 6%; min-height: 640px; }
  #hero .hero-title { font-size: clamp(40px, 6.5vw, 58px); }
  #hero .hero-visual { width: 44%; height: 270px; }
  #hero .hero-features { max-width: 42%; margin-top: 28px; }
}
@media (max-width: 600px) {
  #hero { padding: 110px 0 45px; }
  #hero .hero-slide-flex { min-height: 790px; }
  #hero .hero-badge { font-size: 9px; letter-spacing: .1em; margin-bottom: 24px; }
  #hero .hero-title { font-size: clamp(36px, 9vw, 48px); max-width: 100%; margin-bottom: 24px; }
  #hero .hero-sub { font-size: 13px; line-height: 1.75; max-width: 100%; }
  #hero .hero-btns { gap: 0; margin-bottom: 20px; }
  #hero .hero-btns .btn { padding: 13px 12px; font-size: 11px; }
  #hero .hero-features { max-width: 100%; margin-top: 12px; }
  #hero .hero-visual { bottom: 0; right: 6%; width: 88%; height: 245px; }
  #hero .hero-printer-sequence { max-width: 100%; }
  #hero .hero-nav { bottom: 14px; left: 6%; }
  #colecao-momentos, #como-funciona, #diferenciais, #faq { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 360px) { #hero .hero-slide-flex { min-height: 850px; } }

/* Reframe original photographs in HTML: preserve all pixels and QR codes.
   The dark montage/grid is no longer the background of the portfolio. */
#colecao-momentos .portfolio-pair, #colecao-momentos .portfolio-objects {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; background: var(--white); flex: none; min-height: 0; align-items: start;
}
.portfolio-photo { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--white); border-radius: 4px; }
.portfolio-photo .portfolio-crop { width: 100%; flex: none; }
.portfolio-photo .crop-result, .portfolio-photo .crop-barber { width: 75%; }
.portfolio-photo .crop-menu { width: 56.507%; }
.portfolio-crop { position: relative; overflow: hidden; border-radius: 4px; background: var(--white); }
#colecao-momentos .portfolio-crop img {
  position: absolute; max-width: none; height: auto; object-fit: initial;
  transform: none; transition: none;
}
#colecao-momentos .mom-card:hover .portfolio-crop img { transform: none; }
.portfolio-pair figcaption { font-size: 10px; color: var(--muted); padding-top: 10px; }
.crop-request { aspect-ratio: 800 / 600; }
#colecao-momentos .crop-request img { width: 200%; left: -9.5%; top: -37.5%; }
.crop-result { aspect-ratio: 570 / 570; }
#colecao-momentos .crop-result img { width: 280.702%; left: -170.175%; top: -41.754%; }
.crop-qr, .crop-nfc { aspect-ratio: 587 / 438; }
#colecao-momentos .crop-qr img { width: 272.572%; left: -21.465%; top: -17.58%; }
#colecao-momentos .crop-nfc img { width: 272.572%; left: -150.937%; top: -17.58%; }
.crop-menu { aspect-ratio: 330 / 438; }
#colecao-momentos .crop-menu img { width: 484.848%; left: -77.273%; top: -133.79%; }
.crop-barber { aspect-ratio: 440 / 440; }
#colecao-momentos .crop-barber img { width: 363.636%; left: -218.182%; top: -133.182%; }

/* Scroll-driven, not autoplay: the stage stays in view while printing grows. */
#impressao-scroll { height: 260svh; position: relative; background: var(--bg2); }
.print-scroll-sticky {
  position: sticky; top: 80px; height: calc(100svh - 80px);
  min-height: 0; width: 100%; margin: auto; padding: 0;
  overflow: hidden; isolation: isolate;
}
.print-scroll-heading { position: absolute; left: 7%; top: 12%; max-width: 36%; text-align: left; z-index: 2; pointer-events: none; }
.print-scroll-heading h2 { font: 500 clamp(32px, 4.5vw, 60px)/1.05 var(--font-display); letter-spacing: -.045em; margin: 12px 0; }
.print-scroll-heading h2 span { color: var(--gold-dark); }
.print-scroll-heading p { color: var(--muted); font-size: 12px; }
.print-scroll-visual { position: absolute; inset: 0 0 55px; }
.print-scroll-visual canvas, .print-scroll-fallback { width: 100%; height: 100%; display: block; object-fit: contain; }
.print-scroll-visual canvas { position: absolute; inset: 0; opacity: 0; background: transparent; mix-blend-mode: multiply; }
.print-scroll-ready canvas { opacity: 1; }
.print-scroll-ready .print-scroll-fallback { visibility: hidden; }
.print-scroll-caption { position: absolute; bottom: 27px; left: 7%; right: 7%; display: flex; justify-content: space-between; gap: 20px; color: var(--dark2); font-size: 12px; font-variant-numeric: tabular-nums; }
.print-scroll-progress { position: absolute; bottom: 16px; left: 7%; right: 7%; height: 2px; background: rgba(26,26,26,.12); overflow: hidden; }
.print-scroll-progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (max-width: 600px) {
  #impressao-scroll { height: 230svh; }
  .print-scroll-heading { left: 5%; right: 5%; top: 4%; max-width: none; text-align: center; }
  .print-scroll-heading h2 { font-size: 30px; }
  .print-scroll-heading p { font-size: 11px; }
  .print-scroll-visual { top: 80px; }
  #colecao-momentos .portfolio-pair, #colecao-momentos .portfolio-objects { padding: 6px; gap: 6px; }
}

/* Compact split hero: copy left, real imagery right. */
#hero { padding: 115px 0 42px; }
#hero .hero-slide-flex {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 36px; min-height: 440px; padding: 0 6%;
}
#hero .hero-title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.07; margin-bottom: 18px; }
#hero .hero-badge { margin-bottom: 18px; font-size: 9px; }
#hero .hero-sub { max-width: 100%; font-size: 13px; line-height: 1.65; margin-bottom: 18px; }
#hero .hero-btns { margin-bottom: 10px; }
#hero .hero-btns .btn { min-height: 44px; padding: 12px 14px; font-size: 12px; }
#hero .hero-features { max-width: 100%; padding-top: 16px; margin-top: 10px; gap: 7px; }
#hero .hero-visual { position: relative; right: auto; bottom: auto; width: 100%; height: 380px; }
@media (max-width: 900px) {
  #hero { padding-top: 100px; }
  #hero .hero-slide-flex { min-height: 440px; gap: 24px; }
  #hero .hero-title { font-size: 34px; }
  #hero .hero-visual { height: 320px; }
}
@media (max-width: 600px) {
  #hero { padding-top: 100px; }
  #hero .hero-slide-flex { grid-template-columns: 1fr; min-height: 0; gap: 16px; align-content: start; }
  #hero .hero-title { font-size: 32px; }
  #hero .hero-visual { height: 210px; }
  #hero .hero-sub { font-size: 12px; }
  #hero .hero-feature { font-size: 10px; }
  #hero .hero-nav { bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #impressao-scroll { height: auto; }
  .print-scroll-sticky { position: relative; top: 0; height: 720px; }
  .print-scroll-heading { top: 24px; left: 5%; right: 5%; max-width: none; text-align: center; }
  .print-scroll-visual { top: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  #hero .hero-track, #mobile-menu { transition: none; }
  #hero .hero-slide-flex:first-child .hero-title,
  #hero .hero-slide-flex:first-child .hero-sub,
  #hero .hero-slide-flex:first-child .hero-btns { animation: none; }
}
