/*
Theme Name: Rua Sacra
Theme URI: https://santotraco.com.br
Author: Rua Sacra
Description: Tema WooCommerce streetwear cristão, leve e responsivo.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: santo-traco
*/

:root {
  --st-ink: #0b0b0c;
  --st-paper: #f5f2ea;
  --st-white: #fff;
  --st-wine: #982348;
  --st-wine-dark: #66162f;
  --st-gold: #d1a046;
  --st-gray: #737373;
  --st-line: rgba(11, 11, 12, .15);
  --st-radius: 18px;
  --st-max: 1440px;
  --st-shadow: 0 24px 80px rgba(0, 0, 0, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--st-ink);
  background: var(--st-white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .st-header { top: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.st-shell { width: min(calc(100% - 40px), var(--st-max)); margin-inline: auto; }
.st-display { font-family: Impact, "Arial Narrow", sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.st-marquee { overflow: hidden; color: #fff; background: var(--st-ink); border-bottom: 1px solid rgba(255,255,255,.16); }
.st-marquee--accent { background: var(--st-wine); }
.st-marquee__track { display: flex; width: max-content; animation: st-marquee 24s linear infinite; }
.st-marquee__group { display: flex; flex: none; align-items: center; gap: 54px; padding: 11px 27px; font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.st-marquee__group span::after { content: "✦"; margin-left: 54px; color: var(--st-gold); }
@keyframes st-marquee { to { transform: translateX(-50%); } }

.st-header { position: sticky; top: 0; z-index: 70; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--st-line); backdrop-filter: blur(16px); }
.st-header__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 28px; }
.st-logo img { width: 250px; height: 74px; object-fit: contain; }
.st-search { display: flex; max-width: 320px; border-bottom: 1px solid var(--st-ink); }
.st-search input { min-width: 0; width: 100%; padding: 10px 2px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.st-search button, .st-icon-button { display: grid; place-items: center; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.st-header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.st-header__actions svg, .st-search svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.st-account-label { font-size: 12px; font-weight: 700; }
.st-cart-count { display: grid; place-items: center; min-width: 19px; height: 19px; margin-left: -12px; margin-top: -22px; border-radius: 50%; color: #fff; background: var(--st-wine); font-size: 10px; font-weight: 900; }
.st-menu-toggle { display: none; }
.st-nav { border-top: 1px solid var(--st-line); }
.st-nav ul { display: flex; justify-content: center; gap: clamp(24px, 4vw, 64px); margin: 0; padding: 15px 0; list-style: none; }
.st-nav a { position: relative; font-size: 12px; font-weight: 850; letter-spacing: .02em; text-transform: uppercase; }
.st-nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; content: ""; background: var(--st-wine); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.st-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.st-hero { position: relative; min-height: min(760px, calc(100svh - 146px)); overflow: hidden; color: #fff; background: #111 center/cover no-repeat; }
.st-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(3,3,4,.9) 0%, rgba(3,3,4,.58) 34%, rgba(3,3,4,.05) 68%); }
.st-hero__content { position: relative; z-index: 1; display: flex; min-height: inherit; align-items: center; }
.st-hero__copy { width: min(620px, 62vw); padding: 72px 0 92px; }
.st-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 12px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.st-kicker::before { width: 42px; height: 3px; content: ""; background: var(--st-gold); }
.st-hero h1 { max-width: 740px; margin: 0; font-size: clamp(64px, 8vw, 126px); line-height: .84; }
.st-hero p { max-width: 530px; margin: 28px 0 36px; color: rgba(255,255,255,.82); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; }
.st-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 28px; border: 1px solid var(--st-ink); border-radius: 0; color: #fff; background: var(--st-ink); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.st-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { color: #fff; background: var(--st-wine); transform: translateY(-2px); }
.st-button--light { border-color: #fff; color: var(--st-ink); background: #fff; }
.st-button--light:hover { color: #fff; background: var(--st-wine); }

.st-benefits { border-bottom: 1px solid var(--st-line); background: var(--st-paper); }
.st-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.st-benefit { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 15px; min-height: 105px; padding: 20px clamp(14px, 2vw, 30px); border-right: 1px solid var(--st-line); }
.st-benefit:last-child { border-right: 0; }
.st-benefit svg { width: 32px; height: 32px; stroke: var(--st-wine); fill: none; stroke-width: 1.7; }
.st-benefit strong { display: block; margin-bottom: 5px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.st-benefit span { color: var(--st-gray); font-size: 12px; }

.st-section { padding: clamp(72px, 8vw, 130px) 0; }
.st-section--dark { color: #fff; background: var(--st-ink); }
.st-section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.st-section__head h2 { max-width: 720px; margin: 0; font-size: clamp(48px, 6vw, 86px); line-height: .92; }
.st-section__head p { max-width: 460px; margin: 0; color: var(--st-gray); line-height: 1.6; }
.st-text-link { padding-bottom: 6px; border-bottom: 2px solid var(--st-wine); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.st-product-grid, .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 !important; padding: 0; }
.st-product-card, .woocommerce ul.products li.product { position: relative; float: none !important; width: auto !important; margin: 0 !important; }
.st-product-card__media, .woocommerce ul.products li.product a img { position: relative; overflow: hidden; aspect-ratio: 4/5; margin: 0 0 18px !important; background: #eeeae3; object-fit: cover; }
.st-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.st-product-card:hover img { transform: scale(1.035); }
.st-product-card__tag, .woocommerce span.onsale { position: absolute; z-index: 2; top: 12px; left: 12px; min-height: auto; min-width: auto; margin: 0; padding: 7px 10px; border-radius: 0; color: #fff; background: var(--st-wine); font-size: 10px; font-weight: 900; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.st-product-card h3, .woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 850; text-transform: uppercase; }
.st-product-card__price, .woocommerce ul.products li.product .price { color: var(--st-ink); font-size: 15px; font-weight: 900; }
.st-product-card__installments { margin-top: 5px; color: var(--st-gray); font-size: 11px; }
.woocommerce ul.products li.product .button { width: 100%; margin-top: 14px; }

.st-manifesto { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 720px; }
.st-manifesto__image { min-height: 620px; background: center/cover no-repeat; }
.st-manifesto__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(56px, 8vw, 130px); color: #fff; background: var(--st-wine); }
.st-manifesto__number { margin-bottom: 70px; color: rgba(255,255,255,.5); font-weight: 900; letter-spacing: .2em; }
.st-manifesto h2 { margin: 0; font-size: clamp(54px, 6vw, 98px); line-height: .88; }
.st-manifesto p { max-width: 520px; margin: 30px 0 38px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.7; }

.st-newsletter { padding: clamp(70px, 8vw, 120px) 0; color: #fff; text-align: center; background: var(--st-wine); }
.st-newsletter h2 { margin: 0; font-size: clamp(56px, 8vw, 112px); line-height: .9; }
.st-newsletter p { margin: 22px auto 28px; color: rgba(255,255,255,.8); }
.st-newsletter form { display: flex; width: min(100% - 40px, 580px); margin: auto; border: 1px solid rgba(255,255,255,.75); }
.st-newsletter input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border: 0; outline: 0; color: #fff; background: transparent; }
.st-newsletter input::placeholder { color: rgba(255,255,255,.65); }
.st-newsletter button { min-width: 120px; border: 0; color: var(--st-ink); background: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; cursor: pointer; }

.st-footer { color: #fff; background: #111; }
.st-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 70px; padding: 78px 0 60px; }
.st-footer__brand img { width: 210px; margin-bottom: 26px; filter: invert(1) grayscale(1) brightness(2); }
.st-footer__brand p { max-width: 440px; color: #aaa; font-size: 13px; line-height: 1.7; }
.st-footer h3 { margin: 0 0 22px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.st-footer ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.st-footer li, .st-footer a { color: #aaa; font-size: 12px; }
.st-footer a:hover { color: #fff; }
.st-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); color: #777; font-size: 11px; }
.st-payment-list { display: flex; gap: 8px; }
.st-payment-list span { padding: 6px 8px; border: 1px solid rgba(255,255,255,.22); color: #bbb; font-size: 9px; font-weight: 900; }

.st-page { min-height: 50vh; padding: 70px 0 110px; }
.st-page h1, .woocommerce-products-header__title { margin: 0 0 48px; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(48px, 7vw, 92px); line-height: .9; text-transform: uppercase; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 28px; color: #777; font-size: 11px; text-transform: uppercase; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(40px, 7vw, 110px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; }
.woocommerce div.product .product_title { font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(46px, 5vw, 76px); line-height: .92; text-transform: uppercase; }
.woocommerce div.product p.price { color: var(--st-wine); font-size: 28px; font-weight: 900; }
.woocommerce div.product form.cart .variations select, .woocommerce div.product form.cart input.qty { min-height: 48px; border: 1px solid var(--st-line); background: #fff; }
.woocommerce div.product form.cart .button { min-height: 54px; background: var(--st-wine); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--st-wine); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--st-wine); }

@media (max-width: 980px) {
  body.admin-bar .st-header { top: 46px; }
  .st-header__main { grid-template-columns: auto 1fr auto; min-height: 76px; }
  .st-logo { justify-self: center; }
  .st-logo img { width: 180px; height: 58px; }
  .st-search, .st-account-label { display: none; }
  .st-menu-toggle { display: grid; }
  .st-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: #fff; box-shadow: var(--st-shadow); }
  .st-nav.is-open { display: block; }
  .st-nav ul { flex-direction: column; align-items: center; padding: 26px; }
  .st-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .st-benefit:nth-child(2) { border-right: 0; }
  .st-benefit:nth-child(-n+2) { border-bottom: 1px solid var(--st-line); }
  .st-product-grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .st-manifesto { grid-template-columns: 1fr; }
  .st-manifesto__image { min-height: 70vw; }
  .st-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .st-footer__brand { grid-column: 1/-1; }
  .woocommerce div.product { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .st-shell { width: min(calc(100% - 28px), var(--st-max)); }
  .st-marquee__group { gap: 34px; padding: 9px 17px; font-size: 10px; }
  .st-marquee__group span::after { margin-left: 34px; }
  .st-logo img { width: 145px; }
  .st-header__actions .st-icon-button:first-child { display: none; }
  .st-hero { min-height: 690px; background-position: 68% center; }
  .st-hero::before { background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.88) 70%); }
  .st-hero__content { align-items: end; }
  .st-hero__copy { width: 100%; padding-bottom: 58px; }
  .st-hero h1 { font-size: 64px; }
  .st-hero p { font-size: 15px; }
  .st-benefits__grid { grid-template-columns: 1fr; }
  .st-benefit { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--st-line); }
  .st-section__head { display: grid; }
  .st-section__head h2 { font-size: 52px; }
  .st-product-grid, .woocommerce ul.products { gap: 14px; }
  .st-product-card h3, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 11px; }
  .st-manifesto__content { padding: 58px 26px; }
  .st-manifesto__number { margin-bottom: 36px; }
  .st-newsletter form { width: calc(100% - 28px); }
  .st-newsletter button { min-width: 92px; }
  .st-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; padding-top: 56px; }
  .st-footer__brand { grid-column: 1/-1; }
  .st-footer__bottom { flex-direction: column; }
}

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