/* ─────────────────────────────────────────────────────────────
   REMIX ON DEMAND — styles.css
   ───────────────────────────────────────────────────────────── */

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  color: #0a0a0a;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
textarea { resize: none; }

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --black:     #0A0A0A;
  --white:     #FFFFFF;
  --gray-bg:   #F5F4F0;
  --gray-mid:  #E8E7E3;
  --gray-text: #6B6B6B;
  --border:    #E0DFD9;
  --blue:      #018fc8;
  --max-w:     1240px;
  --px:        clamp(20px, 5vw, 80px);
  --py:        clamp(36px, 4.5vw, 60px);
  --accent-bg: #f9fafb;
  --brand-gradient: linear-gradient(135deg, #FF008E 20%, #00A1E1 90%);
  --brand-gradient-num: linear-gradient(135deg, #FF008E 5%, #00A1E1 60%);
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all .2s;
  white-space: nowrap;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 15px;
  border-radius: 9px;
}

.btn-white { background: #fff; color: #0a0a0a; }
.btn-white:hover { background: #e5e5e5; }

.btn-black { background: var(--black); color: #fff; }
.btn-black:hover { background: #222; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .3);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .7);
}

.btn-outline-black {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline-black:hover {
  background: var(--black);
  color: #fff;
}

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #007db5; }

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: #fff;
}

/* ─── SECTION TYPOGRAPHY ─────────────────────────────────────── */
.s-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 14px;
}

.s-title {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--black);
}

.s-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-text);
  max-width: 680px;
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
}

.s-header { margin-bottom: 36px; text-align: center; }

/* ─── NAV ────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  transition: padding .3s, box-shadow .3s;
}

#navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .07);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 37px; width: auto; }

.nav-logo .logo-fallback {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.03em;
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  color: var(--black);
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  transition: color .2s;
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--gray-text); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE OVERLAY ─────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 800;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px var(--px) 40px;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  border-left: 1px solid var(--border);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: .01em;
  transition: color .2s;
  display: block;
  padding: 14px 0;
}
.mobile-nav a:hover { color: var(--gray-text); }

/* ─── HERO ───────────────────────────────────────────────────── */
#hero {
  background: #fff;
  min-height: 80dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 78px;
  position: relative;
  overflow: hidden;
}



.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, .03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-traco {
  position: absolute;
  right: -250px;
  bottom: -185px;
  width: 680px;
  transform: rotate(360deg);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.8;
}

.hero-traco--left {
  right: auto;
  left: -420px;      /* ajusta depois fino */
  bottom: 0px;    /* começa mais pra baixo */
  transform: rotate(360deg);
}

@media (max-width: 768px) {
  .hero-traco,
  .hero-traco--left,
  .cta-risco { display: none; }
  .br-mob { display: inline; }
  .br-desk { display: none; }
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-deco-img {
  position: absolute;
  width: 1600px;
  height: auto;
}

/* Entra pela lateral esquerda — só a borda direita do traço aparece */
.hero-deco-bl {
  top: -100px;
  left: -1180px;
  transform: rotate(-8deg);
  transform-origin: left center;
}

/* Entra pela lateral direita */
.hero-deco-tr {
  top: -100px;
  right: -1180px;
  transform: rotate(8deg) scaleX(-1);
}

/* Canto superior direito — porção azul/roxa do gradiente */
.hero-deco-tr2 {
  top: 1;
  right: -1200px;
  transform: rotate(-8deg);
}

@media (max-width: 768px) {
  .hero-deco { display: none; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--py) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 30px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--border);
}

.br-mob { display: none; }

.hero-headline {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.04em;
  color: var(--black);
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  color: var(--black);
  max-width: 520px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 400;
  color: var(--gray-text);
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(0, 0, 0, .25);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .45;
  transition: opacity .2s;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-down:hover { opacity: .85; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, .12);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .35);
  animation: scrollDrop 1.6s ease-in-out infinite;
}
@keyframes scrollDrop { to { top: 100%; } }

/* ─── HERO CAROUSEL ─────────────────────────────────────────── */
.hero-carousel {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(80dvh - 140px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide--active {
  opacity: 1;
  pointer-events: auto;
}

.hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-dots { display: none; }
}

.hero-dot {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.hero-dot--active {
  width: 34px;
  background: rgba(0, 0, 0, 0.55);
}

/* ─── TICKER ─────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 15px 0;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerMove 18s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-text);
}

.ticker-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .4;
}

@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── DIFERENCIAIS ───────────────────────────────────────────── */
#diferenciais {
  padding: var(--py) 0;
  background: #fff;
}

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

.diff-card {
  padding: 32px 28px;
  min-height: 280px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: color .35s;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 16px;
  align-content: start;
}

.diff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-gradient);
  z-index: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .42s cubic-bezier(.4, 0, .2, 1);
}
.diff-card:hover::before { transform: scaleY(1); }
.diff-card > * { position: relative; z-index: 1; }

.diff-card:hover .diff-ico { stroke: #fff; }
.diff-card:hover .diff-title,
.diff-card:hover .diff-desc { color: #fff; }

.diff-card:hover .diff-chip {
  background: rgba(255, 255, 255, 0.355);
  color: #fff;
}

.diff-card.is-dark { background: var(--black); }
.diff-card.is-dark::before { display: none; }

.diff-card.is-dark .diff-ico { stroke: #fff; }
.diff-card.is-dark .diff-title,
.diff-card.is-dark .diff-desc { color: #fff; }

.diff-card.is-dark .diff-chip {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .6);
}

.diff-ico {
  width: 42px;
  height: 42px;
  stroke: url(#icon-gradient);
  stroke-width: 1.7;
  transition: stroke .35s;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.diff-chip {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--brand-gradient);
  color: #fff;
  transition: all .3s;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
}

.diff-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--black);
  margin-top: 24px;
  margin-bottom: 12px;
  transition: color .35s;
  grid-column: 1 / -1;
  grid-row: 2;
}

.diff-desc {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--gray-text);
  transition: color .35s;
  grid-column: 1 / -1;
  grid-row: 3;
}

/* ─── TECNOLOGIA ─────────────────────────────────────────────── */
#tecnologia {
  padding: var(--py) 0;
  background: var(--accent-bg);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.brand-logos {
  margin-top: 40px;
}

.brand-logos-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  opacity: .45;
  margin-bottom: 22px;
}

.brand-logos-grid {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.brand-logo {
  height: 22px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  filter: brightness(0);
  opacity: .75;
}

.brand-logo--grad {
  background: var(--brand-gradient);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: left center;
          mask-position: left center;
  filter: none;
  opacity: .9;
}

.brand-logo[alt="Track&Field"] {
  height: 42px;
  max-width: 110px;
}

.brand-logo[alt="Zumiez"] {
  height: 14px;
  max-width: 110px;
}

.kornit-img {
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  min-height: 200px;
}

.kornit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* ─── TECIDOS ESPORTIVOS ─────────────────────────────────────── */
#tecidos {
  background: #fff;
  padding: var(--py) 0;
}

.tecidos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  direction: rtl;
  align-items: stretch;
}
.tecidos-grid > * {
  direction: ltr;
}

.s-tag-white {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-text);
  display: inline-block;
  margin-bottom: 18px;
}

.s-title-white {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--black);
  margin-bottom: 22px;
}

.s-sub-white {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-text);
  margin-bottom: 40px;
}

.unique-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 100px;
  background: rgba(0, 0, 0, .05);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulseAnim 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .5);
}
@keyframes pulseAnim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .4); }
  50%       { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
}

.runner-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-mid);
  min-height: 420px;
  position: relative;
}

.runner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
  transform: scale(1.4);
  transform-origin: right top;
}

/* ─── COMO FUNCIONA ──────────────────────────────────────────── */
#como-funciona {
  padding: var(--py) 0;
  background: var(--accent-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.step { padding: 40px 30px 24px; border: 1px solid rgba(0,0,0,.12); }

/* Imagem no topo do card — flush com as bordas */
.step-img-wrap {
  width: calc(100% + 60px);
  margin: -40px -30px 28px;
  aspect-ratio: 16/9;
  background: var(--accent-bg);
  overflow: hidden;
}
.step-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.step-illo {
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
}

.step-num {
  font-family: 'Open Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -.04em;
  background: var(--brand-gradient-num);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.step-desc { font-size: 14px; line-height: 1.7; color: var(--gray-text); }

/* ─── BRAZILINE ──────────────────────────────────────────────── */
#braziline {
  padding: var(--py) 0;
  background: var(--gray-bg);
}

.braz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.big-num {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(88px, 13vw, 168px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--black);
  display: block;
  margin-bottom: 12px;
}

.big-num-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-text);
  display: block;
  margin-bottom: 36px;
}

.braz-story { font-size: 17px; line-height: 1.78; color: #444; margin-bottom: 32px; }

.cred-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
}
.cred-item::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--black);
  flex-shrink: 0;
}

.braz-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 24px;
}

.stat-box { padding: 28px 24px; background: #fff; border: 1px solid var(--border); }

.stat-val {
  font-family: 'Open Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--black);
}

.stat-label { font-size: 12px; color: var(--gray-text); margin-top: 5px; }

.braz-quote {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.braz-quote p { font-size: 15.5px; line-height: 1.75; color: #333; font-style: italic; }
.braz-quote footer { font-size: 12px; color: var(--gray-text); margin-top: 14px; font-weight: 600; letter-spacing: .05em; }

/* ─── CLIENTES ───────────────────────────────────────────────── */
#clientes {
  padding: var(--py) 0;
  background: var(--accent-bg);
}

.clients-header {
  text-align: center;
  margin-bottom: 56px;
}

.ct-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.ct-card {
  padding: 36px 28px 24px;
  border: 1px solid var(--border);
  transition: background .3s;
  cursor: default;
}

/* Imagem no topo do card — flush com as bordas */
.ct-img-wrap {
  width: calc(100% + 56px);
  margin: -36px -28px 24px;
  aspect-ratio: 16/9;
  background: var(--accent-bg);
  overflow: hidden;
}
.ct-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ct-ico { width: 48px; height: 48px; margin-bottom: 20px; color: var(--black); transition: color .3s; }

.ct-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  color: var(--black);
  transition: color .3s;
}

.ct-desc { font-size: 14px; line-height: 1.65; color: var(--gray-text); transition: color .3s; }

/* ─── QUEM CONFIA NA REMIX ───────────────────────────────────── */
#confia {
  padding: var(--py) 0;
  background: #fff;
}
#confia .s-header {
  margin-bottom: 32px;
}

.logo-ticker-wrap {
  overflow: hidden;
  padding: 24px 0;
  margin-top: 0;
}

.logo-ticker-track {
  display: flex;
  align-items: center;
  animation: tickerMove 15s linear infinite;
}

.logo-ticker-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 64px;
  flex-shrink: 0;
}

.client-logo {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0);
  opacity: .6;
}

.client-logo[alt="XP"] {
  height: 75px;
  max-width: 110px;
}

.client-logo[alt="Flamengo"] {
  height: 60px;
  max-width: 110px;
}

.client-logo[alt="Vasco"] {
  height: 60px;
  max-width: 110px;
}

.client-logo[alt="Somma"] {
  height: 70px;
  max-width: 150px;
}

/* ─── CONTATO / CTA FINAL ────────────────────────────────────── */
#contato {
  background: var(--accent-bg);
  padding: var(--py) 0;
  position: relative;
  overflow: hidden;
}

.cta-risco {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 48%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-contacts-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-headline {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--black);
  margin-bottom: 18px;
}

.cta-sub { font-size: 17px; line-height: 1.72; color: var(--gray-text); margin-bottom: 36px; }

.cta-contacts { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: var(--gray-text);
}
.cta-contact-item svg { width: 20px; height: 20px; stroke: url(#icon-gradient); flex-shrink: 0; }
.cta-contact-item:hover { color: var(--black); }
.cta-contact-item:hover svg { stroke: url(#icon-gradient); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  background: #22C55E;
  color: #fff;
  transition: background .2s;
}
.btn-wa svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }
.btn-wa:hover { background: #16A34A; }

/* ─── WHATSAPP FLUTUANTE ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(34,197,94,.4);
  z-index: 999;
  transition: background .2s, transform .2s;
}
.wa-float:hover { background: #16A34A; transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* ─── FORM ───────────────────────────────────────────────────── */
.form-wrap { display: flex; flex-direction: column; gap: 12px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-text);
}

.form-input {
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--black);
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color .2s, background .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: rgba(0, 0, 0, .3); }
.form-input:focus {
  border-color: var(--black);
  background: #fff;
}

option { background: #fff; color: var(--black); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer.footer-dark {
  background: var(--accent-bg);
  color: var(white);
  padding: 40px 0 0;
  border-top: 1px solid var(--border);
}

/* Linha principal: logo | contato */
footer.footer-dark .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #ccc;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}
.footer-logo-img {
  height: 35px;
  width: auto;
  display: block;
}
.footer-logo-fallback-dark {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
  display: none;
}

/* Contato: itens em linha */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-contact-list a {
  color: var(--gray-text);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact-list a:hover { color: var(--black); }
.footer-contact-list li:nth-child(3) svg { width: 20px; height: 20px; }
.footer-contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: url(#icon-gradient);
  stroke-width: 1.6;
}
/* Ponto do Instagram */
.footer-contact-list svg circle[fill] {
  fill: url(#icon-gradient);
  stroke: none;
}
/* Ícone WhatsApp (filled) */
.footer-contact-list li:nth-child(2) svg {
  fill: url(#icon-gradient);
  stroke: none;
}

/* Barra inferior */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-cnpj,
.footer-copy {
  font-size: 13px;
  color: #acacac;
  margin: 0;
}

/* Nav link ativo */
.nav-links a.nav-active { font-weight: 700; color: var(--black); }

/* ─── SCROLL-TO-TOP ──────────────────────────────────────────── */
#stt {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
}
#stt.visible { opacity: 1; transform: translateY(0); }
#stt:hover { background: #f0f0f0; }
#stt svg { width: 18px; height: 18px; }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.d5 { transition-delay: .5s; }

/* ═══════════════════════════════════════════════════════════════
   GUIA DE ARTE / DTG
   ═══════════════════════════════════════════════════════════════ */

/* ─── Boas Práticas ──────────────────────────────────────────── */
#boas-praticas {
  padding: var(--py) 0;
  background: #fff;
}

.bp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 40px;
}

.bp-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.bp-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-text {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

/* ─── Avisos ─────────────────────────────────────────────────── */
#avisos {
  padding: var(--py) 0;
  background: var(--accent-bg);
}

.avisos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}

.aviso-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: #fff;
}

.aviso-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.aviso-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aviso-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.aviso-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray-text);
}

/* ─── FAQ ────────────────────────────────────────────────────── */
#faq {
  padding: var(--py) 0;
  background: #fff;
}

.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0 4px;
}
.faq-item:last-child { border-bottom: none; }
.faq-item:last-child { border-bottom: none; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
  transition: color .2s;
}
.faq-trigger:hover .faq-question { color: var(--gray-text); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gray-text);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-body { grid-template-rows: 1fr; }

.faq-body-inner { overflow: hidden; }

.faq-answer {
  padding-bottom: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-text);
}

.faq-answer ul {
  margin-top: 10px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-answer ul li {
  padding-left: 16px;
  position: relative;
}

.faq-answer ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .avisos-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid,
  .tecidos-grid,
  .braz-grid,
  .cta-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .bp-grid { grid-template-columns: 1fr; }
  .avisos-grid { grid-template-columns: 1fr; }
  .nav-links,
  .nav-links + .btn { display: none; }
  .hamburger { display: flex; }
  .scroll-down { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .braz-stats { grid-template-columns: 1fr 1fr; }
  footer.footer-dark .footer-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-link-label { display: none; }
  .footer-contact-list { flex-direction: row; gap: 24px; }
  .footer-contact-list svg { width: 22px; height: 22px; }
  .footer-contact-list li:nth-child(2) svg { width: 22px; height: 22px; }
  .footer-contact-list li:nth-child(3) svg { width: 22px; height: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-headline { font-size: clamp(42px, 11vw, 56px); }
  .hero-headline em { white-space: nowrap; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .ct-grid { grid-template-columns: 1fr; }
  .cta-contacts { gap: 12px; }

  /* Hero mobile: subtítulos menores, botões compactos */
  .hero-tagline { font-size: 14px; margin-bottom: 10px; }
  .hero-sub     { font-size: 14px; margin-bottom: 28px; line-height: 1.6; }
  .hero-actions .btn { font-size: 14px; padding: 11px 22px; width: 100%; justify-content: center; }
  .hero-inner   { padding-top: 16px; padding-bottom: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   CATÁLOGO DE PRODUTOS
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero do catálogo ───────────────────────────────────────── */
.cat-hero {
  padding: calc(56px + var(--py)) 0 calc(var(--py) * 0.6);
  background: var(--accent-bg);
  text-align: center;
}
.cat-hero .s-header { margin-bottom: 0; }

/* ─── Filtros ────────────────────────────────────────────────── */
.cat-filters {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: #fff;
  padding: 18px 0 0;
}
.cat-filters .container {
  display: flex;
  justify-content: center;
}
.filter-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  padding: 5px 15px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-text);
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--black); color: var(--black); }
.filter-btn.active { background: var(--black); border-color: var(--black); color: #fff; }

/* ─── Grade de produtos ──────────────────────────────────────── */
.cat-grid-section {
  padding: 24px 0 calc(var(--py) * 1.5);
  background: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── Card de produto ────────────────────────────────────────── */
.product-card {
  border-radius: 14px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  transform: translateY(-3px);
}
.product-card.hidden { display: none; }

/* Thumbnail placeholder */
.product-thumb {
  background: #e0e2e5;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}
.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Conteúdo do card */
.product-info {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.product-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Meta info */
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}
.meta-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.5;
}
.meta-row dt { color: var(--gray-text); font-weight: 500; }
.meta-row dd { color: var(--black); }

/* Cores */
.product-colors { margin-bottom: 18px; }
.colors-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-text);
  margin-bottom: 8px;
}
.color-swatches { display: flex; gap: 5px; flex-wrap: wrap; }
.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.14);
  display: inline-block;
  cursor: default;
  transition: transform .15s;
  position: relative;
}
.color-swatch:hover { transform: scale(1.25); }

.color-swatch::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 10;
}
.color-swatch:hover::after { opacity: 1; }

/* CTA do card */
.product-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  font-size: 13.5px;
  padding: 11px 20px;
}

/* Estado vazio */
.cat-empty {
  text-align: center;
  color: var(--gray-text);
  font-size: 16px;
  padding: 64px 0;
  display: none;
}
.cat-empty.visible { display: block; }

/* Responsivo */
@media (max-width: 768px) {
  .cat-filters { position: static; }
  .filter-group { gap: 8px; }
  .filter-label { min-width: auto; width: 100%; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ─── Botão grade de tamanhos ────────────────────────────────── */
.size-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-text);
  cursor: pointer;
}
.size-guide-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ─── Modal de grade de tamanhos ─────────────────────────────── */
.size-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0,0,0,.45);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.size-modal.open {
  display: flex;
}
.size-modal-inner {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.size-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-text);
  padding: 4px;
  line-height: 1;
  font-size: 20px;
}
.size-modal-close:hover { color: var(--black); }
.size-modal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.size-modal-sub {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 20px;
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.size-table th {
  background: var(--accent-bg);
  font-weight: 700;
  text-align: center;
  padding: 8px 12px;
  border-bottom: 1.5px solid var(--border);
}
.size-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--body-text);
  text-align: center;
}
.size-table tr:last-child td { border-bottom: none; }
.size-table td:first-child {
  background: var(--accent-bg);
  font-weight: 700;
}
.size-table tr:hover td { background: var(--accent-bg); }
