/* ═══════════════════════════════════════════════
   EXCLUSIVE BRAZILIAN QUARTZITES — Trade Expansion
   style.css · Vanilla CSS · :root variables
   ═══════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─────────────────────────── */
:root {
  --deep-charcoal: #0F0E13;
  --charcoal: #171620;
  --charcoal-mid: #21202E;
  --warm-white: #F4F2EE;
  --cream: #F5F2EB;
  --muted: #D4D4E2;
  --accent-line: #2A293A;
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --gold-dim: rgba(201, 169, 110, .1);
  --imperial-blue: #3A5FA0;
  --imperial-blue-light: #5B82C8;
  --imperial-blue-dim: rgba(58, 95, 160, .14);
  --imperial-blue-glow: rgba(91, 130, 200, .07);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;
  --transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
  --nav-h: 72px;
}

/* ─── 2. RESET ──────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--deep-charcoal);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-sans);
}

/* ─── 3. UTILITIES ──────────────────────────────── */
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--imperial-blue-light);
  margin-bottom: 16px;
}

.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;
}

/* ─── 4. ANIMATIONS ─────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.4, 0, .2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax-el {
  will-change: transform;
}

/* ─── 5. STICKY NAV ─────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(15, 14, 19, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 32px;
  transition: background .3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}

.nav-logo-text {
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  list-style: none;
}

.nav-links a {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--deep-charcoal);
}

.nav-cta svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 4px 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.lang-btn .flag {
  font-size: 15px;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--cream);
  border-color: var(--accent-line);
  background: var(--charcoal-mid);
}

.lang-btn.active {
  color: var(--gold);
  border-color: rgba(201, 169, 110, .35);
  background: var(--gold-dim);
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--muted);
  transition: var(--transition);
}

@media(max-width:900px) {
  .site-nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta .btn-label {
    display: none;
  }

  .nav-cta {
    padding: 10px 14px;
  }

  .lang-btn .lang-label {
    display: none;
  }
}

/* ─── 6. HERO ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 14, 19, .85) 40%, rgba(15, 14, 19, .2));
}

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

.hero-eyebrow {
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 300;
  line-height: .95;
  color: var(--warm-white);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  margin-top: 32px;
  font-size: 19px;
  line-height: 1.8;
  color: rgba(245, 242, 235, .9);
  max-width: 620px;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--deep-charcoal);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn-secondary {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid rgba(234, 230, 221, .4);
  padding-bottom: 2px;
  transition: var(--transition);
}

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

@media(max-width:768px) {
  .hero-content {
    padding: 60px 28px;
  }
}

/* ─── 7. CROWN JEWEL — IMPERIAL BLUE ────────────── */
.crown-section {
  padding: 120px 80px;
  background: var(--charcoal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.crown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 100% 50%, var(--imperial-blue-glow) 0%, transparent 65%);
}

.crown-text {
  position: relative;
  z-index: 1;
}

.crown-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--warm-white);
  margin: 16px 0 24px;
}

.crown-title em {
  font-style: italic;
  color: var(--imperial-blue-light);
}

.crown-geo {
  padding: 18px 22px;
  border-left: 2px solid var(--imperial-blue);
  background: var(--imperial-blue-dim);
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--warm-white);
  font-style: italic;
}

.crown-body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}

.crown-features {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crown-features li {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 10px;
}

.crown-features li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 1px;
  background: var(--imperial-blue-light);
}

.crown-link {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--imperial-blue-light);
  border-bottom: 1px solid var(--imperial-blue);
  padding-bottom: 2px;
  transition: var(--transition);
}

.crown-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.crown-image-wrap {
  position: relative;
  z-index: 1;
}

.crown-frame {
  position: relative;
  border: 1px solid rgba(58, 95, 160, .3);
  padding: 10px;
}

.crown-frame::before,
.crown-frame::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
}

.crown-frame::before {
  top: -10px;
  right: -10px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.crown-frame::after {
  bottom: -10px;
  left: -10px;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.crown-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: var(--transition);
}

.crown-frame img:hover {
  filter: brightness(1.08);
}

@media(max-width:900px) {
  .crown-section {
    grid-template-columns: 1fr;
    padding: 80px 28px;
    gap: 60px;
  }
}

/* ─── 8. ORIGIN / INTRO ─────────────────────────── */
.origin-section {
  padding: 120px 80px;
  background: var(--deep-charcoal);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.origin-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--warm-white);
  margin: 20px 0 32px;
  line-height: 1.1;
}

.origin-body {
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px;
}

@media(max-width:768px) {
  .origin-section {
    padding: 80px 28px;
  }
}

/* ─── 9. COLLECTION CARDS ───────────────────────── */
.collection-section {
  padding: 120px 80px;
  background: var(--charcoal);
}

.collection-header {
  text-align: center;
  margin-bottom: 80px;
}

.collection-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  color: var(--warm-white);
  margin: 16px 0 16px;
}

.collection-title em {
  font-style: italic;
  color: var(--gold);
}

.collection-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.8;
}

.material-cards {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mat-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  background: var(--charcoal-mid);
  border: 1px solid var(--accent-line);
  transition: var(--transition);
  overflow: hidden;
}

.mat-card:nth-child(even) {
  direction: rtl;
}

.mat-card:nth-child(even)>* {
  direction: ltr;
}

.mat-card:hover {
  border-color: rgba(201, 169, 110, .25);
}

.mat-card-img {
  overflow: hidden;
  position: relative;
}

.mat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.4, 0, .2, 1);
}

.mat-card:hover .mat-card-img img {
  transform: scale(1.04);
}

.mat-card-body {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mat-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.badge-pill {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--accent-line);
  color: var(--muted);
  border-radius: 20px;
}

.mat-name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.mat-desc {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 32px;
}

.mat-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: var(--transition);
}

.mat-cta:hover {
  background: var(--gold);
  color: var(--deep-charcoal);
}

.mat-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Limited badge */
.badge-limited {
  border-color: rgba(91, 130, 200, .5);
  color: var(--imperial-blue-light);
}

@media(max-width:900px) {
  .collection-section {
    padding: 80px 28px;
  }

  .mat-card,
  .mat-card:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .mat-card-img {
    min-height: 260px;
  }

  .mat-card-body {
    padding: 40px 28px;
  }
}

/* ─── 10. FEATURED QUOTE ────────────────────────── */
.quote-section {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quote-bg {
  position: absolute;
  inset: 0;
}

.quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.3);
}

.quote-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(15, 14, 19, .5), rgba(15, 14, 19, .85));
}

.quote-content {
  position: relative;
  z-index: 1;
  padding: 80px 60px;
  max-width: 760px;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--warm-white);
  font-style: italic;
  margin-bottom: 32px;
}

.quote-text em {
  color: var(--gold-light);
}

@media(max-width:768px) {
  .quote-content {
    padding: 60px 28px;
  }
}

/* ─── 11. AVAILABILITY ──────────────────────────── */
.avail-section {
  padding: 100px 80px;
  background: var(--deep-charcoal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.avail-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 300;
  color: var(--warm-white);
  line-height: 1.1;
  margin: 16px 0 24px;
}

.avail-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.avail-note {
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
  font-size: 17px;
  line-height: 1.7;
  color: var(--warm-white);
  font-style: italic;
}

.avail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--accent-line);
}

.avail-item {
  background: var(--charcoal-mid);
  padding: 36px 32px;
}

.avail-icon {
  font-size: 24px;
  margin-bottom: 14px;
}

.avail-item-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--warm-white);
  margin-bottom: 10px;
  font-weight: 400;
}

.avail-item-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

@media(max-width:900px) {
  .avail-section {
    grid-template-columns: 1fr;
    padding: 80px 28px;
  }

  .avail-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── 12. SUPPORT ───────────────────────────────── */
.support-section {
  padding: 100px 80px;
  background: var(--charcoal);
}

.support-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  color: var(--warm-white);
  margin: 16px 0 60px;
  line-height: 1.1;
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--accent-line);
}

.support-item {
  background: var(--charcoal-mid);
  padding: 40px 32px;
  transition: var(--transition);
}

.support-item:hover {
  background: var(--charcoal);
}

.support-num {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.support-item-title {
  font-size: 16px;
  color: var(--warm-white);
  font-weight: 500;
  margin-bottom: 10px;
}

.support-item-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

@media(max-width:900px) {
  .support-section {
    padding: 80px 28px;
  }

  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ─── 13. FOOTER / CTA ──────────────────────────── */
.footer {
  padding: 120px 80px;
  background: var(--deep-charcoal);
  text-align: center;
  border-top: 1px solid var(--accent-line);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, var(--imperial-blue-glow), transparent 70%);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  color: var(--warm-white);
  margin: 16px 0 16px;
  position: relative;
  z-index: 1;
}

.footer-sub {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto 48px;
  max-width: 660px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--deep-charcoal);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: var(--gold-light);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-email {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .05em;
  transition: color .2s;
}

.footer-email:hover {
  color: var(--cream);
}

.footer-tagline {
  margin-top: 60px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-line);
  position: relative;
  z-index: 1;
}

@media(max-width:768px) {
  .footer {
    padding: 80px 28px;
  }
}

/* ─── 14. LIGHTBOX ──────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 10, .96);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(58, 95, 160, .3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color .2s;
}

.lightbox-close:hover {
  color: var(--warm-white);
}

.lightbox-caption {
  text-align: center;
  color: var(--cream);
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
}

/* ─── 15. MATERIAL PLACEHOLDERS ─────────────────── */
.mat-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

.bonsai-gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 50%, #1a2a1a 100%);
}

.valenza-gradient {
  background: linear-gradient(135deg, #1a1218 0%, #3d2840 50%, #1a1a30 100%);
}

.generic-gradient {
  background: linear-gradient(135deg, var(--charcoal-mid) 0%, var(--imperial-blue-dim) 100%);
}

/* Nav mobile open state */
@media(max-width:900px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(15, 14, 19, .98);
    backdrop-filter: blur(20px);
    padding: 24px 28px;
    gap: 20px;
    border-bottom: 1px solid var(--accent-line);
  }
}