/* ============================================================
   BLACK — Luxo e no Estilo
   Boutique editorial · preto profundo + marfim + champagne (fio)
   Tipografia: Cormorant Garamond (display) + Inter (interface)
   ============================================================ */

:root {
  --ink:        #0E0E0F;   /* preto tinta (não puro) */
  --ink-soft:   #17171A;   /* preto elevado para blocos */
  --ivory:      #F3F0EA;   /* marfim / off-white quente */
  --pearl:      #C9C6C0;   /* texto sobre escuro */
  --smoke:      #6A6862;   /* neutro médio, legendas */
  --champagne:  #B79256;   /* acento — usar como fio, ~2% */
  --champagne-2:#CBAA74;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--pearl);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ivory); color: var(--ink); padding: 12px 18px; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--champagne-2); outline-offset: 3px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--champagne);
  margin: 0 0 22px;
}
.eyebrow-dark { color: var(--smoke); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.04; letter-spacing: .005em;
}
em { font-style: italic; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 30px;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-solid { background: var(--ivory); color: var(--ink); border: 1px solid var(--ivory); }
.btn-solid:hover { background: transparent; color: var(--ivory); }
.btn-line { background: transparent; color: var(--pearl); border: 1px solid rgba(201,198,192,.35); }
.btn-line:hover { border-color: var(--champagne); color: var(--ivory); }
.btn-line-light { background: transparent; color: var(--pearl); border: 1px solid rgba(201,198,192,.3); padding: 15px 30px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.btn-line-light:hover { border-color: var(--champagne); color: var(--ivory); }
.btn-lg { padding: 18px 42px; font-size: 14px; }

/* Botão solid sobre fundo claro (closer) inverte cor */
.closer .btn-solid { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.closer .btn-solid:hover { background: transparent; color: var(--ink); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
  padding: 6px 0;
}
.site-header[data-scrolled] {
  background: rgba(14,14,15,.86);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(201,198,192,.12);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { height: 46px; width: auto; transition: height .4s var(--ease); }
.site-header[data-scrolled] .brand-logo { height: 40px; }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pearl); position: relative; padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--champagne); transition: width .35s var(--ease);
}
.nav-list a:hover { color: var(--ivory); }
.nav-list a:hover::after { width: 100%; }

.wa-link.header-wa {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--pearl);
  padding: 10px 18px; border: 1px solid rgba(201,198,192,.28); border-radius: 2px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.wa-link.header-wa:hover { border-color: var(--champagne); color: var(--ivory); }
.wa-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); }

.nav-toggle { display: none; }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0 0 34px; padding: 0; text-align: center; }
.mobile-menu li { margin: 6px 0; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2rem; color: var(--ivory);
  display: inline-block; padding: 8px 0;
}
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  background: var(--ink);
  overflow: hidden;
}
.hero-media { position: relative; order: 2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
/* funde a borda esquerda da foto no preto do hero */
.hero-media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(14,14,15,.55) 16%, rgba(14,14,15,0) 42%);
  pointer-events: none;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,14,15,.35) 0%, rgba(14,14,15,0) 30%);
  pointer-events: none;
}
.hero-copy {
  order: 1; z-index: 2;
  align-self: center;
  padding: 140px var(--gutter) 90px;
  max-width: 620px; margin-left: auto;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.2vw, 6.2rem);
  line-height: .98; letter-spacing: .004em;
  color: var(--ivory);
  margin-bottom: 26px;
}
.hero-title em { color: var(--ivory); }
.hero-sub {
  color: var(--pearl); font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 30ch; margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* fio champagne vertical, detalhe sutil */
.hero-copy::before {
  content: ""; display: block; width: 46px; height: 1px;
  background: var(--champagne); margin-bottom: 34px;
}

/* ============================================================
   COLEÇÃO
   ============================================================ */
.collection { background: var(--ivory); color: var(--ink); padding: clamp(80px, 12vw, 150px) 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 70px);
}
.collection .section-title { color: var(--ink); }
.collection .eyebrow-dark { color: var(--smoke); }

.filters { display: flex; gap: 8px; }
.filter {
  background: transparent; border: 1px solid rgba(14,14,15,.16);
  color: var(--smoke); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 18px; transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* grid assimétrico: destaque à esquerda (2 linhas), 2 peças à direita */
.grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-auto-rows: auto;
  gap: clamp(18px, 2.4vw, 34px);
}
.product-feature { grid-row: span 2; }
.product { min-width: 0; }
.product.is-hidden { display: none; }

.product-media {
  position: relative; display: block; overflow: hidden;
  background: #e7e3da;
  width: 100%; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left;
  font: inherit; color: inherit;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  transition: transform 1.1s var(--ease), filter .5s var(--ease);
}
.product:not(.product-feature) .product-media img { aspect-ratio: 4/5; }
.product-feature .product-media img { aspect-ratio: 3/4.15; height: 100%; }
.product-media:hover img { transform: scale(1.04); }

.product-hover {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 22px 20px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: linear-gradient(0deg, rgba(14,14,15,.6) 0%, rgba(14,14,15,0) 100%);
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.product-media:hover .product-hover,
.product-media:focus-visible .product-hover { opacity: 1; transform: none; }

.product-info { padding: 18px 2px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.product-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.product-cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); margin-top: 6px; }
.product-meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--smoke); white-space: nowrap; }

/* botão de compra do card */
.btn-buy {
  display: block; width: 100%; text-align: center; margin-top: 16px;
  background: var(--ink); color: var(--ivory); border: 1px solid var(--ink);
  padding: 14px 20px;
}
.btn-buy:hover { background: transparent; color: var(--ink); }

.collection-note {
  margin-top: clamp(40px, 6vw, 64px); max-width: 46ch;
  font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--smoke);
}

/* ============================================================
   EDITORIAL / SOBRE
   ============================================================ */
.editorial {
  background: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: clamp(70px, 10vw, 130px) var(--gutter);
  max-width: 1360px; margin-inline: auto;
}
.editorial-media { position: relative; }
.editorial-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%;
}
.editorial-media::after {
  content: ""; position: absolute; left: -1px; top: 26px; bottom: 26px; width: 1px; background: var(--champagne); opacity: .55;
}
.editorial-copy { max-width: 480px; }
.editorial-title {
  font-family: var(--font-display); color: var(--ivory);
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; margin-bottom: 26px;
}
.editorial-text { color: var(--pearl); font-weight: 300; margin-bottom: 34px; }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.instagram { background: var(--ink-soft); padding: clamp(70px, 10vw, 120px) 0; }
.ig-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.ig-head .section-title { color: var(--ivory); font-family: var(--font-sans); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: .02em; }
.ig-sub { color: var(--smoke); margin-top: 14px; }
.ig-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
}
.ig-grid img { aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; filter: grayscale(.15) brightness(.94); transition: filter .4s var(--ease), transform .6s var(--ease); }
.ig-grid:hover img { filter: none; }
.ig-grid img:hover { transform: scale(1.03); filter: none; }
.ig-cta { text-align: center; margin-top: clamp(30px, 4vw, 44px); }

/* ============================================================
   CLOSER / CONTATO
   ============================================================ */
.closer { background: var(--ivory); color: var(--ink); padding: clamp(90px, 14vw, 170px) 0; text-align: center; }
.closer-inner { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.closer .eyebrow-dark { color: var(--smoke); }
.closer-title {
  font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; color: var(--ink); margin-bottom: 24px;
}
.closer-sub { color: var(--smoke); max-width: 46ch; margin: 0 auto 40px; }
.closer-hint { margin-top: 22px; font-size: 14px; color: var(--smoke); }
.closer-hint a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); padding: clamp(50px, 7vw, 80px) 0 30px; border-top: 1px solid rgba(201,198,192,.1); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding-bottom: 40px; border-bottom: 1px solid rgba(201,198,192,.1);
}
.footer-brand img { height: 54px; width: auto; opacity: .95; }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a, .footer-social a {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--pearl);
  transition: color .3s var(--ease);
}
.footer-nav a:hover, .footer-social a:hover { color: var(--champagne); }
.footer-social { display: flex; gap: 22px; }
.footer-base { padding-top: 26px; text-align: center; }
.footer-base span { font-size: 12px; letter-spacing: .06em; color: var(--smoke); }

/* ============================================================
   WHATSAPP FLUTUANTE (discreto)
   ============================================================ */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--champagne-2);
  border: 1px solid rgba(183,146,86,.5);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background: var(--champagne); color: var(--ink); border-color: var(--champagne); }

/* ============================================================
   REVEAL (respeitando reduced motion)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .product-media img, .ig-grid img { transition: none !important; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; gap: 34px; }
  .editorial-media img { aspect-ratio: 16/12; }
  .editorial-media::after { display: none; }
  .editorial-copy { max-width: none; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .nav, .wa-link.header-wa { display: none; }
  /* respiro para o botão flutuante do WhatsApp não cobrir o copyright */
  .footer-base { padding-bottom: 56px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    margin-left: auto; width: 40px; height: 40px; background: transparent; border: 0; padding: 8px;
  }
  .nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--pearl); transition: transform .3s var(--ease), opacity .3s var(--ease); }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { order: 1; height: 74svh; min-height: 440px; }
  .hero-media img { object-position: 50% 18%; }
  .hero-media::before { background: linear-gradient(0deg, var(--ink) 2%, rgba(14,14,15,.15) 34%, rgba(14,14,15,0) 60%); }
  .hero-copy {
    order: 2; padding: 44px var(--gutter) 60px; margin: 0; max-width: none;
    text-align: left;
  }
  .hero-copy::before { margin-bottom: 24px; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-sub { max-width: 40ch; }

  .section-head { align-items: flex-start; }
  .grid { grid-template-columns: 1fr 1fr; }
  .product-feature { grid-row: span 2; }
  .product-feature .product-media img { aspect-ratio: 3/4.15; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; gap: 26px; }
  .product-feature { grid-row: auto; }
  .product-feature .product-media img,
  .product:not(.product-feature) .product-media img { aspect-ratio: 4/5; }
  .filters { flex-wrap: wrap; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* ============================================================
   ENTREGA & PAGAMENTO
   ============================================================ */
.care { background: var(--ivory); color: var(--ink); padding: clamp(80px, 11vw, 140px) 0; }
.care .section-title { color: var(--ink); margin-bottom: clamp(40px, 6vw, 66px); }
.care-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 6vw, 90px); }
.care-h {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--smoke);
  padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid rgba(14,14,15,.14);
}
.care-list { list-style: none; margin: 0; padding: 0; }
.care-list li { font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid rgba(14,14,15,.08); }
.care-list li:last-child { border-bottom: 0; }
.care-defs { margin: 0; }
.care-defs dt { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); margin-bottom: 6px; }
.care-defs dd { margin: 0 0 22px; color: var(--smoke); max-width: 52ch; }
.care-defs dd:last-child { margin-bottom: 0; }

/* ============================================================
   LINHAS DE CONTATO (dentro do closer)
   ============================================================ */
.contact-lines { list-style: none; margin: clamp(44px, 6vw, 64px) auto 0; padding: 0; max-width: 420px; width: 100%; }
.contact-lines li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid rgba(14,14,15,.1);
}
.contact-lines li:first-child { border-top: 1px solid rgba(14,14,15,.1); }
.contact-lines span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--smoke); }
.contact-lines a { color: var(--ink); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.contact-lines a:hover { border-bottom-color: var(--champagne); }
.contact-lines .pending { color: var(--smoke); font-style: italic; }

/* ============================================================
   LIGHTBOX DE PRODUTO
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 24px;
  background: rgba(10,10,11,.9); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0;
  max-width: 860px; width: 100%; max-height: 88vh; background: var(--ink-soft);
  border: 1px solid rgba(201,198,192,.14);
}
.lightbox-img { width: 100%; height: 100%; max-height: 88vh; object-fit: cover; object-position: 50% 20%; }
.lightbox-info { padding: 44px 36px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.lightbox-name { font-family: var(--font-display); font-size: 2rem; color: var(--ivory); line-height: 1.1; margin-bottom: 10px; }
.lightbox-price { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); margin-bottom: 30px; }
.lightbox-buy { background: var(--ivory); color: var(--ink); border: 1px solid var(--ivory); }
.lightbox-buy:hover { background: transparent; color: var(--ivory); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  background: transparent; border: 0; color: var(--ivory); font-size: 34px; line-height: 1; cursor: pointer;
}

@media (max-width: 760px) {
  .care-grid { grid-template-columns: 1fr; gap: 44px; }
  .lightbox-inner { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .lightbox-img { max-height: 56vh; }
  .lightbox-info { padding: 30px 26px 36px; }
}
