/*
Theme Name: ARVYN
Theme URI: https://arvynwear.com.br
Author: ARVYN
Description: Tema premium da ARVYN — roupas fitness para academia, corrida e crossfit. Landing page one-page com suporte completo a WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arvyn
Tags: e-commerce, one-column, dark, custom-menu
WC requires at least: 7.0
*/

:root {
  --bg: hsl(0 0% 7%);
  --surface: hsl(0 0% 10%);
  --surface-light: hsl(0 0% 13%);
  --border: hsl(0 0% 18%);
  --gold: hsl(40 55% 55%);
  --gold-light: hsl(40 60% 70%);
  --gold-dark: hsl(40 50% 40%);
  --text: hsl(0 0% 95%);
  --text-2: hsl(0 0% 70%);
  --text-muted: hsl(0 0% 50%);
  --gradient-gold: linear-gradient(135deg, #e0c285, #cba14d, #997733);
  --font-display: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --radius: 4px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold-light); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.text-gold { background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-sub { color: var(--text-2); max-width: 640px; margin: 0 auto 56px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s;
}
.btn-gold { background: linear-gradient(135deg, #cba14d, #997733); color: hsl(0 0% 7%); }
.btn-gold:hover { filter: brightness(1.15); color: hsl(0 0% 7%); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: hsl(0 0% 7%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: hsl(0 0% 7% / .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo img { height: 34px; width: auto; }
.main-nav ul { display: flex; gap: 32px; list-style: none; }
.main-nav a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.main-nav a:hover { color: var(--gold); }
.header-cta { margin-left: 24px; }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 80px;
  background-size: cover;
  background-position: center 20%;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, hsl(0 0% 7% / .92) 0%, hsl(0 0% 7% / .6) 55%, hsl(0 0% 7% / .3) 100%);
}
.hero .container { position: relative; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 24px; max-width: 720px; }
.hero p { color: var(--text-2); font-size: 18px; max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Grids e cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--gold-dark); transform: translateY(-4px); }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 15px; }

/* ---------- Categorias ---------- */
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.category-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, hsl(0 0% 5% / .95) 100%);
}
.category-body { position: relative; padding: 32px; }
.category-body h3 { font-size: 26px; margin-bottom: 10px; }
.category-body p { color: var(--text-2); font-size: 15px; margin-bottom: 20px; }

/* ---------- Produtos ---------- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: border-color .3s;
}
.product-card:hover { border-color: var(--gold-dark); }
.product-card .badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--gold);
  color: hsl(0 0% 7%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.product-card .thumb { aspect-ratio: 4/5; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-body { padding: 20px; }
.product-body h3 { font-family: var(--font-body); font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.product-body h3 a { color: var(--text); }
.product-body .price { color: var(--gold); font-weight: 600; font-size: 17px; }
.product-body .price del { color: var(--text-muted); font-weight: 400; margin-right: 8px; }
.product-body .btn { display: block; text-align: center; margin-top: 14px; padding: 11px; font-size: 12px; }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--surface); }
.manifesto-item { position: relative; padding: 40px 32px; }
.manifesto-item .num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: hsl(40 55% 55% / .12);
  position: absolute;
  top: 8px; right: 20px;
}
.manifesto-item h3 { font-size: 22px; margin-bottom: 14px; max-width: 90%; }
.manifesto-item p { color: var(--text-2); font-size: 15px; }

/* ---------- Tecido ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img img { border-radius: var(--radius); border: 1px solid var(--border); }
.feature-list { display: grid; gap: 24px; margin-top: 32px; }
.feature-list h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--gold); margin-bottom: 4px; }
.feature-list p { color: var(--text-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 22px; }
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details p { padding: 0 24px 20px; color: var(--text-2); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a, .footer-grid p { color: var(--text-2); font-size: 14px; }
.footer-logo img { height: 38px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--gold); margin-top: 12px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-muted); font-size: 13px; }

/* ---------- WooCommerce ---------- */
.woocommerce-page main, .single-product main, .archive.woocommerce main { padding-top: 110px; }
.woocommerce ul.products li.product { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding-bottom: 16px; overflow: hidden; text-align: center; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-body); font-size: 15px; color: var(--text); padding: 12px 12px 0; }
.woocommerce ul.products li.product .price { color: var(--gold); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt {
  background: linear-gradient(135deg, #cba14d, #997733);
  color: hsl(0 0% 7%);
  border-radius: var(--radius);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { filter: brightness(1.15); color: hsl(0 0% 7%); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--gold); }
.woocommerce div.product .product_title { color: var(--text); }
.woocommerce table.shop_table { border-color: var(--border); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 10px;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--gold); background: var(--surface); color: var(--text); }

/* ---------- Página interna ---------- */
.page-content { padding: 140px 24px 96px; max-width: 800px; margin: 0 auto; }
.page-content h1 { font-size: 38px; margin-bottom: 32px; }
.page-content h2 { font-size: 26px; margin: 32px 0 16px; }
.page-content p, .page-content li { color: var(--text-2); margin-bottom: 16px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: hsl(0 0% 7% / .98); border-bottom: 1px solid var(--border); padding: 24px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 18px; }
  .header-cta { display: none; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
}
