/* =========================================================
   DICA JOIAS — folha de estilo principal
   Direção: editorial, quente e contemporânea (público 25–40)
   ========================================================= */

:root {
  /* Cores */
  --ivory: #FBF7F2;
  --cream: #F4ECE2;
  --sand: #EADFD1;
  --blush: #EFDCD3;
  --ink: #2B211C;
  --ink-soft: #4A3D35;
  --muted: #7A6C62;
  --line: #E3D7C9;
  --gold: #B08D57;
  --gold-deep: #8A6A38;
  --gold-light: #E7D3AE;
  --rose: #C08A76;
  --white: #FFFFFF;
  --success: #4E7A5B;

  /* Tipografia */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  /* Medidas */
  --radius: 4px;
  --radius-lg: 18px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(43, 33, 28, .06);
  --shadow: 0 10px 30px -12px rgba(43, 33, 28, .18);
  --shadow-lg: 0 30px 60px -25px rgba(43, 33, 28, .35);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0; }

::selection { background: var(--gold-light); color: var(--ink); }

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

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -.01em;
}
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold-deep); }

.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.01em; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-soft); font-weight: 300; max-width: 52ch; }
.muted { color: var(--muted); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head .h2 { margin-top: 14px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--gold-deep); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: var(--gold-light); }
.btn-block { width: 100%; }
.btn-whats { background: #1F8A55; color: #fff; }
.btn-whats:hover { background: #17703F; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: color .25s, gap .25s var(--ease);
}
.link-arrow:hover { color: var(--gold-deep); gap: 12px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Barra de anúncio ---------- */
.announce {
  background: var(--ink); color: var(--gold-light);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  height: 38px; overflow: hidden; position: relative;
}
.announce-track {
  display: flex; gap: 64px; align-items: center; height: 100%;
  width: max-content; animation: marquee 38s linear infinite;
}
.announce-track span { display: inline-flex; align-items: center; gap: 64px; white-space: nowrap; }
.announce-track span::after { content: "✦"; color: var(--gold); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; justify-self: center; }
.logo-mark { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .02em; }
.logo-mark em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.logo-sub { font-size: 9px; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-top: 4px; padding-left: .5em; }

.nav { display: flex; gap: clamp(18px, 2.2vw, 30px); }
.nav a {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; white-space: nowrap;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--gold-deep); }

.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
  position: relative; transition: background .25s;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 21px; height: 21px; stroke-width: 1.4; }
.badge-count {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 600;
  display: grid; place-items: center; line-height: 1;
  transform: scale(0); transition: transform .3s var(--ease);
}
.badge-count.show { transform: scale(1); }
.badge-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-toggle { display: none; }

/* Busca */
.search-bar {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-bottom: 1px solid var(--line);
  padding: 20px 0; transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: all .3s var(--ease);
}
.search-bar.open { transform: none; opacity: 1; visibility: visible; }
.search-bar form { display: flex; gap: 12px; }
.search-bar input {
  flex: 1; height: 52px; border: 0; border-bottom: 1px solid var(--ink); background: transparent;
  font-family: var(--serif); font-size: 26px; outline: none; padding: 0 4px;
}

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80; background: var(--ivory);
  padding: 100px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(-100%); transition: transform .45s var(--ease);
}
.mobile-nav.open { transform: none; }
.mobile-nav a { font-family: var(--serif); font-size: 38px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .close { position: absolute; top: 18px; right: var(--gutter); }
.mobile-nav-foot { margin-top: auto; font-size: 14px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy .lead { margin: 28px 0 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(24px, 4vw, 48px); margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1; }
.hero-stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.hero-visual { position: relative; height: clamp(440px, 52vw, 640px); }
.arch {
  position: absolute; border-radius: 999px 999px 0 0; overflow: hidden;
}
.arch-main {
  inset: 0 12% 0 6%;
  background:
    radial-gradient(120% 70% at 50% 20%, #F8EFE4 0%, #EBD9C6 55%, #DCC3A8 100%);
}
.arch-main::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px 999px 0 0;
}
.arch-main .jewel { position: absolute; inset: 6% 8% 4%; }
.arch-small {
  width: 34%; aspect-ratio: 3 / 4.2; right: 0; bottom: 6%;
  background: radial-gradient(100% 80% at 50% 25%, #F6E7E1, #E5C9BD);
  box-shadow: var(--shadow-lg); border: 6px solid var(--ivory);
}
.arch-small .jewel { position: absolute; inset: 10%; }
.hero-badge {
  position: absolute; left: 0; bottom: 14%;
  background: var(--white); border-radius: 14px; padding: 14px 18px 14px 14px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-badge .dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--gold-deep); }
.hero-badge .dot svg { width: 20px; height: 20px; }
.hero-badge strong { display: block; font-size: 14px; font-weight: 500; }
.hero-badge span { font-size: 12px; color: var(--muted); }
.hero-seal {
  position: absolute; top: 4%; right: 6%; width: 120px; height: 120px;
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Faixa de benefícios ---------- */
.perks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; gap: 16px; align-items: center; padding: 28px 24px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk svg { width: 30px; height: 30px; color: var(--gold-deep); flex-shrink: 0; stroke-width: 1.2; }
.perk strong { display: block; font-size: 14px; font-weight: 500; }
.perk span { font-size: 13px; color: var(--muted); }

/* ---------- Categorias ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat {
  position: relative; display: block; text-align: center;
}
.cat-media {
  aspect-ratio: 3 / 4; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden;
  position: relative; transition: transform .6s var(--ease);
}
.cat-media .jewel { position: absolute; inset: 12%; transition: transform .8s var(--ease); }
.cat:hover .cat-media .jewel { transform: scale(1.08) rotate(-3deg); }
.cat h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-top: 18px; }
.cat span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.bg-1 { background: radial-gradient(110% 80% at 50% 20%, #F7EEE3, #E6D3BD); }
.bg-2 { background: radial-gradient(110% 80% at 50% 20%, #F6E8E2, #E4C8BC); }
.bg-3 { background: radial-gradient(110% 80% at 50% 20%, #EEF0EC, #D5DAD2); }
.bg-4 { background: radial-gradient(110% 80% at 50% 20%, #F3EDE6, #DCCFC2); }
.bg-5 { background: radial-gradient(110% 80% at 50% 20%, #EFE9F0, #D9CCD8); }
.bg-6 { background: radial-gradient(110% 80% at 50% 20%, #F5EFE2, #E3D6B8); }

/* ---------- Tabs / chips ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; letter-spacing: .06em; background: transparent; transition: all .25s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* ---------- Cartão de produto ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); row-gap: clamp(32px, 4vw, 48px); }
.card { position: relative; display: flex; flex-direction: column; }
.card-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.card-media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
}
.card-media .jewel { position: absolute; inset: 10%; transition: transform .8s var(--ease), opacity .5s; }
.card-media .jewel.alt { opacity: 0; transform: scale(1.15) rotate(8deg); }
.card:hover .card-media .jewel:not(.alt) { opacity: 0; transform: scale(.92); }
.card:hover .card-media .jewel.alt { opacity: 1; transform: scale(1.05) rotate(0); }
.card-tags { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tag {
  display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; background: var(--ivory); color: var(--ink);
}
.tag.gold { background: var(--ink); color: var(--gold-light); }
.tag.sale { background: var(--rose); color: #fff; }
.fav {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.85); display: grid; place-items: center; transition: transform .25s, background .25s;
}
.fav:hover { transform: scale(1.08); background: #fff; }
.fav svg { width: 18px; height: 18px; stroke-width: 1.5; }
.fav.on svg { fill: var(--rose); stroke: var(--rose); }
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  height: 46px; border-radius: var(--radius); background: var(--ink); color: var(--ivory);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  transform: translateY(calc(100% + 16px)); transition: transform .4s var(--ease), background .25s;
}
.quick-add:hover { background: var(--gold-deep); }
.card:hover .quick-add, .quick-add:focus-visible { transform: none; }
.card-body { padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.card-type { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.card-title a:hover { color: var(--gold-deep); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.price strong { font-size: 16px; font-weight: 500; }
.price del { font-size: 13px; color: var(--muted); }
.price small { width: 100%; font-size: 12px; color: var(--muted); }
.swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }
.sw-gold { background: linear-gradient(135deg, #F3DDA6, #C39A52); }
.sw-silver { background: linear-gradient(135deg, #F4F4F4, #A4A9B0); }
.sw-rose { background: linear-gradient(135deg, #F3CDBD, #C08A76); }

/* ---------- Banner editorial (joia x semijoia) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 620px;
  background: var(--ink); color: var(--ivory); border-radius: var(--radius-lg); overflow: hidden;
}
.split-media { position: relative; background: radial-gradient(90% 70% at 50% 40%, #4A3B30, #241B16); }
.split-media .jewel { position: absolute; inset: 10%; }
.split-media .glow { position: absolute; width: 60%; aspect-ratio: 1; left: 20%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(231,211,174,.35), transparent 70%); filter: blur(10px); }
.split-copy { padding: clamp(36px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.split-copy .eyebrow { color: var(--gold-light); }
.split-copy .h2 { margin: 18px 0 22px; }
.split-copy .h2 em { color: var(--gold-light); }
.split-copy .lead { color: rgba(251,247,242,.75); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); margin: 36px 0 40px; border-radius: 12px; overflow: hidden; }
.compare > div { background: var(--ink); padding: 22px; }
.compare h4 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--gold-light); margin-bottom: 10px; }
.compare li { font-size: 14px; color: rgba(251,247,242,.78); padding: 4px 0 4px 18px; position: relative; }
.compare li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 9px; top: 9px; }

/* ---------- Coleção destaque (mosaico) ---------- */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 18px; }
.tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block; }
.tile:first-child { grid-row: span 2; }
.tile .jewel { position: absolute; inset: 12%; transition: transform .9s var(--ease); }
.tile:hover .jewel { transform: scale(1.06); }
.tile-label {
  position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; justify-content: space-between; align-items: end; gap: 12px;
}
.tile-label h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; }
.tile-label span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.tile-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s; }
.tile:hover .tile-arrow { background: var(--ink); color: var(--ivory); }
.tile-arrow svg { width: 16px; height: 16px; }

/* ---------- Depoimentos ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.35; font-style: italic; color: var(--ink-soft); }
.review-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; background: var(--blush); color: var(--gold-deep); }
.review-who strong { display: block; font-size: 14px; font-weight: 500; }
.review-who span { font-size: 12px; color: var(--muted); }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta a { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.insta .jewel { position: absolute; inset: 14%; transition: transform .6s var(--ease); }
.insta a::after { content: ""; position: absolute; inset: 0; background: rgba(43,33,28,0); transition: background .3s; }
.insta a:hover::after { background: rgba(43,33,28,.18); }
.insta a:hover .jewel { transform: scale(1.1); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--blush); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  border: 1px solid rgba(138,106,56,.25); box-shadow: 0 0 0 40px rgba(255,255,255,.12), 0 0 0 80px rgba(255,255,255,.08);
}
.newsletter form { display: flex; gap: 10px; position: relative; flex-wrap: wrap; }
.field {
  flex: 1; min-width: 200px; height: 52px; padding: 0 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); outline: none; transition: border-color .25s;
}
.field:focus { border-color: var(--gold); }
textarea.field { height: auto; padding: 14px 18px; resize: vertical; min-height: 140px; }
select.field { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237A6C62' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; width: 100%; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: rgba(251,247,242,.72); padding-top: 80px; margin-top: clamp(64px, 9vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer .logo { align-items: flex-start; justify-self: start; }
.footer .logo-mark { color: var(--ivory); }
.footer .logo-mark em { color: var(--gold-light); }
.footer-about { margin: 20px 0 24px; max-width: 34ch; font-size: 14px; }
.footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; margin-bottom: 20px; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer li a:hover { color: var(--ivory); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: all .25s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { padding: 4px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; font-size: 11px; letter-spacing: .08em; }

/* ---------- Gaveta do carrinho ---------- */
.overlay { position: fixed; inset: 0; background: rgba(43,33,28,.45); z-index: 90; opacity: 0; visibility: hidden; transition: all .35s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 100; background: var(--ivory);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease);
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.ship-progress { padding: 16px 24px; background: var(--cream); font-size: 13px; }
.ship-bar { height: 4px; background: var(--sand); border-radius: 4px; margin-top: 10px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); border-radius: 4px; transition: width .5s var(--ease); }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-thumb { width: 84px; aspect-ratio: 4/5; border-radius: 10px; position: relative; overflow: hidden; }
.line-thumb .jewel { position: absolute; inset: 8%; }
.line-item h4 { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.line-item .meta { font-size: 12px; color: var(--muted); margin: 2px 0 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 34px; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; font-size: 16px; color: var(--ink-soft); }
.qty span { min-width: 22px; text-align: center; font-size: 14px; }
.line-right { text-align: right; display: flex; flex-direction: column; align-items: end; gap: 10px; }
.line-right strong { font-weight: 500; }
.remove { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.remove:hover { color: var(--rose); }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--white); }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.totals strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.pix-note { font-size: 13px; color: var(--success); margin-bottom: 16px; }
.drawer-foot .btn + .btn { margin-top: 10px; }
.empty { text-align: center; padding: 60px 10px; }
.empty svg { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--gold); stroke-width: 1; }
.empty h4 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 24px; font-size: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 30px); opacity: 0;
  background: var(--ink); color: var(--ivory); padding: 14px 22px; border-radius: 999px; font-size: 14px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); transition: all .4s var(--ease);
  pointer-events: none; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #1F8A55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31,138,85,.6);
  transition: transform .3s var(--ease);
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 28px; height: 28px; }

/* ---------- Cabeçalho de página interna ---------- */
.page-hero { padding: clamp(48px, 7vw, 90px) 0 clamp(32px, 4vw, 50px); text-align: center; position: relative; }
.page-hero .display { font-size: clamp(44px, 6vw, 80px); margin-top: 18px; }
.page-hero .lead { margin: 20px auto 0; }
.crumbs { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; justify-content: center; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs.left { justify-content: flex-start; }

/* ---------- Catálogo ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); }
.filter-group { border-bottom: 1px solid var(--line); padding: 22px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.check { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; cursor: pointer; color: var(--ink-soft); }
.check input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--muted); border-radius: 3px; display: grid; place-items: center; margin: 0; flex-shrink: 0; transition: all .2s; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 1.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.range { width: 100%; accent-color: var(--gold-deep); }
.range-out { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.shop-bar .count { font-size: 14px; color: var(--muted); }
.shop-bar select.field { flex: 0 0 auto; min-width: 220px; height: 46px; }
.shop .grid-products { grid-template-columns: repeat(3, 1fr); }
.filter-toggle { display: none; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 80px 20px; }
.no-results h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin-bottom: 8px; }

/* ---------- Página de produto ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 28px; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.thumbs { display: flex; flex-direction: column; gap: 12px; }
.thumbs button { aspect-ratio: 4/5; border-radius: 10px; position: relative; overflow: hidden; border: 1px solid transparent; transition: border-color .25s; }
.thumbs button.active { border-color: var(--ink); }
.thumbs .jewel { position: absolute; inset: 10%; }
.stage { aspect-ratio: 4/5; border-radius: var(--radius-lg); position: relative; overflow: hidden; cursor: zoom-in; }
.stage .jewel { position: absolute; inset: 10%; transition: transform .5s var(--ease); }
.stage.zoom .jewel { transform: scale(1.6); }
.pdp-info .card-type { margin: 14px 0 10px; display: block; }
.pdp-info h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 54px); line-height: 1.05; }
.rating { display: flex; align-items: center; gap: 10px; margin: 14px 0 22px; font-size: 13px; color: var(--muted); }
.pdp-price { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-price .price strong { font-size: 28px; font-family: var(--serif); font-weight: 500; }
.pdp-price .price del { font-size: 16px; }
.pix { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--success); }
.opt { margin-top: 26px; }
.opt-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin-bottom: 12px; display: flex; justify-content: space-between; }
.opt-label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.opt-label a { text-transform: none; letter-spacing: 0; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.metal-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.metal-opt { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: border-color .2s; }
.metal-opt .swatch { width: 24px; height: 24px; }
.metal-opt.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.size-opts button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; transition: all .2s; }
.size-opts button:hover { border-color: var(--ink); }
.size-opts button.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.buy-row { display: flex; gap: 12px; margin-top: 30px; }
.buy-row .qty { height: 52px; }
.buy-row .qty button { width: 42px; }
.buy-row .btn { flex: 1; }
.pdp-actions { display: flex; gap: 10px; margin-top: 12px; }
.pdp-actions .btn { flex: 1; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.assure div { background: var(--cream); border-radius: 12px; padding: 16px; font-size: 12px; text-align: center; color: var(--ink-soft); }
.assure svg { width: 24px; height: 24px; margin: 0 auto 8px; color: var(--gold-deep); stroke-width: 1.3; }
.accordion { margin-top: 32px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-align: left; }
.acc-btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); flex-shrink: 0; }
.acc-item.open .acc-btn svg { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p, .acc-panel ul { padding-bottom: 20px; color: var(--ink-soft); font-size: 15px; }
.acc-panel li { padding: 3px 0 3px 18px; position: relative; }
.acc-panel li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Sobre ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-visual { position: relative; aspect-ratio: 4/5; }
.about-visual .arch { inset: 0; }
.about-visual .jewel { position: absolute; inset: 12%; }
.quote-big { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; font-style: italic; text-align: center; max-width: 24ch; margin: 0 auto; color: var(--ink-soft); }
.quote-big::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--gold); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.value .num { font-family: var(--serif); font-size: 52px; color: var(--gold); line-height: 1; font-style: italic; }
.value h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 16px 0 10px; }
.value p { color: var(--ink-soft); font-size: 15px; }
.care { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.care > div { background: var(--ivory); padding: 32px 26px; }
.care svg { width: 34px; height: 34px; color: var(--gold-deep); stroke-width: 1.2; margin-bottom: 16px; }
.care h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.care p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 32px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color .25s, transform .25s var(--ease); }
a.contact-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-card .dot { width: 50px; height: 50px; border-radius: 50%; background: var(--cream); color: var(--gold-deep); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .dot svg { width: 22px; height: 22px; stroke-width: 1.4; }
.contact-card strong { display: block; font-weight: 500; }
.contact-card span { font-size: 14px; color: var(--muted); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-soft); }
.form-grid .field { width: 100%; }
.faq { max-width: 860px; margin: 0 auto; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cats .cat:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 220px 1fr; gap: 32px; }
  .shop .grid-products { grid-template-columns: repeat(2, 1fr); }
  .insta { grid-template-columns: repeat(3, 1fr); }
  .care { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .logo-mark { font-size: 26px; }
  .hero-grid, .split, .about-hero, .contact, .pdp, .newsletter { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; max-width: 520px; width: 100%; margin: 0 auto; }
  .split-media { min-height: 380px; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 240px 240px; }
  .tile:first-child { grid-column: span 2; grid-row: auto; }
  .reviews, .values { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 auto 0 0; width: min(340px, 88%); z-index: 100; background: var(--ivory);
    padding: 80px 24px 24px; overflow-y: auto; transform: translateX(-100%); transition: transform .45s var(--ease);
  }
  .filters.open { transform: none; }
  .filters .close { position: absolute; top: 16px; right: 16px; }
  .filter-toggle { display: inline-flex; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 72px; }
}

@media (max-width: 640px) {
  .grid-products, .shop .grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px; row-gap: 32px; }
  .card-title { font-size: 18px; }
  .card-visual { border-radius: 12px; }
  .quick-add { display: none; }
  .fav { width: 34px; height: 34px; top: 8px; right: 8px; }
  .card-tags { top: 10px; left: 10px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cats .cat:nth-child(n+4) { display: block; }
  .cats .cat:nth-child(5) { display: none; }
  .cat h3 { font-size: 20px; }
  .perks-grid { grid-template-columns: 1fr; }
  .perk { padding: 18px 4px; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .hero-stats { gap: 20px; }
  .hero-stats strong { font-size: 28px; }
  .hero-visual { height: 420px; }
  .hero-seal { width: 90px; height: 90px; }
  .compare { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 260px; }
  .tile:first-child { grid-column: auto; }
  .insta { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .care { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .assure div { padding: 12px 6px; font-size: 11px; }
  .buy-row { flex-wrap: wrap; }
  .pdp-actions { flex-direction: column; }
  .btn { padding: 0 22px; }
  .header-actions .hide-sm { display: none; }
  .shop-bar select.field { min-width: 0; flex: 1; }
  .whats-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
