/* ============================================
   MG Uniformes Bordados — Stylesheet
   Preto & Branco · Montserrat
   ============================================ */

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --graphite: #2a2a2a;
  --mid: #6b6b6b;
  --line: #e6e6e6;
  --paper: #f5f5f3;
  --white: #ffffff;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

.skip-nav { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-nav:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; padding: 8px 16px; background: var(--white); color: var(--black); font-size: 14px; font-weight: 700; z-index: 10000; outline: 3px solid var(--black); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer-brand__name { font-weight: 700; font-size: 15px; color: var(--white); margin-bottom: 8px; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand__text {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__text small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--mid);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  padding: 6px 0;
  position: relative;
  transition: color .2s var(--ease);
}

.nav a:hover { color: var(--black); }

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--black);
}

.nav-phone {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  padding-left: 24px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: var(--black);
  color: var(--white);
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .nav.open { max-height: 600px; }
  .nav a {
    padding: 18px var(--gutter);
    border-top: 1px solid var(--line);
  }
  .nav a.active::after, .nav a:hover::after { display: none; }
  .nav-phone {
    padding: 18px var(--gutter);
    border: 0;
    border-top: 1px solid var(--line);
    background: var(--black);
    color: var(--white);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--gutter);
  align-items: stretch;
  min-height: clamp(420px, 52vh, 580px);
}

.hero__copy {
  padding: clamp(36px, 5vw, 64px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  display: inline-block;
  border-bottom: 4px solid var(--white);
  padding-bottom: 4px;
}

.hero__lead {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  max-width: 46ch;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__media {
  position: relative;
  background: var(--black);
  border-left: none;
  overflow: hidden;
}

.hero__stats {
  position: absolute;
  left: 32px;
  bottom: 32px;
  right: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  z-index: 2;
}

.hero__stat .num {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
}

.hero__stat .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 8px;
  color: rgba(255,255,255,0.65);
  display: block;
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { min-height: 320px; border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  transition: all .2s var(--ease);
  border-radius: var(--radius);
}

.btn:hover {
  background: var(--white);
  color: var(--black);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--black);
}

.btn--light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--light:hover {
  background: transparent;
  color: var(--white);
}

.btn svg { width: 14px; height: 14px; }

/* ============================================
   SECTIONS
   ============================================ */
section { padding: clamp(48px, 6vw, 88px) 0; }
section.tight { padding: clamp(36px, 4.5vw, 64px) 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.section-head .eyebrow { color: var(--graphite); opacity: 1; }
.section-head .eyebrow::before { background: var(--black); }

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-head p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--mid);
  max-width: 58ch;
  margin-top: 16px;
}

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ============================================
   SEGMENT GRID (produtos / serviços)
   ============================================ */
.segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.segment {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .25s var(--ease);
  position: relative;
}

.segment:hover { background: var(--black); color: var(--white); }
.segment:hover .segment__num { color: rgba(255,255,255,0.4); }
.segment:hover .segment__arrow { transform: translateX(6px); }

.segment--dark { background: var(--black); color: var(--white); }
.segment--dark .segment__num { color: rgba(255,255,255,0.4); }
.segment--dark p { color: rgba(255,255,255,0.7); }
.segment--dark .segment__media { background: #1a1a1a; }

.segment__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--mid);
  transition: color .25s var(--ease);
}

.segment__media {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  margin: 4px 0 12px;
  position: relative;
  overflow: hidden;
}

.segment:hover .segment__media { background: #1a1a1a; }

.segment h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.segment p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
}

.segment:hover p { color: rgba(255,255,255,0.7); }

.segment__arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform .25s var(--ease);
}

.segment__arrow svg { width: 16px; height: 16px; }

@media (max-width: 960px) { .segments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .segments { grid-template-columns: 1fr; } }

/* ============================================
   PLACEHOLDER (sem fotos reais ainda)
   ============================================ */
.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,0.04) 14px 15px),
    var(--paper);
  color: var(--mid);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

.placeholder--dark {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.05) 14px 15px),
    #1a1a1a;
  color: rgba(255,255,255,0.5);
}

.placeholder span { max-width: 70%; line-height: 1.5; }

/* ============================================
   FEATURE / DIFERENCIAIS
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature:last-child { border-right: 0; }

.feature__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon svg { width: 22px; height: 22px; stroke: var(--black); fill: none; stroke-width: 1.6; }

.feature h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.feature p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(1), .feature:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
}

/* ============================================
   PROCESS / ETAPAS
   ============================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  padding-top: 24px;
  border-top: 2px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.step h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.step p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT SPLIT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split__media {
  aspect-ratio: 4 / 5;
  background: var(--paper);
  position: relative;
}

.split__copy h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
  text-wrap: balance;
}

.split__copy p {
  font-size: 16px;
  color: var(--graphite);
  margin-bottom: 18px;
  line-height: 1.7;
  max-width: 56ch;
}

.split__copy .eyebrow { color: var(--graphite); opacity: 1; margin-bottom: 20px; }
.split__copy .eyebrow::before { background: var(--black); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 4 / 3; }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--black);
  color: var(--white);
  padding: clamp(64px, 9vw, 120px) 0;
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gutter);
  align-items: center;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.cta-banner p {
  margin-top: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  max-width: 50ch;
}

.cta-banner__contact {
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: var(--gutter);
}

.cta-banner__contact .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 8px;
}

.cta-banner__contact .phone {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .cta-banner__inner { grid-template-columns: 1fr; }
  .cta-banner__contact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 32px; }
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: clamp(56px, 12vw, 160px) 0 clamp(40px, 9vw, 120px);
  border-bottom: 1px solid #1f1f1f;
}

.page-hero__crumbs {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}

.page-hero__crumbs a { color: rgba(255,255,255,0.7); }
.page-hero__crumbs a:hover { color: var(--white); }

.page-hero h1 {
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}

.page-hero__lead {
  margin-top: 28px;
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 60ch;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.product-grid__media .placeholder {
  aspect-ratio: 4 / 5;
}

.product-grid__copy h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.product-grid__copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 16px;
}

.spec-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  padding-top: 18px;
}

.spec-list dd {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 0 18px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* gallery of product variants */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tile {
  background: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tile__media {
  aspect-ratio: 1 / 1;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.tile__media img { transition: transform 0.45s var(--ease); }

a.tile { text-decoration: none; color: inherit; }
a.tile:hover .tile__media img { transform: scale(1.04); }

.tile h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.tile p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
}

.tile__cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 860px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }

/* ============================================
   LEGAL PAGE
   ============================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}

.legal h2:first-of-type { margin-top: 0; }

.legal p, .legal li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--graphite);
  margin-bottom: 14px;
}

.legal ul { padding-left: 22px; margin-bottom: 14px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.footer-brand h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 36ch;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color .2s var(--ease);
}

.footer-col a:hover { color: var(--white); }

.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 8px; }

.footer-col .phone-large {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-top: 4px;
  display: block;
}

.site-footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__bottom a { color: rgba(255,255,255,0.7); }
.site-footer__bottom a:hover { color: var(--white); }

@media (max-width: 860px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .site-footer .container { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
}

.faq__intro h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.faq__intro p {
  font-size: 15px;
  color: var(--mid);
  margin-top: 20px;
  line-height: 1.6;
}

.faq__intro .eyebrow {
  color: var(--graphite);
  opacity: 1;
  margin-bottom: 24px;
}
.faq__intro .eyebrow::before { background: var(--black); }

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding: 26px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color .2s var(--ease);
}

.faq__q:hover { color: var(--black); }

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
}

.faq__icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: transform .25s var(--ease);
}

.faq__item[open] .faq__icon {
  background: var(--black);
  color: var(--white);
}

.faq__item[open] .faq__icon svg {
  transform: rotate(45deg);
}

.faq__a {
  font-size: 15px;
  line-height: 1.7;
  color: var(--graphite);
  padding: 0 80px 28px 0;
  max-width: 64ch;
}

@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq__a { padding-right: 48px; }
}

/* ============================================
   WORK / GALLERY EDITORIAL
   ============================================ */
.work {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}

.work__tile {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

/* Editorial asymmetric layout */
.work__tile:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.work__tile:nth-child(2) { grid-column: span 2; }
.work__tile:nth-child(3) { grid-column: span 2; }
.work__tile:nth-child(4) { grid-column: span 2; }
.work__tile:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.work__tile:nth-child(6) { grid-column: span 2; }

.work__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink);
  padding: 6px 10px;
  z-index: 2;
}

@media (max-width: 860px) {
  .work { grid-template-columns: repeat(2, 1fr); }
  .work__tile:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .work__tile:nth-child(1) { grid-column: span 2; }
}

/* ============================================
   MOSAIC PHOTO GRID
   ============================================ */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mosaic__item {
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--paper);
}
.mosaic__item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.45s var(--ease);
}
.mosaic__item:hover img { transform: scale(1.04); }
/* Feature: 2 colunas × 2 linhas */
.mosaic__item--feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}
/* Wide: 2 colunas × 1 linha */
.mosaic__item--wide {
  grid-column: span 2;
  aspect-ratio: 8/5;
}
/* Full: faixa de rodapé, ocupa todas as 4 colunas */
.mosaic__item--full {
  grid-column: span 4;
  aspect-ratio: 21/9;
}
@media (max-width: 768px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .mosaic__item--feature { grid-column: span 2; grid-row: span 1; aspect-ratio: 4/5; }
  .mosaic__item--wide { grid-column: span 2; aspect-ratio: 4/3; }
  .mosaic__item--full { grid-column: span 2; aspect-ratio: 4/3; }
}

/* ============================================
   FEATURED PRODUCT (Mustang)
   ============================================ */
.featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.featured__media {
  position: relative;
  background: var(--paper);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: opacity .35s var(--ease);
}

.featured__media .tag {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 8px 12px;
  z-index: 2;
}

.featured__view-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  z-index: 2;
}

.view-btn {
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--mid);
  transition: all .2s var(--ease);
}

.view-btn.is-active {
  background: var(--black);
  color: var(--white);
}

.view-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.featured__caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  z-index: 2;
}

.featured__copy .eyebrow {
  color: var(--graphite);
  opacity: 1;
  margin-bottom: 24px;
}
.featured__copy .eyebrow::before { background: var(--black); }

.featured__copy h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
  margin-bottom: 24px;
}

.featured__copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 16px;
  max-width: 54ch;
}

.featured__swatches {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.featured__swatches-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}

.swatches {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 4px;
}

.swatch__chip {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  transition: all .2s var(--ease);
  position: relative;
}

.swatch:hover .swatch__chip {
  transform: scale(1.06);
}

.swatch.is-active .swatch__chip {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--white) inset;
}

.swatch__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}

.swatch.is-active .swatch__label { color: var(--black); }

@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
}

/* ============================================
   VIDEO SHOWCASE — horizontal em cima + shorts verticais abaixo
   (usado em index.html via .video-grid e nas sub-páginas via .vid-mosaic)
   ============================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-grid .video-tile:nth-child(1) {
  grid-column: span 3;
}
.video-grid .video-tile:nth-child(1) .video-iframe {
  aspect-ratio: 16/9;
  height: auto;
}

.video-tile {
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.video-iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 9/16;
  border: 0;
  display: block;
}

.video-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,0.85);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 10px;
  z-index: 2;
}

@media (max-width: 860px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
  .video-grid .video-tile:nth-child(1) {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .video-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .video-grid .video-tile:nth-child(1) { grid-column: span 2; }
}

/* hero overlay para fotos reais */
.hero__media-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.55) 100%);
}

.page-hero-photo {
  position: relative;
  overflow: hidden;
}
.page-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}
.page-hero-photo > .container { position: relative; z-index: 1; }

/* ============================================
   VIDEO SHOWCASE — páginas de segmento
   3 Shorts em grid editorial fundo escuro
   ============================================ */
.vid-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(48px, 10vw, 140px) 0;
}

.vid-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: clamp(40px, 6vw, 64px);
}

.vid-section__head h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 16px;
  color: var(--white);
  text-wrap: balance;
}

.vid-section__head p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  max-width: 48ch;
  line-height: 1.65;
  align-self: flex-end;
}

.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vid-item { position: relative; }

.vid-item__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,0.82);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 10px;
  z-index: 2;
}

.vid-item__frame {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 */
  height: 0;
  overflow: hidden;
  background: #111;
}

.vid-item__frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .vid-grid { grid-template-columns: repeat(2, 1fr); }
  .vid-grid .vid-item:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .vid-grid { grid-template-columns: 1fr; }
  .vid-grid .vid-item:nth-child(2),
  .vid-grid .vid-item:nth-child(3) { display: none; }
  .vid-section__head { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   UTIL
   ============================================ */
.muted { color: var(--mid); }
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.reveal { animation: fadeUp .8s var(--ease) both; }

/* ============================================
   ANIMATIONS — KEYFRAMES
   ============================================ */

@keyframes mg-fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

@keyframes mg-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes mg-slideRight {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: none; }
}

@keyframes mg-slideLeft {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================
   ANIMATIONS — HERO LOAD (index)
   ============================================ */

.hero__copy .eyebrow {
  animation: mg-slideRight .55s cubic-bezier(.22,1,.36,1) .08s both;
}
.hero__copy h1 {
  animation: mg-fadeUp .7s cubic-bezier(.22,1,.36,1) .2s both;
}
.hero__copy p:not(.eyebrow) {
  animation: mg-fadeUp .65s cubic-bezier(.22,1,.36,1) .34s both;
}
.hero__copy .hero__cta {
  animation: mg-fadeUp .55s cubic-bezier(.22,1,.36,1) .48s both;
}
.hero__media {
  animation: mg-slideLeft .8s cubic-bezier(.22,1,.36,1) .14s both;
}
.hero__stat:nth-child(1) { animation: mg-fadeUp .5s cubic-bezier(.22,1,.36,1) .52s both; }
.hero__stat:nth-child(2) { animation: mg-fadeUp .5s cubic-bezier(.22,1,.36,1) .64s both; }
.hero__stat:nth-child(3) { animation: mg-fadeUp .5s cubic-bezier(.22,1,.36,1) .76s both; }

/* ============================================
   ANIMATIONS — PAGE HERO LOAD (sub-páginas)
   ============================================ */

.page-hero .page-hero__crumbs {
  animation: mg-fadeUp .45s cubic-bezier(.22,1,.36,1) .05s both;
}
.page-hero .eyebrow {
  animation: mg-slideRight .5s cubic-bezier(.22,1,.36,1) .15s both;
}
.page-hero h1 {
  animation: mg-fadeUp .65s cubic-bezier(.22,1,.36,1) .28s both;
}
.page-hero .page-hero__lead {
  animation: mg-fadeUp .6s cubic-bezier(.22,1,.36,1) .42s both;
}

/* ============================================
   ANIMATIONS — SCROLL-REVEAL (.sr → .visible)
   ============================================ */

.sr {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity  .65s cubic-bezier(.22,1,.36,1),
    transform .65s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.sr.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   ANIMATIONS — TILE HOVER LIFT
   ============================================ */

.tile {
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease;
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,.1);
}

/* ============================================
   ANIMATIONS — HEADER SCROLL BEHAVIOUR
   ============================================ */

.site-header {
  transition: background .3s ease, box-shadow .3s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
.site-header.header--scrolled {
  box-shadow: 0 1px 0 var(--line);
}
.site-header.header--hidden {
  transform: translateY(-100%);
}

/* ============================================
   ANIMATIONS — BTN HOVER LIFT
   ============================================ */

.btn--primary:hover,
.btn--ghost:hover {
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS — NAV UNDERLINE SMOOTH
   ============================================ */

.nav a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width .3s cubic-bezier(.22,1,.36,1);
}
.nav a:hover::before { width: 100%; }

/* ============================================
   ANIMATIONS — SEGMENT CARD HOVER
   ============================================ */

.segment__item {
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.segment__item:hover {
  transform: translateY(-4px);
}

/* ============================================
   ANIMATIONS — VID-ITEM HOVER GLOW
   ============================================ */

.vid-item__frame {
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.vid-item:hover .vid-item__frame {
  transform: scale(1.015);
}

/* Smooth scroll global */
html { scroll-behavior: smooth; }

/* ============================================
   VID-MOSAIC — 1 horizontal em cima + shorts verticais embaixo
   ============================================ */
.vid-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.vid-mosaic .video-tile:first-child {
  grid-column: span 3;
}
.vid-mosaic .video-tile:first-child .video-iframe {
  aspect-ratio: 16/9;
  height: auto;
}
@media (max-width: 860px) {
  .vid-mosaic {
    grid-template-columns: 1fr 1fr;
  }
  .vid-mosaic .video-tile:first-child {
    grid-column: span 2;
  }
}
@media (max-width: 520px) {
  .vid-mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .vid-mosaic .video-tile:first-child {
    grid-column: span 2;
  }
}

/* ============================================
   MOBILE UX — ajustes responsivos
   ============================================ */

/* Link ativo visível no menu mobile */
@media (max-width: 960px) {
  .nav a.active {
    font-weight: 800;
    color: var(--black);
    background: var(--paper);
  }
}

/* Swatches: área de toque mínima 44px */
@media (max-width: 860px) {
  .swatch {
    min-height: 44px;
    justify-content: center;
    padding: 6px 10px;
  }
}

/* Tile media: 4:3 em vez de 1:1 no mobile — economiza rolagem */
@media (max-width: 520px) {
  .tile__media {
    aspect-ratio: 4 / 3;
  }
}

/* Botões CTA no hero: largura total em telas pequenas */
@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__ctas .btn {
    justify-content: center;
    text-align: center;
  }
}

/* Hero stats: fonte menor em telas muito pequenas */
@media (max-width: 480px) {
  .hero__stats {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }
  .hero__stat .num {
    font-size: clamp(20px, 5.5vw, 28px);
  }
  .hero__stat .label {
    font-size: 9px;
    letter-spacing: 0.16em;
  }
}

/* Padding interno menor em cards pequenos */
@media (max-width: 480px) {
  .feature { padding: 28px 20px; }
  .segment { padding: 32px 20px; }
}

/* FAQ: padding-right desnecessário em tela estreita */
@media (max-width: 480px) {
  .faq__a { padding-right: 16px; }
  .faq__q { font-size: 15px; }
}

/* Cookie banner: padding lateral reduzido */
@media (max-width: 520px) {
  #cookieBanner { padding: 16px 20px !important; }
}

/* Fonte do h1 nas sub-páginas em telas muito pequenas */
@media (max-width: 380px) {
  .page-hero h1 { font-size: 34px; letter-spacing: -0.025em; }
  .hero h1 { font-size: 34px; }
}
