/* =================================================================
   MAMERI EXPORT — Design System v3.0
   Font: Montserrat | Multi-page | PT / EN / ES
   ================================================================= */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --gold:        #C4A05A;
  --gold-light:  #D4B470;
  --gold-dark:   #9A7530;
  --gold-pale:   #F0E0B8;
  --cream:       #F8F5F0;
  --white:       #FFFFFF;
  --off-white:   #F2EEE8;
  --stone-50:    #F5F2EC;
  --stone-100:   #EAE4D8;
  --stone-200:   #D8D0C0;
  --stone-300:   #C2B8A4;
  --charcoal:    #252018;
  --midnight:    #141008;
  --text:        #333028;
  --text-light:  #6E6455;
  --text-muted:  #9E9080;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --section-py:   clamp(72px, 9vw, 128px);
  --container-px: clamp(20px, 5vw, 80px);

  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 0.28s var(--ease);
  --t-base: 0.42s var(--ease);
  --t-slow: 0.75s var(--ease);

  --shadow-sm:  0 2px 16px rgba(0,0,0,0.07);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.11);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.16);
  --shadow-xl:  0 36px 90px rgba(0,0,0,0.22);
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ── Container ─────────────────────────────────────────────── */
.container        { max-width: 1360px; margin: 0 auto; padding: 0 var(--container-px); }
.container--wide  { max-width: 1600px; margin: 0 auto; padding: 0 var(--container-px); }
.container--narrow{ max-width: 900px;  margin: 0 auto; padding: 0 var(--container-px); }

/* ── Typography helpers ─────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--charcoal);
  text-transform: uppercase;
}
.section-title em { font-style: normal; color: var(--gold); }
.section-body {
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  font-weight: 300;
  line-height: 1.82;
  color: var(--text-light);
}
.gold-rule { display: block; width: 44px; height: 2px; background: var(--gold); margin: 22px 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform var(--t-base); }
.btn:hover svg { transform: translateX(4px); }

.btn-gold   { background: var(--gold); border-color: var(--gold); color: var(--midnight); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196,160,90,0.38); }

.btn-ghost  { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }

.btn-dark   { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.btn-dark:hover { background: var(--midnight); border-color: var(--midnight); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--cream); transform: translateY(-2px); }

.btn-outline-gold { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--midnight); transform: translateY(-2px); }

.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.45); color: rgba(255,255,255,0.85); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.left  { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.scale { transform: scale(0.96); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.22s; }
.reveal-d3 { transition-delay: 0.36s; }
.reveal-d4 { transition-delay: 0.52s; }
.reveal-d5 { transition-delay: 0.70s; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 22px var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: padding var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.site-header.scrolled {
  padding: 12px var(--container-px);
  background: rgba(248,245,240,0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(196,160,90,0.15);
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 42px; width: auto; transition: filter var(--t-base); }
.logo-dark  { display: none; }
.logo-light { display: block; }
.site-header.scrolled .logo-dark  { display: block; }
.site-header.scrolled .logo-light { display: none; }

.header-nav { display: flex; align-items: center; }
.header-nav a {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  padding: 8px 12px;
  position: relative;
  transition: color var(--t-base);
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px; right: 12px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--t-base);
  transform-origin: left;
}
.header-nav a:hover { color: var(--gold-light); }
.header-nav a:hover::after,
.header-nav a.active::after { transform: scaleX(1); }
.header-nav a.active { color: var(--gold-light); }
.site-header.scrolled .header-nav a { color: var(--text-light); }
.site-header.scrolled .header-nav a:hover,
.site-header.scrolled .header-nav a.active { color: var(--gold); }

/* Lang switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.28);
  padding: 4px 5px;
  flex-shrink: 0;
  transition: border-color var(--t-base);
}
.site-header.scrolled .lang-switcher { border-color: rgba(196,160,90,0.3); }
.lang-btn {
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  background: none;
  border: none;
  padding: 3px 6px;
  line-height: 1;
  transition: color var(--t-base);
}
.lang-btn.active, .lang-btn:hover { color: var(--gold-light); }
.site-header.scrolled .lang-btn { color: rgba(51,48,40,0.48); }
.site-header.scrolled .lang-btn.active,
.site-header.scrolled .lang-btn:hover { color: var(--gold); }
.lang-sep { font-size: 0.5rem; color: rgba(255,255,255,0.18); pointer-events: none; line-height: 1; }
.site-header.scrolled .lang-sep { color: rgba(0,0,0,0.12); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
  z-index: 201;
}
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all var(--t-base); transform-origin: center; }
.site-header.scrolled .menu-toggle span { background: var(--charcoal); }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0;
  z-index: 199;
  background: var(--midnight);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-size: clamp(1.4rem, 6vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.78);
  transition: color var(--t-base);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); }
.mobile-lang {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.mobile-lang .lang-btn {
  font-size: 0.72rem;
  color: rgba(248,245,240,0.38);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.mobile-lang .lang-btn.active { color: var(--gold); border-color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   HERO (home fullscreen)
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--midnight);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(20,16,8,0.72) 0%, rgba(20,16,8,0.38) 50%, rgba(20,16,8,0.68) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 var(--container-px);
  max-width: 960px; width: 100%;
}
.hero-eyebrow {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-light); display: block; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.96;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(0.84rem, 1.4vw, 1rem);
  font-weight: 300; line-height: 1.78;
  color: rgba(255,255,255,0.62);
  max-width: 480px; margin: 0 auto 42px;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-mouse {
  width: 20px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.36);
  border-radius: 10px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-dot {
  width: 2.5px; height: 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform:translateY(0); opacity:1; }
  65%  { transform:translateY(11px); opacity:0; }
  66%  { transform:translateY(0); opacity:0; }
  100% { opacity:1; }
}
.scroll-lbl { font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.28); }

/* ═══════════════════════════════════════════════════════════════
   PAGE BANNER (inner pages)
   ═══════════════════════════════════════════════════════════════ */
.page-banner {
  position: relative;
  height: clamp(280px, 36vw, 500px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(32px, 5vw, 60px);
  overflow: hidden;
}
.page-banner-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-color: var(--midnight);
}
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,16,8,0.82) 0%, rgba(20,16,8,0.44) 55%, rgba(20,16,8,0.18) 100%);
}
.page-banner-content { position: relative; z-index: 2; width: 100%; }
.page-banner-eyebrow {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.page-banner-title {
  font-size: clamp(2rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.0;
  color: var(--white); text-transform: uppercase;
}
.page-banner-rule { width: 48px; height: 2.5px; background: var(--gold); margin-top: 18px; }

/* ═══════════════════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════════════════ */
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--midnight); }
.section--dark .section-title { color: var(--cream); }
.section--dark .section-body  { color: rgba(242,238,232,0.60); }
.section--dark .eyebrow { color: var(--gold); }
.section--stone { background: var(--stone-50); }
.section--white { background: var(--white); }
.section-header { margin-bottom: clamp(36px, 5vw, 60px); }
.section-header.center { text-align: center; }
.section-header.center .gold-rule { margin: 22px auto; }
.section-header.center .section-body { max-width: 540px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   HOME — ABOUT PREVIEW
   ═══════════════════════════════════════════════════════════════ */
.home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.home-about-img-wrap { position: relative; }
.home-about-img {
  width: 100%;
  height: clamp(340px, 46vw, 560px);
  object-fit: cover;
  background: var(--stone-200);
}
.home-about-tag {
  position: absolute; bottom: 0; right: 0;
  background: var(--gold); color: var(--midnight);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 16px;
}

/* ═══════════════════════════════════════════════════════════════
   HOME — MATERIAL CATEGORIES
   ═══════════════════════════════════════════════════════════════ */
.mat-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.mat-cat-card { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; }
.mat-cat-img  { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.mat-cat-card:hover .mat-cat-img { transform: scale(1.07); }
.mat-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,8,0.88) 0%, rgba(20,16,8,0.10) 55%, transparent 100%);
  transition: background var(--t-slow);
}
.mat-cat-card:hover .mat-cat-overlay { background: linear-gradient(to top, rgba(20,16,8,0.94) 0%, rgba(20,16,8,0.30) 65%, transparent 100%); }
.mat-cat-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 18px; }
.mat-cat-label {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); display: block; margin-bottom: 5px;
  opacity: 0; transform: translateY(6px); transition: all var(--t-base);
}
.mat-cat-card:hover .mat-cat-label { opacity: 1; transform: none; }
.mat-cat-title {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 800; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════
   HOME — QUOTES
   ═══════════════════════════════════════════════════════════════ */
.quotes-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px var(--container-px) 20px;
  -ms-overflow-style: none;
}
.quotes-track::-webkit-scrollbar { display: none; }
.quote-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(260px, 38vw, 440px);
  background: var(--white);
  padding: 36px 32px;
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.quote-mark { font-size: 2.8rem; font-weight: 800; line-height: 0.8; color: var(--gold-pale); margin-bottom: 14px; display: block; }
.quote-text { font-size: 0.94rem; font-weight: 300; line-height: 1.75; color: var(--text); font-style: italic; margin-bottom: 22px; }
.quote-author { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal); }
.quote-role { font-size: 0.66rem; font-weight: 400; color: var(--text-muted); display: block; margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════════
   HOME — PROJETOS PREVIEW
   ═══════════════════════════════════════════════════════════════ */
.projetos-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.proj-home-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.proj-home-card img { width: 100%; height: 100%; object-fit: cover; background: var(--stone-200); transition: transform 0.8s var(--ease); }
.proj-home-card:hover img { transform: scale(1.06); }
.proj-home-overlay {
  position: absolute; inset: 0;
  background: rgba(20,16,8,0);
  transition: background var(--t-base);
  display: flex; align-items: flex-end; padding: 18px;
}
.proj-home-card:hover .proj-home-overlay { background: rgba(20,16,8,0.55); }
.proj-home-lbl {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white);
  opacity: 0; transform: translateY(6px); transition: all var(--t-base);
}
.proj-home-card:hover .proj-home-lbl { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: clamp(72px, 10vw, 136px) 0;
  overflow: hidden; text-align: center;
}
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--midnight); }
.cta-overlay { position: absolute; inset: 0; background: rgba(20,16,8,0.83); }
.cta-content { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; padding: 0 var(--container-px); }
.cta-title {
  font-size: clamp(1.9rem, 4.5vw, 3.8rem);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.05; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.cta-sub { font-size: 0.95rem; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.58); margin-bottom: 38px; }
.cta-rule { width: 44px; height: 2px; background: var(--gold); margin: 18px auto; }

/* ═══════════════════════════════════════════════════════════════
   QUEM SOMOS
   ═══════════════════════════════════════════════════════════════ */
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.qs-img { width: 100%; height: clamp(360px, 46vw, 560px); object-fit: cover; background: var(--stone-200); }
.qs-values { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: var(--section-py); }
.qs-value-card { background: var(--white); padding: 32px 28px; border-top: 2px solid var(--gold); }
.qs-value-num { font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.qs-value-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 8px; }
.qs-value-text { font-size: 0.85rem; font-weight: 300; line-height: 1.7; color: var(--text-light); }

/* ═══════════════════════════════════════════════════════════════
   MATERIAIS
   ═══════════════════════════════════════════════════════════════ */
.mat-filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 40px; }
.mat-filter-btn {
  font-family: var(--font); font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 16px; border: 1.5px solid var(--stone-200);
  background: transparent; color: var(--text-light);
  transition: all var(--t-fast);
}
.mat-filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.mat-filter-btn.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }

.mat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 3px; }
.mat-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--stone-200); }
.mat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.mat-card:hover img { transform: scale(1.07); }
.mat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,8,0.86) 0%, transparent 55%);
  transition: background var(--t-slow);
}
.mat-card:hover .mat-card-overlay { background: linear-gradient(to top, rgba(20,16,8,0.92) 0%, rgba(20,16,8,0.22) 65%, transparent 100%); }
.mat-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 14px; }
.mat-card-name { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); line-height: 1.3; }
.mat-card-type { font-size: 0.58rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-top: 3px; opacity: 0; transform: translateY(4px); transition: all var(--t-base); }
.mat-card:hover .mat-card-type { opacity: 1; transform: none; }
.mat-card[data-hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════════
   JAZIDAS
   ═══════════════════════════════════════════════════════════════ */
.jazidas-intro { max-width: 740px; margin-bottom: clamp(44px, 5vw, 68px); }
.jazidas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.jazida-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.jazida-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.jazida-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.jazida-img-wrap img { width: 100%; height: 100%; object-fit: cover; background: var(--stone-200); transition: transform 0.7s var(--ease); }
.jazida-card:hover .jazida-img-wrap img { transform: scale(1.05); }
.jazida-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--midnight);
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 9px;
}
.jazida-body { padding: 20px 22px; }
.jazida-name { font-size: 0.96rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 7px; }
.jazida-desc { font-size: 0.82rem; font-weight: 300; line-height: 1.7; color: var(--text-light); }

/* ═══════════════════════════════════════════════════════════════
   PROJETOS
   ═══════════════════════════════════════════════════════════════ */
.projetos-gallery { columns: 3; column-gap: 3px; }
.proj-item { break-inside: avoid; display: block; margin-bottom: 3px; position: relative; overflow: hidden; cursor: pointer; }
.proj-item img { width: 100%; height: auto; display: block; object-fit: cover; background: var(--stone-200); transition: transform 0.7s var(--ease); }
.proj-item:hover img { transform: scale(1.04); }
.proj-item-overlay { position: absolute; inset: 0; background: rgba(20,16,8,0); transition: background var(--t-base); display: flex; align-items: center; justify-content: center; }
.proj-item:hover .proj-item-overlay { background: rgba(20,16,8,0.46); }
.proj-zoom { width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; color: var(--white); opacity: 0; transform: scale(0.8); transition: all var(--t-base); }
.proj-item:hover .proj-zoom { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(14,10,6,0.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--t-base); }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 18px; right: 22px; color: rgba(255,255,255,0.65); font-size: 1.5rem; background: none; border: none; line-height: 1; transition: color var(--t-fast); }
.lightbox-close:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSABILIDADE
   ═══════════════════════════════════════════════════════════════ */
.resp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.resp-card { background: var(--white); padding: 40px 36px; box-shadow: var(--shadow-sm); }
.resp-icon { width: 72px; height: 72px; object-fit: contain; margin-bottom: 24px; }
.resp-card-title { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 14px; }
.resp-card-text { font-size: 0.88rem; font-weight: 300; line-height: 1.82; color: var(--text-light); }

/* ═══════════════════════════════════════════════════════════════
   CONTATO
   ═══════════════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.form-group { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font); font-size: 0.9rem; font-weight: 300;
  color: var(--text); background: transparent;
  border: none; border-bottom: 1.5px solid var(--stone-200);
  padding: 10px 0; outline: none; transition: border-color var(--t-base); width: 100%;
  -webkit-appearance: none;
}
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--gold); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-muted); font-weight: 300; }
.form-field textarea { resize: none; height: 84px; line-height: 1.6; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.ci-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 7px; }
.ci-val { font-size: 0.96rem; font-weight: 600; color: var(--charcoal); line-height: 1.4; }
.ci-sub { font-size: 0.82rem; font-weight: 300; color: var(--text-light); margin-top: 3px; line-height: 1.65; }
.contact-rule { width: 32px; height: 1.5px; background: var(--stone-200); }
.form-success-msg { display: none; padding: 28px; text-align: center; font-size: 1.1rem; font-weight: 300; color: var(--charcoal); line-height: 1.7; }
.form-success-msg.show { display: block; }

/* ═══════════════════════════════════════════════════════════════
   CATÁLOGO
   ═══════════════════════════════════════════════════════════════ */
.catalog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catalog-card { background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow var(--t-base), transform var(--t-base); }
.catalog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.catalog-card-img { width: 100%; height: 240px; object-fit: cover; background: var(--stone-200); display: block; }
.catalog-card-body { padding: 24px 22px; }
.catalog-card-lang { display: inline-block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 4px 9px; margin-bottom: 10px; }
.catalog-card-title { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--charcoal); margin-bottom: 14px; }
.catalog-card-text { font-size: 0.82rem; font-weight: 300; line-height: 1.7; color: var(--text-light); margin-bottom: 18px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer { background: var(--midnight); padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 28px; }
.footer-logo { height: 38px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 0.82rem; font-weight: 300; color: rgba(242,238,232,0.40); line-height: 1.7; max-width: 250px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 9px; }
.footer-social a { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(242,238,232,0.38); transition: all var(--t-base); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 12px; height: 12px; }
.footer-col-title { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.82rem; font-weight: 300; color: rgba(242,238,232,0.44); transition: color var(--t-base); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.footer-copy { font-size: 0.7rem; font-weight: 300; color: rgba(242,238,232,0.20); }
.footer-badges { display: flex; gap: 14px; font-size: 0.66rem; font-weight: 300; color: rgba(242,238,232,0.16); }

/* ═══════════════════════════════════════════════════════════════
   WHATSAPP
   ═══════════════════════════════════════════════════════════════ */
.wa-btn { position: fixed; bottom: 26px; right: 26px; z-index: 150; width: 50px; height: 50px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 22px rgba(37,211,102,0.40); transition: all var(--t-base); animation: waPulse 3.5s ease-in-out infinite; }
.wa-btn:hover { transform: scale(1.1) translateY(-2px); }
.wa-btn svg { width: 25px; height: 25px; fill: white; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 22px rgba(37,211,102,0.40); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,0.64), 0 0 0 8px rgba(37,211,102,0.07); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .mat-categories { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .catalog-cards  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .home-about   { grid-template-columns: 1fr; }
  .qs-grid      { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .resp-grid    { grid-template-columns: 1fr; }
  .qs-values    { grid-template-columns: 1fr 1fr; }
  .projetos-gallery { columns: 2; }
}
@media (max-width: 768px) {
  :root { --section-py: clamp(52px, 12vw, 84px); --container-px: 20px; }
  .header-nav, .lang-switcher { display: none; }
  .menu-toggle { display: flex; }
  .projetos-grid-home { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .catalog-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mat-categories { grid-template-columns: 1fr 1fr; }
  .projetos-grid-home { grid-template-columns: 1fr 1fr; }
  .projetos-gallery { columns: 1; }
  .qs-values { grid-template-columns: 1fr; }
}

/* =================================================================
   ADDENDUM v3.1 — Missing helpers & component aliases
   ================================================================= */

/* ── Button alias ───────────────────────────────────────────────── */
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--midnight); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196,160,90,0.38); }

/* ── Header inner — flex container for header children ─────────── */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

/* ── Logo wrap ──────────────────────────────────────────────────── */
.logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.logo      { height: 42px; width: auto; }

/* ── Page banner — background on the element itself ────────────── */
.page-banner {
  background-size: cover;
  background-position: center 30%;
}
.page-banner-content {
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
.page-banner-content .eyebrow { color: var(--gold-light); }
.page-banner-content h1 {
  font-size: clamp(2rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--white);
  text-transform: uppercase;
}

/* ── Hero aliases ───────────────────────────────────────────────── */
.hero-accent   { color: var(--gold); font-style: normal; }
.hero-sub      { font-size: clamp(0.84rem, 1.4vw, 1rem); font-weight: 300; line-height: 1.78; color: rgba(255,255,255,0.62); max-width: 480px; margin: 0 auto 42px; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

/* ── Typography helpers ─────────────────────────────────────────── */
.text-center  { text-align: center; }
.body-text    { font-size: clamp(0.88rem, 1.3vw, 1rem); font-weight: 300; line-height: 1.82; color: var(--text-light); }
.section-sub  { font-size: clamp(0.88rem, 1.3vw, 1rem); font-weight: 300; line-height: 1.75; color: var(--text-light); max-width: 600px; margin: 14px auto 0; }
.link-arrow   { display: inline-flex; align-items: center; gap: 8px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); transition: gap var(--t-base); }
.link-arrow::after { content: '→'; }
.link-arrow:hover  { gap: 14px; }

/* ── Inner section wrapper ──────────────────────────────────────── */
.inner-section           { padding: var(--section-py) 0; }
.inner-section--dark     { padding: var(--section-py) 0; background: var(--midnight); }
.inner-section--dark .section-title { color: var(--cream); }
.inner-section--dark .body-text     { color: rgba(242,238,232,0.55); }
.inner-section--flush    { padding-top: 0; padding-bottom: var(--section-py); }
.inner-section-narrow    { max-width: 740px; margin-left: auto; margin-right: auto; }

/* ── About section (home) ───────────────────────────────────────── */
.about-section { padding: var(--section-py) 0; background: var(--cream); }
.about-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-text    { display: flex; flex-direction: column; gap: 20px; }
.about-visual  { position: relative; }
.about-img     { width: 100%; height: clamp(340px, 46vw, 560px); object-fit: cover; background: var(--stone-200); display: block; }
.about-tag     { position: absolute; bottom: 0; right: 0; background: var(--gold); color: var(--midnight); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 16px; }

/* ── Materials section (home) ───────────────────────────────────── */
.materials-section { padding: var(--section-py) 0; background: var(--off-white); }
.cat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: clamp(36px, 5vw, 56px); }
.cat-card  { position: relative; overflow: hidden; aspect-ratio: 3/4; display: block; text-decoration: none; }
.cat-card-img  { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s var(--ease); }
.cat-card:hover .cat-card-img { transform: scale(1.06); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,8,0.88) 0%, rgba(20,16,8,0.10) 60%, transparent 100%); transition: background var(--t-slow); }
.cat-card:hover::after { background: linear-gradient(to top, rgba(20,16,8,0.94) 0%, rgba(20,16,8,0.30) 70%, transparent 100%); }
.cat-card-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.cat-card-body h3 { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); }

/* ── Projects preview (home) ────────────────────────────────────── */
.projects-section { padding: var(--section-py) 0; background: var(--cream); }
.proj-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: clamp(36px, 5vw, 56px); }
.proj-preview-item { overflow: hidden; aspect-ratio: 4/3; }
.proj-preview-item img { width: 100%; height: 100%; object-fit: cover; background: var(--stone-200); transition: transform 0.8s var(--ease); display: block; }
.proj-preview-item:hover img { transform: scale(1.05); }

/* ── CTA band ───────────────────────────────────────────────────── */
.cta-band { position: relative; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; background-size: cover; background-position: center; }
.cta-band-overlay { position: absolute; inset: 0; background: rgba(20,16,8,0.80); }
.cta-band-inner { position: relative; z-index: 2; max-width: 680px; display: flex; flex-direction: column; gap: 20px; }
.cta-band .section-title { color: var(--white); }
.cta-band .body-text     { color: rgba(255,255,255,0.60); }
.cta-band-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Values section (Quem Somos) ────────────────────────────────── */
.values-section { background: var(--stone-50); padding: var(--section-py) 0; }
.values-grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.value-card     { background: var(--white); padding: 36px 28px; border-top: 2px solid var(--gold); }
.value-num      { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.value-card h3  { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 10px; }
.value-card p   { font-size: 0.83rem; font-weight: 300; line-height: 1.7; color: var(--text-light); }

/* ── Jazida card aliases ────────────────────────────────────────── */
.jazida-card-img  { aspect-ratio: 16/9; background-size: cover; background-position: center; position: relative; overflow: hidden; transition: transform 0.7s var(--ease); }
.jazida-card:hover .jazida-card-img { transform: scale(1.04); }
.jazida-card-img .jazida-badge { position: absolute; top: 12px; left: 12px; }
.jazida-card-body { padding: 20px 22px; }
.jazida-card-body h3 { font-size: 0.96rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--charcoal); margin-top: 8px; }

/* ── Resp card layout ───────────────────────────────────────────── */
.resp-card-icon { margin-bottom: 24px; }
.resp-card-icon img { width: 72px; height: 72px; object-fit: contain; }
.resp-card-body h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 14px; }
.resp-card-body p  { font-size: 0.88rem; font-weight: 300; line-height: 1.82; color: var(--text-light); }

/* ── Contact form wrapper ───────────────────────────────────────── */
.contact-form-wrap { display: flex; flex-direction: column; gap: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.contact-info-item h4 { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-info-item p  { font-size: 0.96rem; font-weight: 300; color: var(--charcoal); line-height: 1.5; }
.contact-info-item a  { color: var(--charcoal); transition: color var(--t-fast); }
.contact-info-item a:hover { color: var(--gold); }

/* ── Mat card — background-image div variant ────────────────────── */
.mat-card-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}
.mat-card:hover .mat-card-img { transform: scale(1.07); }
.mat-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--stone-200); }
.mat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,8,0.86) 0%, transparent 55%); pointer-events: none; transition: background var(--t-slow); }
.mat-card:hover::after { background: linear-gradient(to top, rgba(20,16,8,0.92) 0%, rgba(20,16,8,0.22) 65%, transparent 100%); }
.mat-card-name { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; padding: 16px 14px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); line-height: 1.3; }

/* ── Catalog card — img wrapper + body typography ───────────────── */
.catalog-card-img img { width: 100%; height: 240px; object-fit: cover; background: var(--stone-200); display: block; }
.catalog-card-body h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--charcoal); margin-bottom: 12px; }
.catalog-card-body p:not(.catalog-card-lang) { font-size: 0.82rem; font-weight: 300; line-height: 1.7; color: var(--text-light); margin-bottom: 18px; }

/* ── Footer helpers ─────────────────────────────────────────────── */
.footer-brand   { display: flex; flex-direction: column; }
.footer-brand p { font-size: 0.82rem; font-weight: 300; color: rgba(242,238,232,0.40); line-height: 1.7; max-width: 250px; }
.footer-col h4  { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul  { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.82rem; font-weight: 300; color: rgba(242,238,232,0.44); transition: color var(--t-base); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col ul li { font-size: 0.82rem; font-weight: 300; color: rgba(242,238,232,0.44); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.68rem; font-weight: 300; color: rgba(242,238,232,0.18); transition: color var(--t-base); }
.footer-legal a:hover { color: var(--gold-light); }

/* ── Responsive addendum ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cat-cards   { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .about-grid          { grid-template-columns: 1fr; }
  .proj-preview-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cat-cards           { grid-template-columns: repeat(2, 1fr); }
  .values-grid         { grid-template-columns: repeat(2, 1fr); }
  .cta-band-btns       { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .cat-cards         { grid-template-columns: 1fr 1fr; gap: 2px; }
  .proj-preview-grid { grid-template-columns: 1fr 1fr; }
  .values-grid       { grid-template-columns: 1fr; }
}
