:root {
  color-scheme: dark;
  --charcoal: #1a1a1a;
  --black: #101010;
  --surface: #222;
  --line: #3c3c3c;
  --white: #fff;
  --muted: #ccc;
  --orange: #f2892d;
  --orange-hover: #ff9d42;
  --gutter: clamp(18px, 5vw, 76px);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--white);
  background: var(--charcoal);
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
body { line-height: 1.6; }
a { color: inherit; }
button { font: inherit; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange-hover); outline-offset: 5px; }
[id] { scroll-margin-top: 24px; }

.wrap {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1440px;
  margin-inline: auto;
}

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

.site-header { background: var(--charcoal); position: relative; z-index: 2; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 70px;
}
.brand { display: block; width: min(180px, 100%); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.main-nav a {
  position: relative;
  padding-block: 10px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .04em;
  font-size: .8rem;
  font-weight: 500;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 4px;
  border-bottom: 2px solid var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.main-nav a:is(:hover, [aria-current="page"])::after { transform: scaleX(1); }
.languages { display: flex; justify-self: end; align-items: center; gap: 8px; }
.languages > * { display: grid; place-items: center; min-width: 28px; min-height: 32px; }
.languages img { width: 22px; border-radius: 2px; }
.languages [aria-current] img { outline: 1px solid var(--orange); outline-offset: 2px; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: currentColor; }
.menu-toggle span + span { margin-top: 5px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(430px, 48vw, 620px);
  background: var(--black);
  overflow: hidden;
}
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 50% 51%; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, rgba(16,16,16,.96), rgba(16,16,16,.82) 43%, rgba(16,16,16,.40) 78%, rgba(16,16,16,.24));
}
.hero-copy { padding-block: clamp(58px, 7vw, 104px); }
.hero h1 {
  font-size: clamp(2.15rem, 6.2vw, 6.15rem);
  font-weight: 800;
  line-height: 1.045;
  letter-spacing: -.055em;
}
.hero h1 span { color: var(--orange); }
.hero-line {
  margin-top: clamp(18px, 3vw, 31px);
  font-weight: 650;
  font-size: clamp(1.1rem, 2.1vw, 1.65rem);
  line-height: 1.35;
}
.hero-intro { color: var(--muted); max-width: 53ch; margin-top: 10px; font-size: clamp(.96rem, 1.4vw, 1.1rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 22px;
  min-height: 48px;
  border: 1px solid var(--orange);
  border-radius: 5px;
  background: var(--orange);
  color: var(--charcoal);
  font-size: .94rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.button:hover { background: var(--orange-hover); }
.button-outline { background: transparent; color: var(--orange); }
.button-outline:hover { color: var(--charcoal); }
.hero-link { font-size: .95rem; font-weight: 650; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.hero-link:hover { color: var(--orange-hover); }

.portfolio { padding-block: clamp(36px, 5vw, 72px) clamp(54px, 8vw, 108px); }
.reel-caption, .section-heading { margin-bottom: 24px; }
.reel-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px 30px;
  flex-wrap: wrap;
}
.reel-caption h2, .section-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
}
.reel-caption h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
.reel-caption p, .section-heading p { max-width: 56ch; color: var(--muted); }
.reel-caption p { max-width: 48ch; font-size: .93rem; }
.section-heading p { margin-top: 11px; }
.reel-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1536 / 644;
  background: #070707;
  border-radius: 7px;
}
.reel-screen video { width: 100%; height: 100%; object-fit: contain; }
.reel-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 51px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 30px;
  background: #161616ee;
  color: var(--white);
  cursor: pointer;
  font-size: .92rem;
  font-weight: 700;
  box-shadow: 0 2px 20px #0005;
  transition: background-color 160ms ease, color 160ms ease;
}
.reel-play svg { color: var(--orange); flex-shrink: 0; }
.reel-play:hover { background: var(--orange); color: var(--charcoal); }
.reel-play:hover svg { color: inherit; }
.reel-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3px 20px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
.reel-error { margin-top: 8px; color: var(--muted); }
#produtos { margin-top: clamp(42px, 6vw, 76px); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(15px, 2vw, 27px);
}
.product-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 160ms ease;
}
.product-card:nth-last-child(-n+2) { grid-column: span 3; }
.product-card:hover { border-color: var(--orange); }
.card-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--black); }
.product-card:nth-last-child(-n+2) .card-image { aspect-ratio: 21 / 9; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-image-portrait img { object-position: 50% 38%; }
.image-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #101010eb;
  color: var(--white);
  font-size: .73rem;
}
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(15px, 2vw, 25px); }
.card-category { color: var(--orange); font-weight: 650; font-size: .83rem; }
.card-copy h3 { font-size: clamp(1.35rem, 2.15vw, 1.95rem); line-height: 1.17; letter-spacing: -.036em; margin-block: 4px 10px; }
.card-copy p:not(.card-category) { color: var(--muted); font-size: .94rem; max-width: 49ch; }
.card-action {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 18px;
  margin-top: auto;
  font-size: .85rem;
  font-weight: 700;
}
.card-action span, .product-card:hover .card-action { color: var(--orange); }

.method, .about, .contact { padding-block: clamp(42px, 7vw, 88px); border-top: 1px solid var(--line); }
.method { background: #202020; }
.method h2, .about h2 { color: var(--orange); }
.method-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 28px 0 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--charcoal); font-weight: 800; }
.method-steps h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.35; }
.method-steps p { color: var(--muted); margin-top: 8px; max-width: 51ch; font-size: .95rem; }
.about-inner, .contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.about-inner .section-heading, .contact-inner .section-heading { margin-bottom: 0; }
.contact { background: #252525; }
.site-footer { background: var(--black); color: var(--muted); font-size: .87rem; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; padding-block: 38px; }
.footer-brand { margin-bottom: 16px; }
.site-footer h2 { margin-bottom: 8px; color: var(--white); font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer address { font-style: normal; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange-hover); text-decoration: underline; }
.social-links { display: flex; align-items: center; gap: 13px; }
.social-links a { display: grid; place-items: center; min-height: 32px; }
.social-links img { width: 24px; height: 24px; object-fit: contain; }
.footer-bottom { display: flex; gap: 8px 30px; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 16px; font-size: .77rem; }

@media (max-width: 880px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 12px; }
  .menu-toggle:not([hidden]) { display: block; }
  .main-nav {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 6px 20px;
    grid-row: 2;
    grid-column: 1 / -1;
    padding-bottom: 14px;
  }
  .header-inner:has(.menu-toggle:not([hidden])) .main-nav {
    position: absolute;
    inset: 100% 0 auto;
    padding: 13px var(--gutter) 19px;
    background: #262626;
    border-top: 1px solid var(--line);
  }
  .header-inner:has(.menu-toggle:not([hidden])[aria-expanded="false"]) .main-nav { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card, .product-card:nth-last-child(-n+2) { grid-column: span 1; }
  .product-card:nth-last-child(-n+2) .card-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 540px) {
  .header-inner { min-height: 62px; gap: 9px; }
  .brand { width: min(140px, 100%); }
  .languages { gap: 3px; }
  .languages img { width: 19px; }
  .hero { min-height: 0; }
  .hero-image { object-position: 56% center; }
  .hero::after { background: linear-gradient(90deg, #101010ed, #101010a8); }
  .hero-copy { padding-block: 50px 55px; }
  .hero h1 { font-size: clamp(2rem, 7.3vw, 2.65rem); letter-spacing: -.045em; }
  .actions { column-gap: 18px; }
  .reel-caption, .section-heading { margin-bottom: 17px; }
  .reel-caption p { font-size: .88rem; }
  .reel-play { min-height: 44px; padding-inline: 13px; font-size: .82rem; }
  .product-grid, .method-steps, .footer-main { grid-template-columns: 1fr; }
  .footer-main { gap: 22px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: clamp(1.7rem, 8.4vw, 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Comparação da abertura com o filme em movimento. */
.hero--motion::after {
  background: linear-gradient(90deg, #101010f0, #101010d1 33%, #101010b3 61%, #10101035 100%);
}
.hero--motion .hero-image { object-position: center; pointer-events: none; }
.hero-motion-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 13px;
  padding: 6px 11px;
  min-height: 38px;
  border: 1px solid #ffffff70;
  border-radius: 5px;
  color: var(--white);
  background: #101010c7;
  font-size: .78rem;
  font-weight: 650;
  cursor: pointer;
}
.hero-motion-toggle:hover { border-color: var(--orange); }
@media (max-width: 540px) {
  .hero--motion::after { background: linear-gradient(90deg, #101010dd, #101010b8); }
}
