/* TG Joalheria — folha de estilos */

:root {
  --bg: #0a0908;
  --bg-raised: #11100e;
  --line: rgba(212, 175, 106, 0.18);
  --line-strong: rgba(212, 175, 106, 0.42);
  --gold: #d4af6a;
  --gold-bright: #f0d596;
  --gold-deep: #9c7a3c;
  --text: #ece6da;
  --text-muted: #a69d8d;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  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 0.25s ease;
}

a:hover {
  color: var(--gold-bright);
}

:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 4px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #000;
  padding: 10px 16px;
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Tipografia ---------- */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

h2 em,
h1 em {
  font-style: italic;
  color: var(--gold);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--line-strong);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 56ch;
}

/* ---------- Cabeçalho ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10, 9, 8, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--text);
  white-space: nowrap;
}

.brand b {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
  line-height: 1;
}

.brand span {
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.nav a {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--gold-bright);
}

.nav .nav-cta {
  color: var(--gold);
  border: 1px solid var(--line-strong);
  padding: 9px 18px;
}

.nav .nav-cta:hover {
  background: var(--gold);
  color: #0a0908;
  border-color: var(--gold);
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

.btn-solid {
  background: linear-gradient(135deg, #e9cd8b 0%, #c79c4f 55%, #a98240 100%);
  color: #0a0908;
}

.btn-solid:hover {
  background: var(--gold-bright);
  color: #0a0908;
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 34%, rgba(212, 175, 106, 0.1), transparent 70%),
    var(--bg);
}

.hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-mark {
  width: min(400px, 68vw);
  height: auto;
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}

.hero-word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  width: 100%;
  margin: 4px 0 34px;
  font-size: clamp(0.8rem, 2.2vw, 1.05rem);
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-word::before,
.hero-word::after {
  content: "";
  flex: 0 1 90px;
  height: 1px;
  background: var(--line-strong);
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  max-width: 16ch;
}

.hero .lead {
  margin: 26px auto 0;
  max-width: 50ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

/* ---------- Seções ---------- */

.section {
  padding: clamp(80px, 11vw, 150px) 0;
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--bg-raised);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-head .lead {
  margin: 22px 0 0;
}

/* Sobre */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.about p {
  margin: 0 0 1.2em;
  color: var(--text-muted);
}

.about p strong {
  color: var(--text);
  font-weight: 400;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.pillars li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.pillars .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1.5;
}

.pillars h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.pillars p {
  margin: 0;
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* Produtos */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.products li {
  position: relative;
  padding: clamp(28px, 3.4vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease;
}

.products li:hover {
  background: rgba(212, 175, 106, 0.045);
}

.products .n {
  display: block;
  margin-bottom: 44px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
}

.products h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  margin-bottom: 10px;
}

.products p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .products {
    grid-template-columns: 1fr;
  }

  .products .n {
    margin-bottom: 22px;
  }
}

.note {
  margin: 34px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Como comprar */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 60px);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
}

.steps h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Contato */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.contact .actions {
  justify-content: flex-start;
}

.contact-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  padding-top: 5px;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-list dd {
  margin: 0;
  color: var(--text);
}

.contact-list dd a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
}

.contact-list dd a:hover {
  color: var(--gold-bright);
}

.contact-list address {
  font-style: normal;
}

.contact-list small {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- Rodapé ---------- */

.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: #070605;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer h2 {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer p {
  margin: 0 0 6px;
}

.footer address {
  font-style: normal;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 6px;
}

.footer a {
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--gold-bright);
}

.footer .brand {
  margin-bottom: 16px;
}

.legal {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.8;
}

.legal p {
  margin: 0;
}

.legal strong {
  font-weight: 400;
  color: var(--text);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Botão flutuante ---------- */

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9cd8b, #b88d45);
  color: #0a0908;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease;
}

.float-wa:hover {
  color: #0a0908;
  transform: translateY(-3px);
}

.float-wa svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ---------- Página de texto (políticas) ---------- */

.doc {
  padding: 150px 0 100px;
}

.doc .wrap {
  max-width: 780px;
}

.doc h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 14px;
}

.doc h2 {
  font-size: 1.8rem;
  margin: 2.2em 0 0.5em;
}

.doc p,
.doc li {
  color: var(--text-muted);
}

.doc strong {
  color: var(--text);
  font-weight: 400;
}

.doc .updated {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* ---------- Animação de entrada ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Imagens de ambientação ---------- */

.about-img {
  width: 100%;
  max-width: 420px;
  margin-top: 44px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.4vw, 18px);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: brightness(0.82) saturate(0.9) contrast(1.05);
  transition: filter 0.5s ease;
}

.gallery img:hover {
  filter: none;
}

.gallery-note {
  margin: 12px 0 clamp(36px, 5vw, 60px);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .about-img {
    max-width: none;
    aspect-ratio: 16 / 10;
    margin-top: 32px;
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
