/* =============================================
   IMPORTS — Google Fonts
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* =============================================
   CSS VARIABLES & RESET
============================================= */
:root {
  --gold:        #C0A062;
  --gold-light:  #D4B87A;
  --gold-dark:   #9A7D46;
  --gold-pale:   #F2EAD8;
  --gold-glow:   rgba(192, 160, 98, 0.18);
  --cream:       #FAF8F4;
  --beige:       #F0EBE1;
  --white:       #FFFFFF;
  --black:       #1A1612;
  --charcoal:    #2E2A24;
  --muted:       #8A7F70;
  --border:      rgba(192, 160, 98, 0.22);

  --ff-display:  'Playfair Display', Georgia, serif;
  --ff-body:     'Cormorant Garamond', Georgia, serif;
  --ff-ui:       'Jost', sans-serif;

  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 4px 32px rgba(26, 22, 18, 0.07);
  --shadow-hover:0 16px 56px rgba(192, 160, 98, 0.24);
  --transition:  0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* =============================================
   SCROLLBAR
============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 99px;
}

/* =============================================
   SELECTION
============================================= */
::selection {
  background: var(--gold-pale);
  color: var(--gold-dark);
}

/* =============================================
   ORNAMENT LINE
============================================= */
.ornament-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-family: var(--ff-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ornament-line::before,
.ornament-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* =============================================
   PROGRESS BAR (top scroll indicator)
============================================= */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  z-index: 9999;
  transition: width .1s linear;
}

/* =============================================
   HEADER / NAV
============================================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(20px, 5vw, 80px);
  transition: box-shadow var(--transition);
}
header.scrolled {
  box-shadow: 0 4px 24px rgba(26,22,18,.08);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  transition: transform var(--transition);
}
.nav-logo:hover img { transform: rotate(-6deg) scale(1.05); }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-logo-text .brand {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: .04em;
}
.nav-logo-text .tagline-small {
  font-family: var(--ff-ui);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-family: var(--ff-ui);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition), left var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { left: 0; width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 101;
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav drawer */
@media (max-width: 680px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: -100%;
    bottom: 0;
    width: min(80vw, 300px);
    background: var(--white);
    padding: 100px 36px 40px;
    gap: 28px;
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(26,22,18,.12);
    transition: right var(--transition);
    z-index: 100;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 15px; letter-spacing: .15em; }
  .nav-toggle { display: flex; }

  /* Overlay behind drawer */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,22,18,.35);
    z-index: 99;
  }
  .nav-overlay.visible { display: block; }
}

/* =============================================
   HERO / BANNER
============================================= */
#inicio {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(80px,10vw,130px) clamp(20px,5vw,80px);
  position: relative;
  overflow: hidden;
}

/* Textured bg */
#inicio::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(192,160,98,.08) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='.5' fill='%23C0A062' opacity='.15'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Decorative rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(192,160,98,.1);
  pointer-events: none;
  animation: pulseRing 6s ease-in-out infinite;
}
.hero-ring:nth-child(1) { width:480px; height:480px; top:50%; left:50%; transform:translate(-50%,-50%); animation-delay:0s; }
.hero-ring:nth-child(2) { width:700px; height:700px; top:50%; left:50%; transform:translate(-50%,-50%); animation-delay:.8s; }
.hero-ring:nth-child(3) { width:940px; height:940px; top:50%; left:50%; transform:translate(-50%,-50%); animation-delay:1.6s; }

@keyframes pulseRing {
  0%,100% { opacity:.6; }
  50%      { opacity:.18; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-eyebrow {
  font-family: var(--ff-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .8s .2s forwards;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 36px;
  opacity: 0;
  animation: fadeUp .8s .35s forwards, floatLogo 5s 1.2s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(192,160,98,.3));
}

@keyframes floatLogo {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp .8s .5s forwards;
}
.hero-title em { font-style: italic; color: var(--gold-dark); }

.hero-subtitle {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  margin: 18px 0 48px;
  opacity: 0;
  animation: fadeUp .8s .65s forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .8s forwards;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-ui);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 15px 38px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn:hover::before { background: rgba(255,255,255,.1); }
.btn:active { transform: scale(.97) !important; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(192,160,98,.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(192,160,98,.48);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(192,160,98,.3);
}

/* =============================================
   SECTION SHARED
============================================= */
section {
  padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 80px);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 72px;
}

.section-label {
  font-family: var(--ff-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--gold-dark); }

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--ff-ui);
  font-weight: 300;
}

/* =============================================
   PRODUCTS GRID
============================================= */
#produtos { background: var(--beige); }

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 28px;
}

/* Product card */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  border: 1px solid var(--border);
  cursor: default;
}
.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-hover);
  border-color: rgba(192,160,98,.48);
}

/* Gold top bar */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-pale), var(--gold-light), var(--gold-pale));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.card:hover::before { transform: scaleX(1); }

/* Image */
.card-image-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gold-pale);
  position: relative;
}
.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.card:hover .card-image-wrap img { transform: scale(1.07); }

/* Overlay + Quick view badge */
.card-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(192,160,98,.1);
  opacity: 0;
  transition: var(--transition);
}
.card:hover .card-image-wrap::after { opacity: 1; }

.card-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--white);
  color: var(--gold-dark);
  font-family: var(--ff-ui);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid var(--gold);
  opacity: 0;
  transform: translateY(-6px);
  transition: var(--transition);
  pointer-events: none;
}
.card:hover .card-badge { opacity: 1; transform: translateY(0); }

/* Card body */
.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-tag {
  font-family: var(--ff-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-name {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.25;
}

.card-desc {
  font-family: var(--ff-ui);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  font-weight: 300;
}

.card-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 10px 24px;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  transition: var(--transition);
}
.card-link:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(192,160,98,.32);
}
.card-link svg { transition: transform var(--transition); }
.card-link:hover svg { transform: translateX(4px); }

/* =============================================
   FEATURES STRIP
============================================= */
#features {
  background: var(--cream);
  padding: 60px clamp(20px,5vw,80px);
}
.features-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 32px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: rgba(192,160,98,.45);
  box-shadow: 0 8px 32px rgba(192,160,98,.15);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.4rem;
  transition: background var(--transition);
}
.feature-item:hover .feature-icon { background: var(--gold); color: var(--white); }
.feature-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}
.feature-desc {
  font-family: var(--ff-ui);
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

/* =============================================
   ABOUT STRIP
============================================= */
#sobre {
  background: var(--black);
  padding: clamp(60px,8vw,100px) clamp(20px,5vw,80px);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text .section-label { color: var(--gold-light); }
.about-text .section-title  { color: var(--white); }
.about-text p {
  font-family: var(--ff-ui);
  font-size: 14.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.85;
  margin-top: 20px;
  font-weight: 300;
}
.about-text .btn-gold { margin-top: 36px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(192,160,98,.18);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.stat-card:hover {
  background: rgba(192,160,98,.07);
  border-color: rgba(192,160,98,.42);
}
.stat-card:hover::after { transform: scaleX(1); }

.stat-num {
  font-family: var(--ff-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--ff-ui);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}

/* =============================================
   CONTACT SECTION
============================================= */
#contato {
  background: var(--cream);
  text-align: center;
}

.contact-inner {
  max-width: 520px;
  margin: 0 auto;
}

.contact-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 44px 0 0;
}

.social-link {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  color: var(--muted);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-pale);
  opacity: 0;
  transition: var(--transition);
  border-radius: 50%;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 24px rgba(192,160,98,.22);
}
.social-link:hover::before { opacity: 1; }
.social-link img,
.social-link svg { position: relative; z-index: 1; }

/* =============================================
   FOOTER BAR
============================================= */
footer {
  background: var(--black);
  padding: 32px clamp(20px,5vw,80px);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--gold-light);
  font-weight: 600;
}

.footer-copy {
  font-family: var(--ff-ui);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.28);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }

/* =============================================
   BACK TO TOP BUTTON
============================================= */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(192,160,98,.4);
  opacity: 0;
  transform: translateY(12px) scale(.8);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#back-to-top:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 12px 32px rgba(192,160,98,.5);
}

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   TOAST NOTIFICATION
============================================= */
.toast {
  position: fixed;
  bottom: 90px;
  right: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-family: var(--ff-ui);
  font-size: 13px;
  color: var(--charcoal);
  box-shadow: var(--shadow-hover);
  z-index: 300;
  max-width: 260px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 680px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  #back-to-top { bottom: 24px; right: 24px; }
  .toast { right: 16px; }
}
@media (max-width: 420px) {
  .about-stats { grid-template-columns: 1fr; }
}
