@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

:root {
  --ink: #111111;
  --text: #303030;
  --muted: #6b6b6b;
  --brand: #8f231b;
  --brand-dark: #6f1a14;
  --olive: #626b3f;
  --aqua: #7fb3b2;
  --soft: #f6f6f3;
  --surface: #ffffff;
  --line: #dfdfd8;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: var(--soft);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--surface);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 7vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 64px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:not(.btn) {
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible,
.site-nav a[aria-current="page"]:not(.btn) {
  background: #f1f1ee;
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: var(--surface);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(143, 35, 27, 0.2);
}

.btn.light {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn.light:hover,
.btn.light:focus-visible {
  background: #f1f1ee;
  border-color: #c9c9c0;
  box-shadow: none;
}

.nav-cta[aria-current="page"] {
  outline: 3px solid rgba(143, 35, 27, 0.22);
  outline-offset: 2px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

:focus-visible {
  outline: 3px solid rgba(127, 179, 178, 0.8);
  outline-offset: 3px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

.hero,
.page-hero {
  padding: 82px 7vw;
  background: linear-gradient(135deg, #ffffff 0%, #f4f4ef 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  align-items: center;
  gap: 56px;
  min-height: 620px;
}

.page-hero {
  text-align: center;
}

.page-hero > div {
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1,
h2,
h3 {
  color: var(--ink);
}

h1 {
  max-width: 850px;
  margin: 0 0 22px;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.18;
}

.hero p.main,
.page-hero p.main {
  max-width: 690px;
  margin: 0;
  font-size: 20px;
}

.page-hero p.main {
  margin: 0 auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-hero .actions {
  justify-content: center;
}

.mock-card {
  padding: 22px;
  border-radius: 8px;
  background: #202020;
  box-shadow: var(--shadow);
}

.shirt-preview {
  display: flex;
  min-height: 390px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #3b3b3b, #151515);
}

.shirt-photo {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  border-radius: 8px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--surface);
  font-size: 13px;
}

section {
  padding: 78px 7vw;
}

.center {
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.trust-item {
  padding: 28px;
  background: var(--surface);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.trust-item span {
  color: var(--muted);
  line-height: 1.5;
}

.categories,
.products,
.steps {
  display: grid;
  gap: 22px;
}

.categories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cat,
.product,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.cat {
  position: relative;
  min-height: 245px;
  padding: 26px;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cat::after {
  content: "";
  position: absolute;
  inset: auto 20px 20px auto;
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand);
}

.cat:hover,
.cat:focus-visible {
  border-color: rgba(143, 35, 27, 0.35);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
  transform: translateY(-3px);
}

.cat-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f1ee;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.cat strong {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand);
}

.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
}

.product-img {
  display: flex;
  height: 280px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2d2d2d, #535353);
  color: var(--surface);
  font-size: 40px;
  font-weight: 900;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product:nth-child(2n) .product-img {
  background: linear-gradient(135deg, var(--olive), #373d28);
}

.product:nth-child(3n) .product-img {
  background: linear-gradient(135deg, var(--aqua), #486766);
}

.product:nth-child(4n) .product-img {
  background: linear-gradient(135deg, #7c7c72, #46463f);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.price {
  margin: 12px 0 2px;
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.product a.btn {
  width: 100%;
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 46px;
  align-items: center;
  background: var(--surface);
}

.feature-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 13px 0;
  border-bottom: 1px solid #eeeeea;
  font-weight: 800;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tech {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.tech strong,
.tech small {
  display: block;
}

.tech strong {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 22px;
}

.tech small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  padding: 24px;
}

.step span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-weight: 900;
}

.quote {
  background: #1d1d1d;
  color: var(--surface);
}

.quote .center h2,
.quote .center p {
  color: var(--surface);
}

form {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #d8d8d2;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border-color 160ms ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(127, 179, 178, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.form-status.error {
  color: var(--brand);
}

.form-status.success {
  color: var(--olive);
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 36px 7vw 28px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.footer-logo {
  width: auto;
  height: 52px;
}

.footer-brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-nav a {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.footer-nav a:hover {
  color: var(--brand);
  background: #f1f1ee;
}

.footer-tagline {
  margin: 0;
  font-size: 13px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 999px;
  background: #25d366;
  color: var(--surface);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.22);
  transition: background 160ms ease, transform 160ms ease;
}

.whatsapp:hover,
.whatsapp:focus-visible {
  background: #1fb85a;
  transform: scale(1.08);
}

@media (max-width: 1100px) {
  .site-header {
    position: relative;
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 7vw 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.1);
    backdrop-filter: blur(10px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    white-space: normal;
    padding: 12px 16px;
    border-radius: 8px;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .categories,
  .products,
    .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 52px;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 12px 22px;
  }

  .brand-logo {
    height: 56px;
  }

  .hero,
  .page-hero,
  section {
    padding: 54px 22px;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .categories,
  .products,
    .steps,
  .form-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .shirt-preview {
    min-height: 320px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero p.main,
  .page-hero p.main {
    font-size: 18px;
  }

  .actions,
  .actions .btn {
    width: 100%;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-nav {
    gap: 4px;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  /* Preserva as animações do slider com ID (#hero-slider) para garantir
     especificidade (0,1,x,x) > * (0,0,0,0), mesmo com !important em conflito */
  #hero-slider .hs-slide {
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }
  #hero-slider .hs-caption h2,
  #hero-slider .hs-caption p {
    transition: opacity 2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }
}

/* ── Hero Slider ─────────────────────────────────────────── */
.hero-slider {
  position: relative !important;
  width: 100%;
  height: 85vh;
  min-height: 480px;
  max-height: 800px;
  overflow: hidden;
  user-select: none;
  cursor: grab;
  /* anula o padding global da regra section{} */
  padding: 0 !important;
}

.hero-slider.is-dragging {
  cursor: grabbing;
}

.hs-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 0;
}

.hs-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* Animação em cascata da legenda */
.hs-caption h2,
.hs-caption p {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hs-slide.is-active .hs-caption h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.hs-slide.is-active .hs-caption p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hs-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, #c42b22 0%, #8f231b 40%, #2e0a08 100%);
  overflow: hidden;
}

.hs-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    120deg,
    rgba(255,255,255,0.07) 0px,
    rgba(255,255,255,0.07) 1px,
    transparent            1px,
    transparent            40px
  );
}

.hs-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent       0px,
    transparent       18px,
    rgba(0,0,0,0.07)  18px,
    rgba(0,0,0,0.07)  20px
  );
}

.hs-glow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(
    ellipse 70% 65% at 50% 45%,
    rgba(255,160,60,0.22) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hs-image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hs-image-wrap img,
.hs-image-wrap svg {
  max-height: 72%;
  max-width: 55%;
  object-fit: contain;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.55));
  animation: hs-float 6s ease-in-out infinite;
}

@keyframes hs-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hs-caption {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: rgba(255,255,255,0.90);
  pointer-events: none;
  white-space: nowrap;
}

.hs-caption h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 6px;
}

.hs-caption p {
  margin: 0;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  opacity: 0.82;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
}

.hs-arrow:hover {
  background: rgba(143,35,27,0.85);
  border-color: #8f231b;
  transform: translateY(-50%) scale(1.1);
}

.hs-arrow.prev { left: 20px; }
.hs-arrow.next { right: 20px; }

.hs-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.hs-dot.is-active {
  background: #ffffff;
  transform: scale(1.35);
}

.hs-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #8f231b;
  z-index: 10;
  transition: width linear;
}

@media (max-width: 600px) {
  .hero-slider {
    height: 70vh;
    min-height: 340px;
  }
  .hs-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .hs-arrow.prev { left: 10px; }
  .hs-arrow.next { right: 10px; }
  .hs-image-wrap img,
  .hs-image-wrap svg {
    max-width: 78%;
    max-height: 60%;
  }
  .hs-caption { bottom: 60px; white-space: normal; width: 90%; }
}
