/* =========================================================
   Santana Artigos de Joalheria — estilos institucionais
   Paleta pastel, glassmorphism, parallax
   ========================================================= */

:root {
  --cream:        #FBF6F0;
  --cream-deep:   #F3E9DF;
  --blush:        #F3E1DD;
  --blush-deep:   #E9C7BE;
  --sage:         #C7D2C2;
  --gold:         #C9A26B;
  --gold-light:   #E3C9A6;
  --plum:         #3E2E33;
  --plum-soft:    #6B5760;
  --white-glass:  rgba(255,255,255,0.55);
  --white-glass-strong: rgba(255,255,255,0.72);
  --border-glass: rgba(255,255,255,0.6);
  --shadow-soft:  0 20px 60px -20px rgba(62,46,51,0.25);
  --radius-lg:    28px;
  --radius-md:    18px;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--plum);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

a { color: inherit; text-decoration: none; }

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; color: var(--plum); margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: .5px; }
h1 span { display: block; color: var(--gold); font-style: italic; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--plum-soft); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .8em;
}

.section { position: relative; padding: 120px 0; overflow: hidden; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.reveal { margin-left: auto; margin-right: auto; }
.section-sub { max-width: 480px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: .84rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(201,162,107,.6);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(201,162,107,.7); }
.btn-ghost {
  background: var(--white-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--border-glass);
  color: var(--plum);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--white-glass-strong); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.site-header.scrolled {
  background: rgba(251,246,240,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px -14px rgba(62,46,51,.25);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 44px; width: auto; transition: height .3s ease; }
.site-header.scrolled .brand-logo { height: 38px; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: .82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--plum);
  position: relative;
  padding: 4px 0;
}
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--plum);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--plum); transition: all .3s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% -5%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(251,246,240,0.15) 0%, rgba(251,246,240,0.55) 75%);
  z-index: 1;
}
.hero-content { max-width: 780px; }
.hero-sub { font-size: 1.08rem; max-width: 560px; margin: 0 auto 2em; }
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-float {
  position: absolute;
  color: var(--gold-light);
  font-size: 2.4rem;
  z-index: 1;
  opacity: .65;
  filter: drop-shadow(0 6px 12px rgba(201,162,107,.35));
}
.hero-float--1 { top: 18%; left: 10%; font-size: 2rem; }
.hero-float--2 { top: 30%; right: 12%; font-size: 3rem; }
.hero-float--3 { bottom: 16%; left: 18%; font-size: 1.6rem; }

.scroll-indicator {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1px solid var(--plum-soft);
  border-radius: 20px;
  opacity: .6;
}
.scroll-indicator span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  70% { top: 24px; opacity: 0; }
  100% { top: 24px; opacity: 0; }
}

/* ---------- Glass components ---------- */
.glass-panel {
  background: var(--white-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 48px;
}

.texture-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  opacity: .8;
  z-index: 0;
}
.sobre, .diferenciais { position: relative; }
.sobre .container, .diferenciais .container { position: relative; z-index: 2; }

.sobre-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.sobre-text p:last-child { margin-bottom: 0; }
.sobre-stats { display: flex; flex-direction: column; gap: 18px; }
.stat-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white-glass-strong);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.stat-icon { color: var(--gold); font-size: 1.3rem; }
.stat-label { font-size: .92rem; font-weight: 500; }

/* ---------- Cards grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

.glass-card {
  background: var(--white-glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
}
.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  background: var(--white-glass-strong);
}
.glass-card--sm { padding: 30px 24px; text-align: center; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--cream-deep));
  color: var(--gold);
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card-icon svg { width: 28px; height: 28px; }
.glass-card--sm .card-icon { margin-left: auto; margin-right: auto; }
.glass-card p:last-child { margin-bottom: 0; }

/* ---------- Exclusividade ---------- */
.exclusividade { position: relative; }
.exclusividade .container { position: relative; z-index: 2; }
.exclusividade-panel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.exclusividade-panel p { font-size: 1.05rem; }
.exclusividade-panel .btn { margin-top: 12px; }

/* ---------- Localização ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}
.loc-list { list-style: none; margin: 0; padding: 0; }
.loc-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(62,46,51,.1);
  font-size: .95rem;
  color: var(--plum-soft);
}
.loc-list li:last-child { border-bottom: none; }
.loc-list strong { color: var(--plum); font-weight: 600; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-glass);
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Contato ---------- */
.contato { position: relative; }
.contato .hero-bg { opacity: .6; }
.contato .container { position: relative; z-index: 2; }
.contact-form { max-width: 760px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--plum-soft);
}
.field input, .field textarea {
  font-family: var(--font-sans);
  font-size: .95rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(62,46,51,.18);
  background: rgba(255,255,255,.7);
  color: var(--plum);
  resize: vertical;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,107,.2);
}
.field-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-feedback { margin-top: 16px; font-size: .9rem; min-height: 1.4em; }
.form-feedback.success { color: #5C7A5A; }
.form-feedback.error { color: #B85C5C; }
#submitBtn { width: 100%; }
#submitBtn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  color: rgba(255,255,255,.85);
  padding: 70px 0 34px;
  overflow: hidden;
}
.footer-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.footer-inner {
  position: relative; z-index: 1;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.footer-logo { height: 48px; filter: brightness(0) invert(1) opacity(.92); margin-bottom: 8px; }
.footer-razao { font-size: .85rem; letter-spacing: .5px; max-width: 560px; }
.footer-endereco { font-size: .8rem; color: rgba(255,255,255,.6); max-width: 560px; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transition: right .4s ease;
    box-shadow: -20px 0 60px rgba(62,46,51,.15);
  }
  .main-nav.is-open { right: 0; }
  .nav-toggle { display: flex; }
  .section { padding: 84px 0; }
  .form-row { grid-template-columns: 1fr; }
  .glass-panel { padding: 30px; }
}

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