/* SEZIL — saldo final de camisas sociais
   Identidade: etiqueta preta e branca em fonte condensada, um fio vermelho como único destaque.
   Elemento marcante: a fita de amostras de tecido. */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #f5f6f8;
  --white: #ffffff;
  --ink: #0d1424;
  --navy: #12244a;
  --thread: #c41e3a;
  --wa: #167a45;
  --wa-hover: #0f6338;
  --muted: #4f5a72;
  --line: #d6dae2;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--thread); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  font: 700 1.05rem/1.2 var(--font-body);
  text-decoration: none; border: 2px solid transparent; border-radius: 2px; cursor: pointer;
}
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #e8ecf5; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Topo */
.top { padding-block: 18px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tag {
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: 0.08em; line-height: 1;
  padding: 5px 12px 3px; background: var(--white); border: 2px solid var(--ink); text-decoration: none;
}
.top nav { display: flex; gap: 26px; align-items: center; }
.top nav a { text-decoration: none; font-weight: 500; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.top .btn { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
@media (max-width: 820px) { .top nav .nav-link { display: none; } }

/* Início */
.hero { padding-top: 28px; }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6.2rem); line-height: 0.9; letter-spacing: -0.005em; }
.hero p.lead { margin-top: 28px; max-width: 34em; font-size: 1.2rem; color: var(--muted); }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; max-height: 620px; object-fit: cover; object-position: 50% 20%; background: #dfe2ea; }
.hero-photo figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--muted); }
.hero-photo { margin: 0; }
@media (max-width: 860px) {
  .hero > .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-photo img { aspect-ratio: 4 / 5; max-height: 520px; }
}

/* Fita de amostras */
.ribbon { margin-top: 44px; background: var(--ink); padding-block: 18px 22px; }
.ribbon p { color: #d6dbe8; font-size: 0.95rem; margin-bottom: 12px; }
.swatches { display: flex; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.swatch {
  flex: none; width: 88px; height: 88px; border: 0; padding: 0; cursor: pointer;
  background-color: #888; background-repeat: no-repeat; background-size: 420%; background-position: 50% 54%;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
}
.swatch:hover { transform: translateY(-6px); }
.swatch:focus-visible { outline-color: #fff; z-index: 2; }
@media (prefers-reduced-motion: no-preference) { .swatch { transition: transform 0.15s; } }

/* Seções */
section { padding-block: 72px; }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
.section-head p { margin-top: 14px; color: var(--muted); }

/* Catálogo */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  font: 600 0.98rem/1 var(--font-body); padding: 12px 18px; cursor: pointer;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 2px;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 22px; list-style: none; margin: 0; padding: 0; }
.card[hidden] { display: none; }
.card { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; padding: 8px; margin: -8px; }
.card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; background: #dfe2ea; }
.card h3 { font-size: 1.55rem; }
.card .meta { color: var(--muted); font-size: 0.93rem; margin-top: -4px; }
.card .pedir {
  margin-top: auto; align-self: flex-start; font-weight: 700; text-decoration: underline; text-underline-offset: 5px;
  text-decoration-thickness: 2px; text-decoration-color: var(--wa); color: var(--ink);
}
.card .pedir:hover { color: var(--wa); }
.card.pulse { outline: 4px solid var(--thread); outline-offset: 0; }
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .card h3 { font-size: 1.25rem; }
  .card .meta { font-size: 0.85rem; }
  .card .pedir { font-size: 0.92rem; }
  section { padding-block: 52px; }
}
@media (prefers-reduced-motion: no-preference) {
  .card.pulse { animation: fio 1.6s ease-out 1; }
  @keyframes fio { 0% { outline-color: var(--thread); } 100% { outline-color: transparent; } }
}
.note { margin-top: 28px; color: var(--muted); font-size: 0.95rem; max-width: 46em; }

/* Preços */
.prices { background: var(--white); }
.prices .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .prices .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
th, td { padding: 14px 14px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { border-bottom: 2px solid var(--ink); font-weight: 700; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.lote td { background: var(--paper); font-weight: 600; }
caption { text-align: left; padding: 0 0 12px; color: var(--muted); font-size: 0.95rem; }

/* Lotes */
.lotes { background: var(--navy); color: #fff; }
.lotes .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
@media (max-width: 860px) { .lotes .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.lotes h2 { font-size: clamp(2.5rem, 6.4vw, 4.2rem); }
.lotes p { margin-top: 16px; color: #d6dcec; max-width: 34em; }
.lotes ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.lotes li { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); font-size: 1.1rem; }
.lotes li strong { display: block; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.01em; }
.lotes .btn { margin-top: 28px; }

/* Medidas */
.size-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .size-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.size-grid .tip { color: var(--muted); }
.size-grid .tip p + p { margin-top: 14px; }

/* Como comprar */
.steps { counter-reset: passo; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.steps li { counter-increment: passo; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(passo); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--thread); margin-bottom: 8px; }
.steps h3 { font-size: 1.7rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Perguntas */
.faq { background: var(--white); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--thread); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 46em; }
.faq .wrap { max-width: 860px; }

/* Chamada final e rodapé */
.final { padding-block: 72px; text-align: left; }
.final h2 { font-size: clamp(2.6rem, 7vw, 4.8rem); max-width: 14em; }
.final p { margin-top: 16px; color: var(--muted); max-width: 34em; }
.final .btn { margin-top: 28px; }
footer { background: var(--ink); color: #c9d0e0; padding-block: 34px; font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
footer .tag { color: var(--ink); }
