/* ==========================================================================
   MC ART & JEWELRY — Design System
   Verde profundo, preto e dourado — alta joalheria, esmeraldas, exclusividade.
   ========================================================================== */

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

:root {
  --verde: #0a3d31;
  --verde-profundo: #052a22;
  --verde-claro: #7f9a46;
  --preto: #1a1b1a;
  --marfim: #faf8f4;
  --marfim-escuro: #f0ece3;
  --dourado: #c9a25d;
  --dourado-claro: #e6cfa0;
  --terracota: #b98060;
  --linha: rgba(201, 162, 93, 0.35);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1320px;
  --pad: clamp(20px, 5vw, 80px);
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--preto);
  background: var(--marfim);
  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, h4 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  color: var(--verde-profundo);
  letter-spacing: 0.01em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}

::selection { background: var(--dourado-claro); color: var(--verde-profundo); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 3px;
}

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}

.site-header.solid {
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(6px);
  padding: 14px var(--pad);
  box-shadow: 0 1px 0 var(--linha);
}

.site-header .brand img { height: 68px; transition: height 0.4s ease; }
.site-header.solid .brand img { height: 54px; }

.site-header nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.site-header nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--marfim);
  position: relative;
  padding-bottom: 4px;
}

.site-header.solid nav a { color: var(--verde-profundo); }

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: var(--dourado);
  transition: width 0.3s ease;
}
.site-header nav a:hover::after,
.site-header nav a.active::after { width: 100%; }

.site-header .cta-wsp {
  border: 1px solid currentColor;
  padding: 9px 20px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marfim);
  transition: background 0.3s, color 0.3s;
}
.site-header.solid .cta-wsp { color: var(--verde-profundo); }
.site-header .cta-wsp:hover { background: var(--dourado); border-color: var(--dourado); color: var(--verde-profundo); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 1px;
  background: var(--marfim);
}
.site-header.solid .nav-toggle span { background: var(--verde-profundo); }

/* Mobile nav */
@media (max-width: 980px) {
  .site-header nav { 
    position: fixed;
    inset: 0;
    background: var(--verde-profundo);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.45s ease;
  }
  .site-header nav.open { transform: translateY(0); }
  .site-header nav a { color: var(--marfim); font-size: 18px; }
  .site-header nav .cta-wsp { color: var(--marfim); border-color: var(--dourado); }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle span { transition: 0.3s; }
}

/* ---------------------------------- Buttons / labels ---------------------------------- */

.btn {
  display: inline-block;
  padding: 15px 36px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--verde-profundo);
  color: var(--verde-profundo);
  background: transparent;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn:hover { background: var(--verde-profundo); color: var(--marfim); }

.btn-light {
  border-color: var(--marfim);
  color: var(--marfim);
}
.btn-light:hover { background: var(--marfim); color: var(--verde-profundo); }

.btn-gold {
  border-color: var(--dourado);
  background: var(--dourado);
  color: var(--verde-profundo);
}
.btn-gold:hover { background: transparent; color: var(--dourado); }

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracota);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--marfim);
  background: linear-gradient(180deg, rgba(5,20,16,0.35) 0%, rgba(5,20,16,0.55) 60%, rgba(5,20,16,0.85) 100%), 
              radial-gradient(ellipse at 50% 20%, #1c4436 0%, #052a22 70%);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) 100px;
  max-width: 900px;
}

.hero .eyebrow { color: var(--dourado-claro); }

.hero h1 {
  color: var(--marfim);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.05;
  font-weight: 400;
}

.hero p.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  max-width: 560px;
  margin: 26px 0 40px;
  color: var(--marfim-escuro);
}

.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-monogram {
  position: absolute;
  right: 4%;
  top: 12%;
  width: min(38vw, 420px);
  opacity: 0.13;
  z-index: 1;
}

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  color: var(--marfim-escuro);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(var(--dourado), transparent);
  animation: scrolldown 2.2s ease-in-out infinite;
}
@keyframes scrolldown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.4; }
}

/* ---------------------------------- Sections generic ---------------------------------- */

section { padding: 110px 0; }
.section-tight { padding: 70px 0; }

.section-head {
  max-width: 680px;
  margin-bottom: 60px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 400;
}

.section-head p {
  margin-top: 18px;
  font-size: 1.02rem;
  color: #4a4d49;
  max-width: 60ch;
}
.section-head.center p { margin-left: auto; margin-right: auto; }

.bg-verde { background: var(--verde-profundo); color: var(--marfim); }
.bg-verde h2, .bg-verde h3, .bg-verde h4 { color: var(--marfim); }
.bg-verde .section-head p { color: var(--marfim-escuro); opacity: 0.85; }

.bg-marfim-escuro { background: var(--marfim-escuro); }

/* ---------------------------------- Intro / editorial split ---------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-media { position: relative; overflow: hidden; min-height: 460px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 6vw, 90px);
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 320px; }
}

/* ---------------------------------- Stats strip ---------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}
.stats div {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid var(--linha);
}
.stats div:last-child { border-right: none; }
.stats .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--dourado);
  display: block;
}
.stats .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.8;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: none; }
}

/* ---------------------------------- Collection grid / cards ---------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}
.filters button {
  background: none;
  border: 1px solid var(--linha);
  color: var(--verde-profundo);
  padding: 10px 22px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}
.filters button.active, .filters button:hover {
  background: var(--verde-profundo);
  color: var(--marfim);
  border-color: var(--verde-profundo);
}

.grid-joias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--linha);
}
@media (max-width: 980px) { .grid-joias { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-joias { grid-template-columns: 1fr; } }

.joia-card {
  position: relative;
  background: var(--marfim);
  overflow: hidden;
  cursor: pointer;
}
.joia-card .joia-img-wrap { aspect-ratio: 1 / 1.15; overflow: hidden; }
.joia-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.joia-card:hover img { transform: scale(1.06); }

.joia-info {
  padding: 22px 24px 26px;
}
.joia-info .cat-tag {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
}
.joia-info h3 {
  font-size: 1.3rem;
  margin-top: 6px;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5, 20, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  color: var(--marfim);
}
.lightbox-inner img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 26px; right: 34px;
  background: none; border: none;
  color: var(--marfim); font-size: 30px;
  cursor: pointer; font-family: var(--serif);
  line-height: 1;
}
.lightbox-text .cat-tag { color: var(--dourado-claro); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox-text h3 { color: var(--marfim); font-size: 2rem; margin-top: 10px; }
.lightbox-text p { margin-top: 18px; color: var(--marfim-escuro); font-size: 1rem; }
@media (max-width: 760px) {
  .lightbox-inner { grid-template-columns: 1fr; }
}

/* ---------------------------------- Video blocks ---------------------------------- */

.video-feature {
  position: relative;
  aspect-ratio: 16/8.5;
  overflow: hidden;
  background: var(--verde-profundo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-feature video, .video-feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.75;
}
.video-feature .play-btn {
  position: relative; z-index: 2;
  width: 84px; height: 84px;
  border: 1px solid var(--marfim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  background: rgba(250,248,244,0.08);
  backdrop-filter: blur(3px);
  transition: transform 0.3s, background 0.3s;
}
.video-feature .play-btn:hover { transform: scale(1.08); background: rgba(250,248,244,0.18); }
.video-feature .play-btn svg { width: 22px; height: 22px; fill: var(--marfim); margin-left: 3px; }

.video-caption {
  position: absolute; bottom: 30px; left: 30px; z-index: 2;
  color: var(--marfim);
}
.video-caption .eyebrow { color: var(--dourado-claro); margin-bottom: 6px; }
.video-caption h3 { color: var(--marfim); font-size: 1.6rem; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }

.video-thumb {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,20,16,0.85) 100%);
}
.video-thumb .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border: 1px solid var(--marfim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.video-thumb .play-btn svg { width: 16px; height: 16px; fill: var(--marfim); margin-left: 2px; }
.video-thumb .vt-label {
  position: absolute; left: 20px; bottom: 18px; z-index: 2; color: var(--marfim);
  font-family: var(--serif); font-size: 1.2rem;
}

/* Video modal */
.video-modal {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(5,20,16,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 30px;
}
.video-modal.open { display: flex; }
.video-modal .vm-box { width: 100%; max-width: 960px; aspect-ratio: 16/9; background: #000; position: relative; }
.video-modal video { width: 100%; height: 100%; }
.video-modal .vm-note {
  color: var(--marfim-escuro); text-align: center; margin-top: 20px; font-size: 0.9rem;
}
.video-modal-close {
  position: absolute; top: 26px; right: 34px;
  background: none; border: none; color: var(--marfim);
  font-size: 30px; cursor: pointer; font-family: var(--serif); line-height: 1;
}

/* ---------------------------------- Cards (values, process, etc) ---------------------------------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; gap: 44px; } }

.card-value .num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--dourado);
  border: 1px solid var(--dourado);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card-value h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card-value p { color: #4a4d49; font-size: 0.98rem; }
.bg-verde .card-value p { color: var(--marfim-escuro); opacity: 0.85; }

/* ---------------------------------- Timeline (history) ---------------------------------- */

.timeline { border-left: 1px solid var(--linha); padding-left: 40px; }
.tl-item { position: relative; padding-bottom: 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -45px; top: 4px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dourado);
}
.tl-item .yr { font-family: var(--serif); font-size: 1.6rem; color: var(--verde-profundo); }
.tl-item p { margin-top: 8px; max-width: 60ch; color: #4a4d49; }

/* ---------------------------------- Quote block ---------------------------------- */

.quote-block {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.5;
  margin: 0;
  color: var(--verde-profundo);
}
.bg-verde .quote-block blockquote { color: var(--marfim); }
.quote-block cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
}

/* ---------------------------------- Showrooms ---------------------------------- */

.showroom-card {
  border: 1px solid var(--linha);
  padding: 46px 40px;
  height: 100%;
}
.showroom-card .eyebrow { margin-bottom: 20px; }
.showroom-card h3 { font-size: 1.8rem; margin-bottom: 18px; }
.showroom-card address { font-style: normal; color: #4a4d49; line-height: 1.9; margin-bottom: 26px; }
.showroom-card .meta { font-size: 0.92rem; color: #4a4d49; margin-bottom: 30px; }
.showroom-card .meta strong { color: var(--verde-profundo); font-weight: 500; }

/* ---------------------------------- Forms ---------------------------------- */

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde-profundo);
  display: block;
  margin-bottom: 8px;
}
.bg-verde label { color: var(--marfim-escuro); }

input, textarea, select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--linha);
  padding: 12px 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: inherit;
  margin-bottom: 26px;
}
input:focus, textarea:focus, select:focus { border-bottom-color: var(--dourado); }
textarea { resize: vertical; min-height: 110px; }

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  background: var(--preto);
  color: var(--marfim-escuro);
  padding: 90px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,248,244,0.12);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid img { height: 78px; margin-bottom: 20px; }
.footer-grid p { font-size: 0.92rem; opacity: 0.75; max-width: 30ch; }
.footer-col h4 {
  color: var(--marfim);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-col a, .footer-col address {
  display: block;
  font-style: normal;
  font-size: 0.92rem;
  opacity: 0.75;
  margin-bottom: 12px;
  line-height: 1.6;
}
.footer-col a:hover { opacity: 1; color: var(--dourado-claro); }

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.social-icons a {
  width: 40px; height: 40px;
  border: 1px solid rgba(250,248,244,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.social-icons a:hover { background: var(--dourado); border-color: var(--dourado); }
.social-icons a svg { width: 18px; height: 18px; fill: var(--marfim); }
.social-icons a:hover svg { fill: var(--verde-profundo); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  font-size: 12px;
  opacity: 0.55;
  letter-spacing: 0.04em;
}

/* WhatsApp floating button */
.wsp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--verde-profundo);
  border: 1px solid var(--dourado);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}
.wsp-float:hover { transform: scale(1.08); }
.wsp-float svg { width: 26px; height: 26px; fill: var(--marfim); }

/* ---------------------------------- Page hero (inner pages) ---------------------------------- */

.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  color: var(--marfim);
  background: linear-gradient(180deg, rgba(5,20,16,0.3), rgba(5,20,16,0.85)), var(--verde-profundo);
  background-size: cover;
  background-position: center;
}
.page-hero-inner { padding: 0 var(--pad) 70px; }
.page-hero h1 { color: var(--marfim); font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero .eyebrow { color: var(--dourado-claro); }

/* Reveal on scroll (single orchestrated pattern) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.text-gold { color: var(--dourado); }
