:root {
  --black: #14120f;
  --black-soft: #1e1c18;
  --paper: #faf7f2;
  --paper-dim: #f1ebe1;
  --gold: #b6904f;
  --gold-light: #d9bd85;
  --ink: #2b2620;
  --ink-soft: #6b6357;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --max: 1200px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .5em; color: var(--black); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8em;
  font-weight: 500;
}
.eyebrow--light { color: var(--gold-light); }

.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; padding: 0 1.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-lede { color: var(--ink-soft); font-size: 1.05rem; }
.section-head--light h2 { color: var(--paper); }
.section-lede--light { color: #d8d2c6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .95em 2em;
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  font-weight: 500;
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--outline-dark { border-color: rgba(0,0,0,.25); color: var(--black); }
.btn--outline-dark:hover { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.4); }
.btn--block { width: 100%; }

/* Topbar */
.topbar { background: var(--black); color: var(--gold-light); font-size: .72rem; letter-spacing: .05em; }
.topbar__inner {
  max-width: var(--max); margin: 0 auto; padding: .5rem 1.5rem;
  display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; text-align: center;
}
.topbar .dot { color: var(--gold); opacity: .6; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: .7rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.header__logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: .3em 0;
}
.nav a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .25s ease;
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--black); color: var(--paper) !important; padding: .6em 1.4em;
  border-radius: var(--radius); letter-spacing: .08em;
}
.nav__cta:hover { background: var(--gold); color: var(--black) !important; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .5rem; }
.burger span { width: 24px; height: 1.5px; background: var(--black); display: block; }

.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; inset: 0; top: 0; background: var(--black);
  z-index: 200; padding: 6rem 2rem 2rem; gap: 1.8rem;
  transform: translateX(100%); transition: transform .35s ease;
}
.mobile-nav.open { transform: translateX(0); display: flex; }
.mobile-nav a { color: var(--paper); font-family: var(--font-display); font-size: 1.5rem; }
.mobile-nav .nav__cta {
  background: var(--gold); color: var(--black) !important; display: inline-block;
  font-size: 1.05rem; font-family: var(--font-body); padding: .8em 1.6em; width: fit-content;
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover; background-position: center 20%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,.55) 0%, rgba(20,18,15,.35) 45%, rgba(20,18,15,.85) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 8rem 1.5rem 6rem; color: #fff; }
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6vw, 4.5rem); max-width: 14ch; line-height: 1.08; margin-bottom: .4em;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero__subtitle { max-width: 42ch; font-size: 1.15rem; color: #ece7dc; margin-bottom: 2em; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
}
.hero__scroll span {
  display: block; width: 1px; height: 50px; background: linear-gradient(#fff, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* About */
.about { padding: 7rem 1.5rem; background: var(--paper); }
.about__inner {
  max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center;
}
.about__image img { border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(20,18,15,.3); aspect-ratio: 3/4; object-fit: cover; }
.about h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.about__text p { color: var(--ink-soft); }
.about__stats { display: flex; gap: 2.5rem; margin-top: 2rem; border-top: 1px solid rgba(0,0,0,.1); padding-top: 2rem; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-size: 2rem; color: var(--gold); font-weight: 600; }
.stat__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

/* Press / editorial */
.press { background: var(--black); color: var(--paper); }
.press__inner {
  max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.press__inner img { height: 100%; width: 100%; object-fit: cover; max-height: 520px; }
.press__text { padding: 3rem 4rem; }
.press__text h2 { color: var(--paper); font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.press__text p { color: #cfc8b9; }

/* Differentials */
.differentials { padding: 7rem 1.5rem; background: var(--paper-dim); }
.cards {
  max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.card { background: var(--paper); padding: 2.5rem 1.8rem; border-radius: var(--radius); text-align: center; border: 1px solid rgba(0,0,0,.06); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(20,18,15,.25); }
.card__icon { width: 56px; height: 56px; margin: 0 auto 1.2rem; color: var(--gold); }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* Gallery */
.gallery { padding: 7rem 1.5rem; background: var(--paper); }
.gallery__grid {
  max-width: var(--max); margin: 0 auto;
  columns: 4 220px; column-gap: 1rem;
}
.gallery__item {
  display: block; width: 100%; margin-bottom: 1rem; padding: 0; border: none; background: none; cursor: zoom-in;
  break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery__item img { width: 100%; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(20,18,15,.35) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery__item:hover::after { opacity: 1; }

/* Finder */
.finder { padding: 7rem 1.5rem; background: var(--paper-dim); }
.finder__controls {
  max-width: var(--max); margin: 0 auto 2.5rem; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1.2rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.field select, .field input {
  padding: .8em 1em; border: 1px solid rgba(0,0,0,.15); background: var(--paper); font-family: var(--font-body);
  font-size: .95rem; border-radius: var(--radius); color: var(--ink);
}
.field select:focus, .field input:focus { outline: none; border-color: var(--gold); }

.finder__carousel { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: .8rem; }
.finder__viewport {
  flex: 1; min-width: 0; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.finder__viewport::-webkit-scrollbar { display: none; }
.finder__results { display: flex; gap: 1.2rem; padding: .3rem 0; }
.finder__loading, .finder__empty { flex: 0 0 100%; text-align: center; color: var(--ink-soft); padding: 2rem 0; }
.finder__arrow {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15);
  background: var(--paper); color: var(--black); font-size: .9rem; cursor: pointer; transition: all .25s ease;
  display: flex; align-items: center; justify-content: center;
}
.finder__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.finder__arrow:disabled { opacity: .35; cursor: default; background: var(--paper); border-color: rgba(0,0,0,.15); }
.reseller-card {
  flex: 0 0 auto; width: calc((100% - 3 * 1.2rem) / 4); box-sizing: border-box;
  background: var(--paper); border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius); padding: 1.6rem;
  border-left: 3px solid var(--gold);
}
.reseller-card h4 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 .3rem; color: var(--black); }
.reseller-card .rc-city { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); display: block; }

/* CTA Reseller */
.cta-reseller { background: var(--black); padding: 7rem 1.5rem; }
.cta-reseller__inner { max-width: var(--max); margin: 0 auto; }
.cta-reseller__grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; max-width: 980px; margin: 0 auto; align-items: start;
}
.reseller-form { background: var(--black-soft); padding: 2.5rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); }
.form-row { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.form-row--split { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.form-row label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #a99f8c; }
.form-row input {
  padding: .85em 1em; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); color: #fff; font-family: var(--font-body); font-size: .95rem;
}
.form-row input:focus { outline: none; border-color: var(--gold); }
.form-row input::placeholder { color: #6b6357; }

.direct-contact { padding-top: 1rem; }
.direct-contact__label { color: #cfc8b9; font-size: .9rem; margin-bottom: 1.2rem; }
.direct-contact__link {
  display: flex; align-items: center; gap: .9rem; color: #fff; padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; transition: color .2s ease;
}
.direct-contact__link:hover { color: var(--gold-light); }
.direct-contact__icon { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; }
.direct-contact__icon svg { width: 100%; height: 100%; }

/* Footer */
.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,.08); padding: 3.5rem 1.5rem 2rem; text-align: center; }
.footer__logo { height: 40px; margin: 0 auto 1rem; }
.footer__tagline { color: #a99f8c; font-size: .9rem; }
.footer__links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 2rem; margin: 1.5rem 0; }
.footer__links a, .footer__link-btn {
  color: #cfc8b9; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em;
  background: none; border: none; padding: 0; font-family: var(--font-body); cursor: pointer;
}
.footer__links a:hover, .footer__link-btn:hover { color: var(--gold-light); }
.footer__copy { color: #6b6357; font-size: .78rem; margin: 0; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(10,9,7,.95); z-index: 999;
  align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: none; color: #fff; cursor: pointer; opacity: .8;
}
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: 1.5rem; right: 1.5rem; font-size: 2.2rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 1.6rem; padding: 1rem; }
.lightbox__nav--prev { left: .5rem; }
.lightbox__nav--next { right: .5rem; }

/* Float WhatsApp */
.float-whatsapp {
  position: fixed; bottom: 1.8rem; right: 1.8rem; width: 58px; height: 58px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.3); z-index: 90; transition: transform .25s ease;
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 30px; height: 30px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: flex; }
  .about__inner { grid-template-columns: 1fr; }
  .about__image { order: -1; max-width: 420px; margin: 0 auto; }
  .press__inner { grid-template-columns: 1fr; }
  .press__text { padding: 3rem 1.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .finder__controls { grid-template-columns: 1fr; }
  .reseller-card { width: calc((100% - 1.2rem) / 2); }
  .cta-reseller__grid { grid-template-columns: 1fr; }
  .gallery__grid { columns: 2 200px; }
}
@media (max-width: 560px) {
  .topbar__inner { font-size: .65rem; }
  .cards { grid-template-columns: 1fr; }
  .reseller-card { width: 100%; }
  .finder__arrow { width: 36px; height: 36px; }
  .form-row--split { grid-template-columns: 1fr; }
  .hero__content { padding-top: 6rem; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Cookie banner (LGPD) */
.cookie-banner {
  display: none; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300;
  max-width: 860px; margin: 0 auto; background: var(--black); color: #d8d2c6;
  border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: 0 20px 45px -15px rgba(0,0,0,.5);
  align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner__text { margin: 0; font-size: .85rem; line-height: 1.6; }
.cookie-banner__actions { display: flex; gap: .8rem; flex-shrink: 0; }
.cookie-banner__btn {
  padding: .65em 1.4em; font-family: var(--font-body); font-size: .78rem; letter-spacing: .05em;
  text-transform: uppercase; border-radius: var(--radius); cursor: pointer; white-space: nowrap; transition: all .2s ease;
}
.cookie-banner__btn--accept { background: var(--gold); color: var(--black); border: 1px solid var(--gold); font-weight: 500; }
.cookie-banner__btn--accept:hover { background: var(--gold-light); border-color: var(--gold-light); }
.cookie-banner__link {
  background: none; border: none; padding: 0; cursor: pointer; white-space: nowrap;
  color: #d8d2c6; font-family: var(--font-body); font-size: .78rem; letter-spacing: .03em;
  text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease;
}
.cookie-banner__link:hover { color: var(--gold-light); }

/* Cookie settings modal */
.cookie-modal { display: none; position: fixed; inset: 0; z-index: 310; align-items: center; justify-content: center; padding: 1.5rem; }
.cookie-modal.show { display: flex; }
.cookie-modal__overlay { position: absolute; inset: 0; background: rgba(10,9,7,.6); }
.cookie-modal__box {
  position: relative; background: var(--paper); max-width: 480px; width: 100%; border-radius: var(--radius);
  padding: 2.2rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.cookie-modal__box h3 { margin-bottom: .6rem; }
.cookie-modal__box > p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.5rem; }
.cookie-modal__close {
  position: absolute; top: 1rem; right: 1.2rem; background: none; border: none; font-size: 1.6rem;
  line-height: 1; color: var(--ink-soft); cursor: pointer;
}
.cookie-modal__close:hover { color: var(--black); }
.cookie-modal__option {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid rgba(0,0,0,.08);
}
.cookie-modal__option-text strong { display: block; font-size: .92rem; margin-bottom: .2rem; color: var(--black); }
.cookie-modal__option-text p { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.cookie-modal__option input[type="checkbox"] { flex-shrink: 0; width: 20px; height: 20px; accent-color: var(--gold); margin-top: .2rem; }
.cookie-modal__actions { display: flex; gap: .8rem; margin-top: 1.5rem; }
.cookie-modal__actions .btn { flex: 1; padding: .8em 1em; font-size: .78rem; }
