/* =========================================================
   MEN'S 18K — ESTILOS COMPARTILHADOS
   Altere as variáveis abaixo para atualizar toda a identidade.
   ========================================================= */
:root {
  --black: #050505;
  --black-2: #101010;
  --graphite: #181818;
  --gold: #d4af37;
  --gold-light: #f3d675;
  --gold-dark: #8a681b;
  --warm-white: #f7f3e8;
  --gray: #a6a6a6;
  --whatsapp: #25d366;
  --line: rgba(212,175,55,.2);
  --shadow: 0 24px 70px rgba(0,0,0,.38);
  --title: "Cinzel", serif;
  --body: "Inter", sans-serif;
  --container: 1240px;
}

/* RESET E ACESSIBILIDADE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; overflow-x: hidden; color: var(--warm-white); background: var(--black); font-family: var(--body); line-height: 1.65; }
body.menu-open, body.drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--title); line-height: 1.08; }
h1 { font-size: clamp(3rem,6vw,6.4rem); letter-spacing: -.04em; }
h2 { margin-bottom: 22px; font-size: clamp(2.2rem,4.2vw,4.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
p { color: var(--gray); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.container { width: min(calc(100% - 40px),var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 5000; padding: 12px 18px; color: var(--black); background: var(--gold-light); font-weight: 700; }
.skip-link:focus { top: 20px; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 4000; height: 3px; background: linear-gradient(90deg,var(--gold-dark),var(--gold-light)); transform: scaleX(0); transform-origin: left; }
.page-transition { position: fixed; inset: 0; z-index: 6000; pointer-events: none; background: var(--black); opacity: 0; transition: opacity 180ms ease; }
.page-transition.active { opacity: 1; }

/* TEXTOS AUXILIARES */
.eyebrow, .kicker { margin-bottom: 16px; color: var(--gold); font-size: .67rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.section-heading { max-width: 680px; }
.section-heading.center { max-width: 850px; margin: 0 auto 55px; text-align: center; }
.section-heading > p:not(.kicker) { font-size: 1rem; }
.gold-text { color: var(--gold-light); }
.note { color: #777; font-size: .67rem; }

/* BOTÕES */
.button { position: relative; display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; overflow: hidden; padding: 13px 22px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: transform 180ms ease,box-shadow 180ms ease,background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--black); background: var(--gold); }
.button-gold:hover { background: var(--gold-light); box-shadow: 0 0 28px rgba(212,175,55,.22); }
.button-dark { border-color: var(--line); background: rgba(5,5,5,.7); }
.button-whatsapp { color: #07160c; background: var(--whatsapp); }
.button-ripple { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); pointer-events: none; transform: translate(-50%,-50%) scale(0); animation: ripple 600ms ease-out forwards; }
@keyframes ripple { to { opacity: 0; transform: translate(-50%,-50%) scale(25); } }

/* =========================================================
   CABEÇALHO GLOBAL
   ========================================================= */
.benefit-bar { padding: 8px 20px; color: var(--black); background: var(--gold); font-size: .6rem; font-weight: 700; letter-spacing: .09em; text-align: center; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 2000; border-bottom: 1px solid transparent; background: rgba(5,5,5,.8); backdrop-filter: blur(16px); transition: 180ms ease; }
.site-header.scrolled { border-color: var(--line); background: rgba(5,5,5,.94); }
.header-inner { display: flex; min-height: 78px; align-items: center; gap: 25px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.brand strong { display: block; color: var(--gold-light); font-family: var(--title); font-size: 1.06rem; }
.brand small { display: block; color: #777; font-size: .48rem; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; gap: 20px; margin-left: auto; }
.main-nav a { color: #ccc; font-size: .67rem; font-weight: 600; }
.main-nav a:hover,.main-nav a.active { color: var(--gold-light); }
.header-actions { display: flex; align-items: center; gap: 7px; }
.icon-button { position: relative; display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--warm-white); cursor: pointer; background: transparent; }
.cart-count { position: absolute; top: -4px; right: -4px; display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 50%; color: var(--black); background: var(--gold); font-size: .56rem; font-weight: 800; }
.menu-toggle { display: none; }

/* =========================================================
   HOME E HERO
   ========================================================= */
.hero { position: relative; min-height: 780px; overflow: hidden; background: var(--black); }
.hero-background { position: absolute; inset: 0; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(.75); }
.hero-background::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,rgba(5,5,5,.96) 8%,rgba(5,5,5,.64) 55%,rgba(5,5,5,.2)); }
.hero-content { position: relative; z-index: 2; display: flex; min-height: 780px; flex-direction: column; justify-content: center; }
.hero-content h1 { max-width: 830px; }
.hero-content h1 span { color: var(--gold-light); }
.hero-content > p:not(.eyebrow) { max-width: 610px; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 45px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-benefits span { color: #c8c8c8; font-size: .69rem; }
.hero-benefits i { margin-right: 7px; color: var(--gold); font-style: normal; }
.hero-glow { position: absolute; right: 10%; bottom: 15%; width: 160px; height: 160px; border-radius: 50%; background: rgba(212,175,55,.08); filter: blur(35px); }

/* CATEGORIAS, PRODUTOS E CARDS */
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.category-card { position: relative; min-height: 360px; overflow: hidden; border: 1px solid var(--line); }
.category-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.75); transition: transform 600ms ease; }
.category-card:hover img { transform: scale(1.045); }
.category-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,transparent 35%,rgba(5,5,5,.9)); }
.category-card div { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 2; }
.category-card span { color: var(--gold); font-size: .59rem; text-transform: uppercase; }
.category-card h3 { margin: 5px 0 0; font-size: 1.45rem; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.product-card { position: relative; border: 1px solid rgba(255,255,255,.08); background: var(--black-2); }
.product-image { position: relative; aspect-ratio: 1/1.14; overflow: hidden; background: #111; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease,opacity 250ms ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-badge { position: absolute; top: 11px; left: 11px; z-index: 2; padding: 5px 8px; color: var(--black); background: var(--gold); font-size: .52rem; font-weight: 800; text-transform: uppercase; }
.product-info { padding: 18px; }
.product-info small { color: var(--gold); font-size: .57rem; text-transform: uppercase; }
.product-info h3 { margin: 6px 0 9px; font-size: 1rem; }
.product-info p { margin: 0 0 13px; font-size: .72rem; }
.product-actions { display: grid; grid-template-columns: 1fr 45px; gap: 7px; }
.product-actions .button { min-height: 43px; padding: 10px; font-size: .61rem; }
.add-icon { display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); cursor: pointer; background: transparent; }
.section-footer { margin-top: 38px; text-align: center; }

/* BANNERS E DIFERENCIAIS */
.dark-section { background: var(--black-2); }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { min-height: 230px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-card span { color: var(--gold); font-size: 1.4rem; }
.feature-card h3 { margin: 45px 0 9px; }
.feature-card p { margin: 0; font-size: .73rem; }
.cinematic-banner { position: relative; min-height: 520px; overflow: hidden; }
.cinematic-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.35) saturate(.7); }
.cinematic-banner::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,rgba(5,5,5,.92),rgba(5,5,5,.28)); }
.banner-content { position: relative; z-index: 2; display: flex; min-height: 520px; flex-direction: column; justify-content: center; }
.banner-content h2 { max-width: 720px; }
.banner-content p { max-width: 570px; }
.instagram-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.instagram-grid a { position: relative; aspect-ratio: 1; overflow: hidden; }
.instagram-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.instagram-grid a:hover img { transform: scale(1.04); }

/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */
.inner-hero { position: relative; padding: 115px 0 80px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 20%,rgba(212,175,55,.1),transparent 30%),var(--black-2); }
.inner-hero h1 { max-width: 950px; font-size: clamp(2.7rem,5vw,5.4rem); }
.inner-hero p { max-width: 680px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 25px; color: #777; font-size: .62rem; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.catalog-toolbar { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin-bottom: 28px; }
.field-control { min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 3px; color: var(--warm-white); background: var(--black-2); }
.results-count { margin-bottom: 18px; color: #777; font-size: .68rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.filter-chip { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: #aaa; cursor: pointer; background: transparent; font-size: .64rem; }
.filter-chip.active { color: var(--black); background: var(--gold); }
.empty-state { grid-column: 1/-1; padding: 70px 20px; border: 1px dashed var(--line); text-align: center; }
.empty-state h2 { font-size: 2rem; }
.skeleton { min-height: 370px; background: linear-gradient(90deg,#111 25%,#1a1a1a 50%,#111 75%); background-size: 200% 100%; animation: skeleton 1.3s infinite; }
@keyframes skeleton { to { background-position: -200% 0; } }
.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: start; }
.content-card { padding: 28px; border: 1px solid var(--line); background: var(--black-2); }
.content-card h3 { color: var(--gold-light); }
.content-card p,.content-card li { color: var(--gray); font-size: .79rem; }
.editorial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }

/* PRODUTO */
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.gallery-main { position: relative; overflow: hidden; aspect-ratio: 1/1.05; cursor: zoom-in; background: var(--black-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.gallery-main.zoomed img { transform: scale(1.7); cursor: zoom-out; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 8px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); cursor: pointer; background: none; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-panel { position: sticky; top: 115px; }
.product-panel .sku { color: #777; font-size: .61rem; }
.product-price { margin: 20px 0; color: var(--gold-light); font-family: var(--title); font-size: 1.45rem; }
.variation-group { margin: 20px 0; }
.variation-group label { display: block; margin-bottom: 8px; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.quantity-control { display: inline-grid; grid-template-columns: 42px 55px 42px; min-height: 45px; border: 1px solid var(--line); }
.quantity-control button,.quantity-control input { border: 0; color: var(--warm-white); background: transparent; text-align: center; }
.product-buttons { display: grid; gap: 8px; margin-top: 22px; }

/* CARRINHO E FINALIZAÇÃO */
.cart-layout,.checkout-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 45px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 105px 1fr auto; gap: 17px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 105px; height: 115px; object-fit: cover; }
.cart-item h3 { margin-bottom: 5px; font-size: .95rem; }
.cart-item p { margin: 0; font-size: .66rem; }
.remove-item { border: 0; color: #d98d8d; cursor: pointer; background: transparent; }
.summary-card { position: sticky; top: 115px; padding: 28px; border: 1px solid var(--line); background: var(--black-2); }
.summary-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .75rem; }
.form-grid { display: grid; gap: 15px; }
.form-field label { display: block; margin-bottom: 6px; font-size: .65rem; font-weight: 700; }
.form-field input,.form-field select,.form-field textarea { width: 100%; min-height: 48px; padding: 11px; border: 1px solid var(--line); color: var(--warm-white); background: var(--black); }
.form-field textarea { resize: vertical; }
.error-text { min-height: 16px; margin: 3px 0 0; color: #f39b9b; font-size: .6rem; }
.checkout-warning { padding: 15px; border-left: 3px solid var(--gold); color: #aaa; background: rgba(212,175,55,.07); font-size: .68rem; }

/* CARRINHO LATERAL E TOAST */
.drawer-backdrop { position: fixed; inset: 0; z-index: 2500; background: rgba(0,0,0,.7); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 2600; width: min(430px,100%); padding: 25px; overflow-y: auto; background: var(--black-2); box-shadow: -20px 0 70px rgba(0,0,0,.45); transform: translateX(100%); transition: transform 240ms ease; }
.cart-drawer.open { transform: none; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.drawer-close { border: 0; color: var(--warm-white); cursor: pointer; background: none; font-size: 1.5rem; }
.drawer-footer { display: grid; gap: 8px; margin-top: 20px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 5000; max-width: 340px; padding: 15px 18px; border: 1px solid var(--line); color: var(--warm-white); background: var(--graphite); box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: 220ms ease; }
.toast.show { opacity: 1; transform: none; }

/* FAQ */
.faq-search { width: 100%; min-height: 50px; margin-bottom: 25px; padding: 12px 15px; border: 1px solid var(--line); color: var(--warm-white); background: var(--black-2); }
.faq-group { margin-bottom: 35px; }
.faq-group > h2 { color: var(--gold); font-size: 1.2rem; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-family: var(--title); font-size: .92rem; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--gold); font-family: var(--body); }
.accordion details p { margin: -3px 40px 22px 0; font-size: .75rem; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer { padding: 75px 0 24px; border-top: 1px solid var(--line); background: var(--black-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 40px; }
.footer-brand img { width: 80px; height: 80px; border-radius: 50%; }
.footer-brand p { max-width: 250px; margin-top: 15px; font-size: .7rem; }
.footer-grid h2 { color: var(--gold); font-family: var(--body); font-size: .59rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a,.footer-grid span { display: block; margin-bottom: 8px; color: #777; font-size: .64rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #555; font-size: .58rem; }
.kyvion-link { color: #aaa !important; }
.kyvion-link:hover { color: var(--gold-light) !important; }
.mobile-whatsapp { position: fixed; right: 14px; bottom: 14px; z-index: 1800; display: grid; width: 55px; height: 55px; place-items: center; border-radius: 50%; color: #07160c; background: var(--whatsapp); box-shadow: 0 12px 35px rgba(37,211,102,.24); font-weight: 900; }

/* ANIMAÇÕES */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease,transform 650ms cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* TABLET */
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .main-nav.open { position: fixed; top: 108px; right: 0; left: 0; display: grid; gap: 0; padding: 12px 20px 25px; border-bottom: 1px solid var(--line); background: rgba(5,5,5,.98); }
  .main-nav.open a { min-height: 48px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .category-grid,.product-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .process-list { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2,1fr); }
  .footer-grid > div:nth-child(4),.footer-grid > div:nth-child(5) { display: none; }
}

/* CELULAR */
@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px),var(--container)); }
  .section { padding: 75px 0; }
  h1 { font-size: clamp(2.8rem,14vw,4.4rem); }
  h2 { font-size: clamp(2.1rem,10vw,3.2rem); }
  .benefit-bar { font-size: .52rem; }
  .header-inner { min-height: 68px; }
  .brand img { width: 45px; height: 45px; }
  .brand small { display: none; }
  .header-actions .button-whatsapp { display: none; }
  .hero,.hero-content { min-height: 680px; }
  .hero-background::after { background: linear-gradient(90deg,rgba(5,5,5,.94),rgba(5,5,5,.52)); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-benefits { gap: 12px; flex-direction: column; }
  .category-grid,.product-grid,.editorial-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 330px; }
  .feature-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: 1fr 1fr; }
  .inner-hero { padding: 85px 0 60px; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .content-grid,.product-detail,.cart-layout,.checkout-layout { grid-template-columns: 1fr; gap: 45px; }
  .product-panel,.summary-card { position: static; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item img { width: 80px; height: 90px; }
  .cart-item .remove-item { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
  .mobile-whatsapp { bottom: 12px; }
}

/* Preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}
