/* =========================================================
   SK Uniformes — Uniformes Corporativos Premium
   Design tokens
   ========================================================= */
:root{
  /* Navy scale */
  --navy-900: #050B1C;
  --navy-800: #011128;
  --navy-700: #0B2C4E;
  --navy-600: #14406B;
  --navy-500: #1F5586;
  --navy-300: #8DA2B9;
  --navy-100: #E2E8EF;

  /* Orange scale */
  --orange-700: #B84D0B;
  --orange-600: #D1570A;
  --orange-500: #E96006;
  --orange-400: #ED8347;
  --orange-200: #F5CBA0;
  --orange-100: #FCE9D6;

  /* Neutrals */
  --gray-50:  #F7F8FA;
  --gray-100: #EFF1F4;
  --gray-200: #DFE3E9;
  --gray-300: #C5CCD5;
  --gray-600: #4A5361;
  --gray-700: #2E3542;

  --ink:            var(--navy-900);
  --ink-soft:       var(--gray-600);
  --cream:          var(--gray-50);
  --cream-2:        var(--gray-100);
  --paper:          #FFFFFF;
  --line:           rgba(1,17,40,0.12);
  --line-strong:    rgba(1,17,40,0.22);

  --charcoal:       var(--navy-800);
  --charcoal-2:     var(--navy-700);
  --charcoal-3:     var(--navy-600);
  --on-charcoal:    #FFFFFF;
  --on-charcoal-soft: rgba(255,255,255,0.66);
  --line-on-dark:   rgba(255,255,255,0.14);

  --gold:           var(--orange-500);
  --gold-light:     var(--orange-400);
  --gold-pale:      var(--orange-200);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);

  --container: 1280px;
  --gutter: clamp(24px, 5vw, 72px);

  font-size: 16px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}
html, body{
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip){ html{ overflow-x: hidden; } }
body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; background: none; border: none; padding: 0; cursor: pointer; color: inherit; }
input, select, textarea{ font-family: inherit; font-size: 16px; color: inherit; }
h1,h2,h3,h4,p,ul,figure,blockquote,form{ margin: 0; }
ul{ padding: 0; list-style: none; }
section{ position: relative; }

.skip-link{
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: var(--on-charcoal); padding: 12px 20px; z-index: 2000;
}
.skip-link:focus{ left: 12px; top: 12px; }

:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Typography helpers
   ========================================================= */
.chapter-tag{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.chapter-tag::before{
  content: ""; width: 22px; height: 1px; background: currentColor; display: inline-block;
}
.chapter-tag--light{ color: var(--gold-pale); }

.section-title{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 18ch;
}
.section-title--light{ color: var(--on-charcoal); }
.section-title .ital{ font-style: italic; color: var(--gold); font-weight: 500; }
.section-title--light .ital{ color: var(--gold-pale); }

.section-desc{
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 44ch;
  margin-top: 20px;
}
.section-desc--light{ color: var(--on-charcoal-soft); }

.section-frame{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-frame--split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.section-frame--split-rev{ direction: rtl; }
.section-frame--split-rev > *{ direction: ltr; }

.text-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color .25s var(--ease-out), border-color .25s var(--ease-out), gap .25s var(--ease-out);
}
.text-link:hover{ color: var(--gold); border-color: var(--gold); gap: 12px; }
.section-title--light ~ .text-link{ color: var(--on-charcoal); }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem; font-weight: 500;
  padding: 15px 28px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 48px;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.btn span{ position: relative; z-index: 1; display: inline-flex; align-items:center; gap:8px;}
.btn-solid{
  background: var(--ink);
  color: var(--cream);
}
.btn-solid:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(5,11,28,0.45); }
.orcamento .btn-solid{ background: var(--gold); color: var(--charcoal); }
.orcamento .btn-solid:hover{ box-shadow: 0 14px 30px -10px rgba(233,96,6,0.55); }

.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover{ border-color: var(--ink); background: rgba(5,11,28,0.04); }
.btn-ghost svg{ transition: transform .3s var(--ease-out); }
.btn-ghost:hover svg{ transform: translateX(4px); }

.btn-line{
  border: 1px solid var(--line-strong);
  padding: 11px 20px;
  font-size: 0.85rem;
}
.btn-line:hover{ border-color: var(--ink); }

.btn-block{ width: 100%; }
.btn .btn-label-loading{ display: none; }
.dot-loader{ display:inline-block; width:14px; }
.dot-loader::after{ content: '...'; animation: dots 1.1s steps(4) infinite; }
@keyframes dots{ 0%{content:'.'} 33%{content:'..'} 66%{content:'...'} 100%{content:''} }
button.is-loading .btn-label-default{ display:none; }
button.is-loading .btn-label-loading{ display:inline-flex; align-items:center; }
button.is-loading{ opacity: .85; pointer-events: none; }

/* =========================================================
   Global fx layers
   ========================================================= */
.grain-overlay{
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.progress-rail{
  position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1100;
  background: transparent;
}
.progress-fill{
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left;
}

.cursor-dot, .cursor-ring{
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9500;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  will-change: transform;
}
.cursor-dot{ width: 6px; height: 6px; background: var(--gold); opacity: 0; }
.cursor-ring{ width: 34px; height: 34px; border: 1px solid var(--gold-light); opacity: 0; transition: width .3s var(--ease-out), height .3s var(--ease-out), opacity .3s; }
.cursor-ring.is-active{ width: 56px; height: 56px; background: rgba(233,96,6,0.08); }
@media (hover: none), (pointer: coarse){
  .cursor-dot, .cursor-ring{ display: none; }
}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 18px 0;
  transition: background-color .4s var(--ease-out), box-shadow .4s, padding .3s;
}
.nav-inner{
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header[data-scrolled]{
  background: rgba(247,248,250,0.94);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.site-header[data-theme="dark"]{
  color: var(--on-charcoal);
}
.site-header[data-theme="dark"][data-scrolled]{
  background: rgba(1,17,40,0.92);
  box-shadow: 0 1px 0 var(--line-on-dark);
}

.brand-mark{
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-logo{
  height: 40px; width: auto; display: block;
  border-radius: 6px;
}

.main-nav{
  position: relative;
  display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px);
  font-size: 0.9rem; font-weight: 500;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .4s;
}
.site-header[data-theme="dark"] .main-nav{ border-color: var(--line-on-dark); }
.main-nav a{
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 2px;
  opacity: 0.82;
  transition: opacity .25s, color .3s;
}
.main-nav a:hover{ opacity: 1; }
.main-nav a::after{
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.main-nav a:hover::after{ transform: scaleX(1); }
.nav-index{
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.02em; color: var(--gold);
}

/* Animated active-tab pill (scrollspy-driven) */
.nav-pill{
  position: absolute; top: 7px; bottom: 7px; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px);
  padding: 0 10px;
  background: var(--gold-light);
  pointer-events: none;
  clip-path: inset(0 100% 0 0 round 999px);
  transition: clip-path .28s cubic-bezier(.3,.8,.4,1);
  will-change: clip-path;
}
.nav-pill a{
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 2px;
  color: var(--charcoal);
  opacity: 1;
}
.nav-pill .nav-index{ color: var(--charcoal); opacity: 0.65; }

.nav-actions{ display: flex; align-items: center; gap: 14px; }
.nav-cta{ display: inline-flex; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 50%;
}
.nav-toggle span{ width: 20px; height: 1.4px; background: currentColor; margin: 0 auto; transition: transform .3s var(--ease-out), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset: 0; z-index: 999;
  background: var(--charcoal); color: var(--on-charcoal);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 100px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease-in-out);
  visibility: hidden;
}
.mobile-menu.is-open{ transform: translateY(0); visibility: visible; }
.mobile-menu nav{ display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a{
  display: flex; align-items: baseline; gap: 16px;
  font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 6vw, 2.6rem);
  padding: 14px 0; border-bottom: 1px solid var(--line-on-dark);
}
.mobile-menu a span{ font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--gold); }
.mobile-menu a.mobile-cta{ color: var(--gold-pale); }
.mobile-menu-foot{ display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--on-charcoal-soft); flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px){
  .main-nav, .nav-cta{ display: none; }
  .nav-toggle{ display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  --hero-scroll: 120vh; /* quanto o usuário rola até o vídeo terminar */
  position: relative;
  height: calc(100vh + var(--hero-scroll));
  height: calc(100svh + var(--hero-scroll));
  background: #A0A1A5;
}
.hero-stage{
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: #CECFD3;
}
.hero-video{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block; background: transparent;
  pointer-events: none;
  transform: translateZ(0);
}
@media (min-width: 769px){
  .hero-video{
    transform: translate3d(6%, 0, 0) scale(0.8);
  }
}
.hero-fade{
  position: absolute; left: 0; right: 0; bottom: 0; height: 34vh; z-index: 1;
  background: linear-gradient(to bottom, rgba(250,249,245,0) 0%, var(--cream) 82%);
  opacity: 0;
  pointer-events: none;
}
.hero-copy{
  position: absolute; inset: 0; z-index: 2;
  display: grid; align-items: center; justify-items: start;
  padding: 90px var(--gutter) 72px clamp(24px, 4vw, 64px);
  pointer-events: none;
}
.hero-stage::before{
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(206,207,211,0.92) 0%, rgba(206,207,211,0.74) 18%, rgba(206,207,211,0.36) 30%, rgba(206,207,211,0) 42%);
}
.hero-block{ grid-area: 1 / 1; max-width: min(22vw, 340px); }
.anim .hero-block + .hero-block{ opacity: 0; }
.hero-actions{ pointer-events: auto; }
.hero-rule{ display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--gold); margin-bottom: 20px; transform-origin: left center; }
.hero-block .hero-title{ font-size: clamp(2rem, 3.1vw, 3.4rem); max-width: 12ch; margin-bottom: 18px; text-wrap: balance; }
.hero-block .hero-title--sm{ font-size: clamp(1.9rem, 2.9vw, 3rem); }
.hero-block .eyebrow{ font-size: 10.5px; margin-bottom: 20px; }
.hero-block .hero-sub{ margin-bottom: 28px; color: rgba(5,11,28,0.78); }
.hero-block .hero-sub:last-child{ margin-bottom: 0; }
@media (max-width: 768px){
  .hero-video{
    object-fit: cover;
    top: 11vh; top: 11svh; bottom: auto; height: 38vh; height: 38svh;
  }
  .hero-copy{ align-items: end; padding-bottom: 76px; }
  .hero-stage::before{ background: linear-gradient(to top, rgba(206,207,211,0.94) 0%, rgba(206,207,211,0.78) 38%, rgba(206,207,211,0) 62%); }
  .hero-copy{ padding-left: var(--gutter); }
  .hero-block{ max-width: 100%; }
  .hero-block .hero-title{ font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-fade{ height: 18vh; }
}
@media (prefers-reduced-motion: reduce){
  .hero{ height: auto; min-height: 100vh; min-height: 100svh; }
  .hero-stage{ position: relative; height: auto; min-height: 100vh; min-height: 100svh; }
  .hero-copy{ position: relative; inset: auto; min-height: inherit; align-content: center; row-gap: 22px; padding-top: 84px; padding-bottom: 64px; }
  .hero-block{ grid-area: auto; }
  .hero-block + .hero-block{ opacity: 1; }
  .hero-block:not(:first-child) .hero-sub{ font-size: 0.95rem; }
  .hero-rule{ margin-bottom: 12px; }
  .hero-fade, .hero-scroll-cue{ display: none; }
}

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.eyebrow-dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(233,96,6,0.15); }

.hero-title{
  font-family: 'Playfair Display', serif; font-weight: 600;
  font-size: clamp(3rem, 8.6vw, 7.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 16ch;
}
.hero-title .line{ display: block; overflow: hidden; margin-bottom: -0.08em; padding-bottom: 0.08em; }
.hero-title .line > .split-inner{ display: inline-block; will-change: transform; }
.hero-title em{ font-style: italic; color: var(--gold); font-weight: 500; }

.hero-sub{
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 40px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-cue{
  position: absolute; right: calc(var(--gutter) + 4px); top: 52%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-scroll-cue span:last-child{
  writing-mode: vertical-rl; transform: rotate(180deg);
  white-space: nowrap;
}
.line-v{ width: 1px; height: 46px; background: var(--line-strong); position: relative; overflow: hidden; }
.line-v::after{
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{ 0%{ top: -100%; } 60%{ top: 100%; } 100%{ top: 100%; } }

.hero-marquee{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  border-top: 1px solid rgba(5,11,28,0.14);
  background: rgba(202,203,207,0.72);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track{
  display: flex; gap: 22px; width: max-content;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.14em;
  color: var(--ink-soft);
  animation: marquee 34s linear infinite;
}
.marquee-track span{ flex: none; }
.marquee-unit{ display: contents; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto{
  background: var(--cream);
  padding: clamp(100px, 16vh, 200px) 0 clamp(80px, 12vh, 160px);
}
.manifesto-text{
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  max-width: 24ch;
}
.mtxt{ display: inline-block; opacity: 0.18; transition: opacity .1s linear; }
.mtxt-dim{ color: var(--ink-soft); }
.mtxt-gold{ color: var(--gold); font-style: italic; }
.manifesto-thread{
  margin-top: 56px; color: var(--line-strong); height: 40px;
}
.manifesto-thread svg{ width: 100%; height: 100%; }

/* =========================================================
   DIFERENCIAL (pinned)
   ========================================================= */
.diferencial{ background: var(--charcoal); color: var(--on-charcoal); }
.pin-stage{
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 12px;
  padding: 84px var(--gutter) 16px;
  max-width: var(--container); margin: 0 auto;
}
.pin-header{ max-width: 640px; }

/* Bento layout: large 2-up panel + stacked sidebar (feature + compact panel) */
.diff-bento{
  display: grid; grid-template-columns: 2fr 1fr; gap: 12px;
  align-items: stretch;
}
.diff-bento-main{
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.diff-bento-side{
  display: flex; flex-direction: column; gap: 10px;
}
.diff-card{
}
.anim .diff-card{ opacity: 0; transform: translateY(28px); }
.diff-card--panel{
  background: var(--charcoal-2);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.diff-card--compact{ flex: 1; justify-content: center; }
.diff-panel-head{ display: flex; align-items: center; gap: 12px; }
.diff-icon-badge{
  width: 34px; height: 34px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-on-dark);
}
.diff-icon-badge .diff-icon{ width: 18px; height: 18px; }
.diff-index{ font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--gold-pale); opacity: 0.7; }
.diff-icon{ width: 28px; height: 28px; color: var(--gold-pale); }
.diff-card h3{ font-family: 'Playfair Display', serif; font-size: 1.08rem; font-weight: 600; }
.diff-card p{ font-size: 0.84rem; line-height: 1.45; color: var(--on-charcoal-soft); flex-grow: 1; }
.diff-card p strong{ color: var(--on-charcoal); font-weight: 600; }
.diff-card p strong .counter{ font-size: inherit; font-family: inherit; color: inherit; font-weight: inherit; }
.diff-stat{
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
  padding-top: 10px; border-top: 1px solid var(--line-on-dark);
}
.counter{ font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--gold-pale); font-weight: 600; }
.stat-suffix{ font-size: 0.92rem; color: var(--gold-pale); font-weight: 600; }
.stat-label{ display: block; width: 100%; font-size: 0.74rem; color: var(--on-charcoal-soft); margin-top: 1px; }

/* Feature card: gold-filled standout, mirrors the site's solid-gold button treatment */
.diff-feature{
  background: var(--gold);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  box-shadow: 0 20px 40px -20px rgba(1,17,40,0.5);
}
.diff-feature .diff-index--feature{ color: rgba(1,17,40,0.55); opacity: 1; }
.diff-feature-eyebrow{
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(1,17,40,0.6); margin-bottom: 4px;
}
.diff-feature h3{ font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--charcoal); }
.diff-feature-bottom p{ font-size: 0.82rem; line-height: 1.4; color: rgba(1,17,40,0.75); margin-bottom: 10px; }
.diff-feature-stat{
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid rgba(1,17,40,0.18);
}
.diff-feature-stat .counter{ color: var(--charcoal); }
.diff-feature-stat .stat-suffix{ color: var(--charcoal); }
.diff-feature-stat .stat-label{ color: rgba(1,17,40,0.65); }

@media (max-width: 1000px){
  .diff-bento{ grid-template-columns: 1fr; }
  .diff-bento-main{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .diff-bento-main{ grid-template-columns: 1fr; }
  .pin-stage{ padding: 100px var(--gutter); }
}

/* =========================================================
   PRODUTOS
   ========================================================= */
.produtos{ background: var(--cream); padding: clamp(90px,14vh,160px) 0 60px; }
.section-head{ display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 56px; }

.product-rail{
  display: flex; gap: 24px;
  padding: 8px var(--gutter) 40px;
  max-width: 100vw;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.product-rail::-webkit-scrollbar{ display: none; }
.product-card{
  flex: 0 0 clamp(260px, 30vw, 340px);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s;
}
.product-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -24px rgba(5,11,28,0.28);
  border-color: transparent;
}
.product-visual{
  aspect-ratio: 5/6;
  background: linear-gradient(155deg, var(--cream-2), var(--cream));
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  opacity: 0.82;
}
.product-visual svg{ width: 100%; height: 100%; transition: transform .5s var(--ease-out); }
.product-card:hover .product-visual{ color: var(--gold); opacity: 1; }
.product-card:hover .product-visual svg{ transform: scale(1.04); }
/* Photo variant: the product picture fills the whole 5:6 frame */
.product-visual--photo{ padding: 0; opacity: 1; overflow: hidden; background: #e4e5e8; }
.product-visual--photo img{ display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.product-card:hover .product-visual--photo img{ transform: scale(1.04); }
.product-info{ padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; }
.product-num{ font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold); }
.product-info h3{ font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; }
.product-info p{ font-size: 0.92rem; color: var(--ink-soft); min-height: 3.2em; }
.product-tags{ display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.product-tags li{
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.01em;
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: var(--cream-2);
}

.rail-controls{ max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.rail-progress{ flex: 1; min-width: 0; }
.rail-buttons{ display: flex; gap: 10px; flex: none; }
.rail-btn{
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, opacity .25s, transform .25s var(--ease-out);
}
.rail-btn:hover:not(:disabled){ background: var(--ink); border-color: var(--ink); color: var(--cream); transform: translateY(-2px); }
.rail-btn:disabled{ opacity: 0.35; cursor: default; }
.rail-btn:focus-visible, .product-rail:focus-visible{ outline: 2px solid var(--gold-light); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine){
  .product-rail{ cursor: grab; }
}
.product-rail.is-dragging{ cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.product-rail.is-dragging .product-card{ pointer-events: none; }
.product-rail img{ -webkit-user-drag: none; user-select: none; }
.rail-progress-track{ height: 2px; background: var(--line-strong); border-radius: 2px; position: relative; overflow: hidden; }
.rail-progress-fill{ position: absolute; inset: 0; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; }

/* =========================================================
   PROCESSO (timeline)
   ========================================================= */
.processo{ background: var(--cream); padding: clamp(100px,14vh,180px) 0; }
.processo-layout{
  position: relative;
  max-width: var(--container); margin: 64px auto 0;
}
.timeline{
  position: relative;
  padding: 0 var(--gutter);
}
.timeline-line{
  position: absolute; left: calc(var(--gutter) + 5px); top: 8px; bottom: 8px; width: 1px;
  background: var(--line-strong);
}
.timeline-line-fill{
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: var(--gold);
}
.timeline-item{
  position: relative;
  padding: 0 0 64px 52px;
  opacity: 0.35;
  transition: opacity .4s var(--ease-out);
}
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item.is-active{ opacity: 1; }
.timeline-dot{
  position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--line-strong);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.timeline-item.is-active .timeline-dot{ background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(233,96,6,0.14); }
.timeline-num{ font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--gold); display: block; margin-bottom: 8px; }
.timeline-item h3{ font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; margin-bottom: 8px; }
.timeline-item p{ color: var(--ink-soft); max-width: 46ch; }

/* Factory video as a full-screen background; the steps scroll in front of it */
.processo{ position: relative; background: var(--navy-900); color: var(--on-charcoal); overflow: clip; }
.processo > .section-frame, .processo > .processo-layout{ position: relative; z-index: 1; }
.processo-bg{ position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.processo-bg-sticky{ position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.processo-bg-sticky video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.processo-bg-shade{
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,11,28,0.88) 0%, rgba(5,11,28,0.74) 45%, rgba(5,11,28,0.5) 100%),
    rgba(5,11,28,0.18);
}
.processo .timeline-line{ background: rgba(255,255,255,0.22); }
.processo .timeline-dot{ background: var(--navy-900); border-color: rgba(255,255,255,0.4); }
.processo .timeline-item h3{ color: var(--on-charcoal); }
.processo .timeline-item p{ color: rgba(255,255,255,0.8); }
.processo .timeline-item{ opacity: 0.5; text-shadow: 0 1px 14px rgba(5,11,28,0.55); }
.processo .timeline-item.is-active{ opacity: 1; }
@media (max-width: 700px){
  .processo-bg-shade{ background: rgba(5,11,28,0.78); }
}

/* =========================================================
   CLIENTES
   ========================================================= */
.clientes{ background: var(--charcoal-2); color: var(--on-charcoal); padding: clamp(100px,14vh,180px) 0; }
.logo-marquee{ overflow: hidden; border-top: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); margin: 56px 0; padding: 28px 0; }
.logo-track{ display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 34s linear infinite; }
.logo-chip{
  flex: none;
  display: flex; align-items: center; justify-content: center;
  height: 80px; padding: 11px 26px;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 30px -16px rgba(1,17,40,0.5);
}
.logo-chip img{
  height: 100%; width: auto;
  max-width: 176px;
  object-fit: contain;
}
.testimonial-stack{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card{
  background: var(--charcoal-3); border: 1px solid var(--line-on-dark); border-radius: var(--radius-md);
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 260px;
}
.anim .testimonial-card{ opacity: 0; transform: translateY(24px); }
.testimonial-card blockquote{ font-family: 'Playfair Display', serif; font-size: 1.15rem; font-style: italic; line-height: 1.45; }
.testimonial-card figcaption{ display: flex; flex-direction: column; font-size: 0.85rem; color: var(--on-charcoal-soft); }
.testimonial-card figcaption strong{ color: var(--on-charcoal); font-weight: 600; font-family: 'Inter'; font-style: normal; }

@media (max-width: 900px){
  .testimonial-stack{ grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq{ background: var(--cream); padding: clamp(100px,14vh,180px) 0; }
.faq-intro{ max-width: 420px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.faq-intro .text-link{ margin-top: 10px; }
.faq-list{ display: flex; flex-direction: column; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-question{
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; text-align: left;
  font-family: 'Playfair Display', serif; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600;
}
.faq-icon{ position: relative; width: 20px; height: 20px; flex: none; }
.faq-icon::before, .faq-icon::after{
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink);
  transform: translate(-50%,-50%);
  transition: transform .35s var(--ease-out), opacity .35s;
}
.faq-icon::before{ width: 14px; height: 1.4px; }
.faq-icon::after{ width: 1.4px; height: 14px; }
.faq-item[data-open="true"] .faq-icon::after{ transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-item[data-open="true"] .faq-icon::before{ background: var(--gold); }
.faq-answer{ height: 0; overflow: hidden; }
.faq-answer p{ padding: 0 0 26px; max-width: 64ch; color: var(--ink-soft); }

@media (max-width: 900px){
  .section-frame--split{ grid-template-columns: 1fr; }
  .section-frame--split-rev{ direction: ltr; }
}

/* =========================================================
   FORMS (orçamento)
   ========================================================= */
.orcamento{ background: var(--charcoal); color: var(--on-charcoal); padding: clamp(100px,14vh,180px) 0; overflow: hidden; }
.orc-bg{ position: absolute; inset: 0; color: var(--line-on-dark); opacity: 0.7; }
.orc-bg svg{ width: 100%; height: 100%; }
.orc-intro{ position: relative; z-index: 1; }
.orc-points{ margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.orc-points li{ display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--on-charcoal-soft); }
.orc-points svg{ color: var(--gold-pale); flex: none; }

.form-card{
  position: relative; z-index: 1;
  background: var(--charcoal-2);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 20px;
}
.form-row{ display: flex; flex-direction: column; gap: 8px; }
.form-row--2{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--2 > div{ display: flex; flex-direction: column; gap: 8px; }
.form-card label{ font-size: 0.82rem; font-weight: 500; color: var(--on-charcoal-soft); }
.form-card input, .form-card select, .form-card textarea{
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--on-charcoal);
  transition: border-color .25s, background-color .25s;
  width: 100%;
  min-height: 48px;
}
.form-card textarea{ min-height: 90px; resize: vertical; }
.form-card input::placeholder, .form-card textarea::placeholder{ color: rgba(255,255,255,0.35); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus{ border-color: var(--gold); background: rgba(255,255,255,0.08); }
.form-card select{ appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23E96006' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
/* Windows/Chrome/Edge draw the open list with the field's own background, which is
   nearly transparent here -> white text on a white list. Give the list a solid dark background. */
.form-card select{ color-scheme: dark; }
.form-card select option, .form-card select optgroup{ background-color: #0B2C4E; color: #FFFFFF; }
.form-card select option:disabled{ color: rgba(255,255,255,0.5); }
.form-card select option:checked{ background-color: #14406B; color: #FFFFFF; }

.checkbox-row{ display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--ink-soft); cursor: pointer; }
.checkbox-row input{ width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--gold); }

.form-note{ font-size: 0.78rem; color: var(--on-charcoal-soft); }

.form-status{
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.88rem;
  border: 1px solid var(--gold-pale); color: var(--gold-pale); background: rgba(233,96,6,0.12);
}

@media (max-width: 640px){
  .form-row--2{ grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--charcoal); color: var(--on-charcoal-soft); padding: 90px 0 0; }
.footer-top{
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
  padding-bottom: 64px; border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand{ display: flex; flex-direction: column; gap: 16px; }
.brand-mark--footer .brand-logo{ height: 56px; }
.footer-brand p{ font-size: 0.88rem; max-width: 28ch; }
.footer-col{ display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.footer-col h4{ font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-charcoal); margin-bottom: 6px; }
.footer-col a{ transition: color .25s; width: fit-content; }
.footer-col a:hover{ color: var(--gold-pale); }
.social-row{ display: flex; gap: 12px; margin-top: 4px; }
.social-row a{
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-on-dark);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, color .25s;
}
.social-row a:hover{ border-color: var(--gold-pale); color: var(--gold-pale); }
.footer-bottom{
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 24px var(--gutter) 32px; font-size: 0.8rem;
}
.footer-legal{ display: flex; gap: 20px; }
.footer-legal a:hover{ color: var(--gold-pale); }

@media (max-width: 900px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* =========================================================
   Reveal utility (JS toggles .is-visible)
   ========================================================= */
.anim .reveal-fade{ opacity: 0; transform: translateY(16px); }
.anim .reveal-fade.is-visible{ opacity: 1; transform: translateY(0); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }

/* =========================================================
   WhatsApp floating button
   ========================================================= */
.whatsapp-float{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.whatsapp-tooltip{
  background: var(--paper);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 34px -12px rgba(1,17,40,0.35);
  white-space: nowrap;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.whatsapp-icon-wrap{
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,0.55);
  flex: none;
  transition: transform .3s var(--ease-out);
}
.whatsapp-icon-wrap::after{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.55;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse{
  0%{ transform: scale(0.9); opacity: 0.55; }
  70%{ transform: scale(1.4); opacity: 0; }
  100%{ transform: scale(1.4); opacity: 0; }
}
.whatsapp-badge{
  position: absolute;
  top: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FF3B30;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}
.whatsapp-float:hover .whatsapp-icon-wrap{ transform: scale(1.06); }
.whatsapp-float:hover .whatsapp-tooltip{ transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce){
  .whatsapp-icon-wrap::after{ animation: none; }
}
@media (max-width: 560px){
  .whatsapp-float{ right: 16px; bottom: 16px; gap: 8px; }
  .whatsapp-tooltip{ padding: 10px 14px; font-size: 0.82rem; }
  .whatsapp-icon-wrap{ width: 48px; height: 48px; }
}
@media (max-width: 380px){
  .whatsapp-tooltip{ display: none; }
}

/* =========================================================
   Responsive base adjustments
   ========================================================= */
@media (max-width: 700px){
  :root{ --gutter: 20px; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ width: 100%; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .hero-scroll-cue{ display: none; }
}

/* Lead form: honeypot (hidden from people) + status link */
.form-hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status a{ color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-status--error{ border-color: #f2a39b; color: #ffd9d4; background: rgba(220,70,60,0.12); }

/* =========================================================
   Performance
   ========================================================= */
/* animated strips: own compositor layer, contained paint, paused when off-screen (see script.js) */
.marquee-track, .logo-track{ will-change: transform; }
.hero-marquee, .logo-marquee{ contain: layout paint; }
.is-offscreen{ animation-play-state: paused !important; }

/* Lite mode (weaker computers): fewer effects, same layout */
.lite .grain-overlay, .lite .cursor-dot, .lite .cursor-ring{ display: none; }
.lite .processo .timeline-item{ text-shadow: none; }
.lite .product-card, .lite .logo-chip{ box-shadow: none; }
.lite .product-card{ transition: transform .3s var(--ease-out), border-color .3s; }


/* Phones: compact hero so image + text fit even in short Safari viewports (toolbars/banners) */
@media (max-width: 768px){
  .hero-video{ top: 9vh; top: 9svh; height: 32vh; height: 32svh; }
  .hero-copy{ padding-bottom: 60px; }
  .hero-block .eyebrow{ font-size: 9.5px; letter-spacing: 0.1em; margin-bottom: 12px; }
  .hero-block .hero-title{ font-size: clamp(1.8rem, 7.6vw, 2.4rem); margin-bottom: 12px; }
  .hero-block .hero-sub{ font-size: 1rem; line-height: 1.45; margin-bottom: 18px; }
  .hero-actions{ gap: 10px; }
  .hero-actions .btn{ padding-top: 14px; padding-bottom: 14px; }
}
@media (max-width: 768px) and (max-height: 640px){
  .hero-video{ height: 28vh; height: 28svh; }
  .hero-block .hero-sub{ display: none; }
}
