/* ==========================================================================
   Zep Uniformes — protótipo do site novo
   Direção: "etiqueta de fardamento" — a marca fabrica uniforme, e todo
   uniforme carrega uma etiqueta costurada. O sistema visual usa essa peça
   real (tag com borda tracejada, cantos, numeração tipo tamanho P/M/G)
   como motivo estrutural, não decoração solta.
   Paleta extraída do arquivo real da logo (LOGO-ZEP.png), não inventada.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;900&family=Big+Shoulders+Display:wght@600;800&display=swap');

:root {
  /* cores extraídas de assets/LOGO-ZEP.png */
  --navy: #0b0835;
  --navy-soft: #2c2860;
  --cream: #efe8dd;
  --cream-light: #fff8e9;
  --white: #ffffff;
  --red: #d23527;
  --red-dark: #a3281d;

  --font-display: 'Archivo', sans-serif;
  --font-tag: 'Big Shoulders Display', sans-serif;

  --container: 1180px;
  --radius: 3px;
  --stitch: repeating-linear-gradient(
    90deg,
    var(--navy) 0 6px,
    transparent 6px 12px
  );
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--cream);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

p { margin: 0; }

/* ---------- tipografia utilitária ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tag);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  padding: 4px 12px 4px 10px;
  border: 1.5px dashed var(--navy);
  border-radius: 2px;
  position: relative;
  background: var(--cream-light);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: var(--cream);
  flex: none;
}
.eyebrow--dark {
  color: var(--cream);
  border-color: var(--cream);
  background: rgba(255, 248, 233, 0.08);
}
.eyebrow--dark::before { border-color: var(--cream); background: transparent; }

.tag-number {
  font-family: var(--font-tag);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: var(--cream-light);
  box-shadow: 4px 4px 0 var(--navy);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--navy);
}
.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--on-dark { color: var(--cream); }
.btn--on-dark:hover { background: var(--cream); color: var(--navy); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--navy);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 14.5px;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 0.2s ease;
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 2px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */

.hero {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  border-bottom: 6px solid var(--red);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,232,221,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,232,221,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 56px;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin: 18px 0 22px;
  color: var(--cream-light);
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-copy p {
  font-size: 18px;
  max-width: 46ch;
  color: rgba(239,232,221,.85);
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo-frame {
  position: relative;
  border: 3px solid var(--cream);
  border-radius: 4px;
  overflow: hidden;
  width: min(360px, 90%);
  box-shadow: 10px 10px 0 rgba(210,53,39,.55);
}
.hero-photo-frame img { width: 100%; display: block; }
.hero-tag {
  position: absolute;
  bottom: -16px;
  left: -22px;
  background: var(--red);
  color: var(--cream-light);
  font-family: var(--font-tag);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 2px;
  border: 2px dashed var(--cream);
  transform: rotate(-4deg);
}

/* ---------- barra de prova social ---------- */

.proof-bar {
  background: var(--cream-light);
  border-bottom: 2px solid var(--navy);
  padding: 30px 0;
}
.proof-bar .proof-label {
  font-family: var(--font-tag);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 18px;
  text-align: center;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 10px;
}
.logo-chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 20px;
  padding: 7px 16px;
}
/* logo real do cliente (arquivo de marca, nao texto) */
.logo-img-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 8px 20px;
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 6px;
}
.logo-img-chip img {
  max-height: 100%;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.proof-stat {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.proof-stat .stat-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 22px;
  border-radius: 3px;
}
.proof-stat .stat-num {
  font-family: var(--font-tag);
  font-weight: 800;
  font-size: 30px;
  color: var(--red);
}
.proof-stat .stat-note {
  font-size: 11px;
  opacity: .65;
  margin-left: 6px;
}

/* ==========================================================================
   Seções gerais
   ========================================================================== */

section { padding: 84px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 46px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-top: 14px;
}
.section-head p { margin-top: 14px; font-size: 17px; color: var(--navy-soft); }
.section--dark { background: var(--navy); color: var(--cream); }
.section--dark .section-head p { color: rgba(239,232,221,.75); }

/* ---------- quem somos ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-grid .lede {
  font-size: 20px;
  line-height: 1.55;
}
.about-bullets { display: grid; gap: 18px; margin-top: 8px; }
.about-bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(11,8,53,.25);
}
.about-bullets li:last-child { border-bottom: 0; }
.about-bullets .num {
  font-family: var(--font-tag);
  font-weight: 800;
  color: var(--red);
  font-size: 22px;
  flex: none;
}
.pull-quote {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--red);
  background: var(--cream-light);
  font-size: 16px;
  font-style: normal;
  color: var(--navy-soft);
}

/* ---------- grade de segmentos ---------- */

.segments-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
.segment-card {
  position: relative;
  grid-column: span 2;
  border: 2px solid var(--navy);
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
}
.segment-card:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.segment-card:nth-child(4) { grid-column: span 3; }
.segment-card:nth-child(5) { grid-column: span 3; }
.segment-card:nth-child(7) {
  grid-column: span 2;
  background: var(--red);
}
.segment-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 0.4s ease;
}
.segment-card:hover img { transform: scale(1.05); }
.segment-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,8,53,.92) 0%, rgba(11,8,53,.15) 55%, rgba(11,8,53,.05) 100%);
}
.segment-card-body {
  position: relative;
  padding: 16px 18px;
  color: var(--cream-light);
  width: 100%;
}
.segment-card-num {
  font-family: var(--font-tag);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  opacity: .75;
}
.segment-card-title {
  font-weight: 800;
  font-size: 19px;
  margin-top: 4px;
  line-height: 1.15;
}
.segment-card:nth-child(1) .segment-card-title { font-size: 26px; }
.segment-card-clients {
  font-size: 12.5px;
  opacity: .7;
  margin-top: 4px;
}
@media (max-width: 900px) {
  /* uma coluna: card estreito (2 col) espremia titulo de 3 linhas por cima da foto */
  .segments-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .segment-card, .segment-card:nth-child(1), .segment-card:nth-child(4),
  .segment-card:nth-child(5), .segment-card:nth-child(7) { grid-column: span 1; grid-row: span 1; }

  /* separa foto (visivel inteira) de texto (fundo solido, sem depender de gradiente) */
  .segment-card { flex-direction: column; align-items: stretch; }
  .segment-card img { position: static; height: 220px; width: 100%; filter: none; }
  .segment-card::before { content: none; }
  .segment-card-body { position: static; background: var(--navy); padding: 16px 20px 20px; }
  .segment-card:nth-child(1) .segment-card-title { font-size: 21px; }
  /* card 7 (Educacao) nao tem foto - o card--empty da CSS nunca foi aplicado no
     HTML, o vermelho de destaque vem do nth-child(7) mesmo; sem isso aqui o
     painel de texto (navy) cobria o card inteiro e escondia o vermelho */
  .segment-card:nth-child(7) { min-height: 150px; justify-content: center; }
  .segment-card:nth-child(7) .segment-card-body { background: transparent; }
}

/* ---------- como funciona ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--navy);
}
.step {
  padding: 26px 22px 26px 0;
  border-right: 1px dashed rgba(11,8,53,.3);
}
.step:last-child { border-right: 0; }
.step .step-num {
  font-family: var(--font-tag);
  font-size: 46px;
  font-weight: 800;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--navy-soft); line-height: 1.55; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px dashed rgba(11,8,53,.3); padding: 22px 0; }
}

/* ---------- por que a zep ---------- */

.diff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(239,232,221,.15);
  border: 2px solid rgba(239,232,221,.25);
}
.diff-item {
  background: var(--navy);
  padding: 28px 26px;
}
.diff-item h3 {
  font-size: 18px;
  color: var(--red);
  margin-bottom: 10px;
}
.diff-item p { font-size: 14.5px; color: rgba(239,232,221,.8); }

@media (max-width: 760px) { .diff-list { grid-template-columns: 1fr; } }

/* ---------- fábrica ---------- */

.factory {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.factory-visual { display: flex; justify-content: center; position: relative; }

/* ---------- vitrine ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border: 2px solid var(--navy);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}
.gallery-item img { aspect-ratio: 3/4; object-fit: cover; }
.gallery-cap {
  padding: 10px 12px;
  font-family: var(--font-tag);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-top: 1.5px dashed var(--navy);
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Formulário
   ========================================================================== */

.form-section { background: var(--cream-light); border-top: 2px solid var(--navy); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-form {
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 4px;
  padding: 26px;
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 18px; bottom: 18px; left: 0;
  width: 4px;
  background: var(--stitch);
  background-size: 4px 12px;
  background-repeat: repeat-y;
  opacity: .4;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy-soft);
}
.field input,
.field select {
  font-family: var(--font-display);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid rgba(11,8,53,.35);
  border-radius: 3px;
  background: var(--cream-light);
  color: var(--navy);
}
.field input:focus,
.field select:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--navy-soft);
  margin-top: 4px;
}
.field-check input { margin-top: 3px; }
.field-note {
  font-size: 11.5px;
  color: var(--navy-soft);
  opacity: .8;
}

.contact-info { display: grid; gap: 26px; align-content: start; }
.contact-info .info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(11,8,53,.25);
}
.contact-info .info-row:last-child { border-bottom: 0; }
.contact-info .info-row strong { display: block; font-size: 15px; }
.contact-info .info-row span { font-size: 14px; color: var(--navy-soft); }
.contact-info svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--red); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: rgba(239,232,221,.7);
  padding: 46px 0 26px;
  font-size: 13.5px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 26px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(239,232,221,.15);
}
.footer-logo { height: 38px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.footer-links a:hover { color: var(--cream-light); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Página de categoria
   ========================================================================== */

.cat-hero {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 6px solid var(--red);
  position: relative;
  overflow: hidden;
}
.cat-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}
.cat-breadcrumb {
  font-size: 13px;
  color: rgba(239,232,221,.6);
  margin-bottom: 20px;
}
.cat-breadcrumb a:hover { color: var(--cream-light); }
.cat-hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  margin: 16px 0 18px;
  color: var(--cream-light);
}
.cat-hero p { font-size: 17px; color: rgba(239,232,221,.82); max-width: 44ch; }
.cat-hero-photo {
  border: 3px solid var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(210,53,39,.5);
}
.cat-hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.client-strip {
  padding: 40px 0;
  border-bottom: 2px solid var(--navy);
}
.client-strip .proof-label { text-align: left; margin-bottom: 14px; }
.client-strip .logo-row { justify-content: flex-start; }

.cat-cta {
  background: var(--red);
  color: var(--cream-light);
  padding: 60px 0;
  text-align: center;
}
.cat-cta h2 { color: var(--cream-light); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.cat-cta p { margin-top: 12px; opacity: .9; }
.cat-cta .hero-actions { justify-content: center; margin-top: 26px; }
.cat-cta .btn--primary { background: var(--navy); box-shadow: 4px 4px 0 var(--cream-light); }
.cat-cta .btn--primary:hover { box-shadow: 6px 6px 0 var(--cream-light); }
.cat-cta .btn--ghost { border-color: var(--cream-light); color: var(--cream-light); }
.cat-cta .btn--ghost:hover { background: var(--cream-light); color: var(--red); }

.other-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.other-segments a {
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 14px;
  border: 1.5px solid var(--navy);
  border-radius: 20px;
}
.other-segments a:hover { background: var(--navy); color: var(--cream); }
.other-segments a.is-current { background: var(--navy); color: var(--cream); }

/* ==========================================================================
   Utilidades / responsivo
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero .wrap, .cat-hero .wrap, .about-grid, .factory, .form-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 56px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  /* cabecalho mobile/tablet: logo centralizada e maior, so o menu a direita */
  .site-header .wrap {
    position: relative;
    justify-content: flex-end;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .brand img { height: 60px; }
  .header-actions .btn--primary { display: none; }

  /* eyebrow (hero e secoes): em 15px/0.14em o texto longo quebrava em 2 linhas
     e a caixa esticava pra largura toda, perdendo a cara de etiqueta pequena */
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 5px 10px 5px 8px;
    gap: 6px;
  }

  /* stat "+1100 empresas": baseline com 3 itens de altura diferente
     (numero grande, texto que quebra linha, nota pequena) ficava desalinhado */
  .proof-stat .stat-box {
    flex-wrap: wrap;
    row-gap: 4px;
    padding: 14px 18px;
  }
  .proof-stat .stat-note {
    display: block;
    width: 100%;
    margin-left: 0;
  }

}

/* menu mobile aberto via JS (adiciona .nav-open no body) */
body.nav-open .main-nav {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 2px solid var(--navy);
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 28px 24px;
  gap: 16px;
}
