/* =============================================
   Gold Carbon 0 — Vault Noir Sustentável
   CSS Completo (sem frameworks)
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root {
  --gold-dark: #B8960C;
  --gold: #D4AF37;
  --gold-light: #E8C84A;
  --charcoal: #1A1A1A;
  --charcoal-2: #121212;
  --cream: #FAFAF5;
  --forest: #1B4332;
  --white: #FFFFFF;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: #2C2C2C;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; line-height: 1.15; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1200px) { .container { max-width: 1240px; padding: 0 2rem; } }

.gold-text {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold) 40%, var(--gold-light) 60%, var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}

.section { padding: 6rem 0; position: relative; }
.section-dark { background: var(--charcoal); color: var(--cream); }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }
.section-lede { max-width: 640px; color: rgba(44,44,44,0.72); font-size: 1.05rem; }
.section-dark .section-lede { color: rgba(250,250,245,0.68); }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}
.header.scrolled {
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(14px);
  padding: 0.85rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 42px; width: auto; transition: height 0.3s; }
.header.scrolled .header__logo img { height: 34px; }

.header__nav { display: none; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) { .header__nav { display: flex; } }
.header__nav a {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,250,245,0.75); position: relative; padding-bottom: 4px;
}
.header__nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold-light); transition: width 0.3s;
}
.header__nav a:hover { color: var(--gold-light); }
.header__nav a:hover::after { width: 100%; }

.header__cta {
  display: none;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  transition: all 0.3s;
}
@media (min-width: 1024px) { .header__cta { display: inline-block; } }
.header__cta:hover { background: var(--gold); color: var(--charcoal); }

.header__mobile-btn {
  display: block; color: var(--gold-light); font-size: 1.5rem; padding: 0.4rem;
}
@media (min-width: 1024px) { .header__mobile-btn { display: none; } }

.header__mobile-nav {
  display: none; flex-direction: column; gap: 0.9rem;
  background: rgba(18,18,18,0.98); padding: 1.5rem 1.25rem; margin-top: 1rem;
  border-top: 1px solid rgba(212,175,55,0.2);
}
.header__mobile-nav.open { display: flex; }
.header__mobile-nav a {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(250,250,245,0.8); padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212,175,55,0.12);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35), rgba(10,10,10,0.65) 70%, var(--charcoal) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  gap: 2.5rem;
  padding-top: 7rem;
  padding-bottom: 4rem;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding-top: 0; }
}

.hero__tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem; margin-bottom: 1.75rem;
}
.hero__tags span {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light); opacity: 0.85;
}
.hero__tags span:not(:last-child)::after { content: '·'; margin-left: 1.1rem; color: rgba(212,175,55,0.4); }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 1.5rem;
}
.hero p.hero__subtitle {
  font-size: 1.15rem; color: rgba(250,250,245,0.78); max-width: 34rem; margin-bottom: 2.25rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 2rem;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
  border-radius: 999px; transition: all 0.3s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--charcoal);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(212,175,55,0.28); }
.btn-outline { border: 1px solid rgba(250,250,245,0.35); color: var(--cream); }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.hero__coin-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero__coin-wrap img {
  width: min(420px, 80vw);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
  animation: floatCoin 6s ease-in-out infinite;
}
@keyframes floatCoin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(3deg); }
}

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(250,250,245,0.5); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   ABOUT
   ============================================= */
.about__grid {
  display: grid; gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) { .about__grid { grid-template-columns: 0.8fr 1.2fr; } }

.about__icon {
  display: flex; justify-content: center;
}
.about__icon img { width: min(260px, 60vw); }

.about__stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(184,150,12,0.2);
}
.about__stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold-dark);
}
.about__stat-label { font-size: 0.78rem; color: rgba(44,44,44,0.6); margin-top: 0.25rem; }

/* =============================================
   WHAT WE DO
   ============================================= */
.wwd__grid {
  display: grid; gap: 1.5rem; margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
}
.wwd__card {
  background: var(--white);
  border: 1px solid rgba(184,150,12,0.15);
  border-radius: 18px;
  padding: 2.2rem 1.75rem;
  transition: all 0.3s;
}
.wwd__card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(184,150,12,0.12); border-color: var(--gold); }
.wwd__num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.wwd__card h4 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--charcoal); }
.wwd__card p { font-size: 0.92rem; color: rgba(44,44,44,0.65); }

/* =============================================
   MISSION (dark, textured)
   ============================================= */
.mission {
  background-color: var(--charcoal);
  background-image: url('../images/coin-pattern.png');
  background-repeat: repeat;
  background-size: 300px 300px;
  position: relative;
}
.mission::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(212,175,55,0.08), transparent 55%);
}
.mission .container { position: relative; z-index: 1; }
.mission__text { max-width: 46rem; margin-bottom: 3.5rem; }

.mission__values {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
}
.mission__value {
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 18px;
  padding: 2rem;
  background: rgba(250,250,245,0.03);
}
.mission__value-icon {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-family: 'DM Serif Display', serif; font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.mission__value h4 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--cream); }
.mission__value p { font-size: 0.92rem; color: rgba(250,250,245,0.62); }

/* =============================================
   RISK MANAGEMENT
   ============================================= */
.risk__intro { margin-bottom: 3rem; }
.risk__cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  margin-bottom: 3.5rem;
}
.risk__card {
  padding: 2rem; border-radius: 18px;
  background: linear-gradient(160deg, rgba(212,175,55,0.06), transparent);
  border: 1px solid rgba(184,150,12,0.18);
}
.risk__card h4 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--charcoal); }
.risk__card p { font-size: 0.9rem; color: rgba(44,44,44,0.65); }

.risk__processes h3 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.risk__tags { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.risk__tags span {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(184,150,12,0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--gold-dark);
  background: rgba(212,175,55,0.06);
}

/* =============================================
   CTA STRIP
   ============================================= */
.cta-strip {
  background: linear-gradient(135deg, var(--charcoal-2), var(--charcoal));
  color: var(--cream);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(1.8rem,3.5vw,2.5rem); margin-bottom: 1rem; }
.cta-strip p { color: rgba(250,250,245,0.65); margin-bottom: 2.25rem; max-width: 32rem; margin-inline: auto; }
.cta-strip__contacts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-top: 2rem;
  font-size: 0.9rem; color: rgba(250,250,245,0.75);
}
.cta-strip__contacts a:hover { color: var(--gold-light); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--charcoal-2);
  color: rgba(250,250,245,0.55);
  padding: 3rem 0 2rem;
}
.footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1.5rem; padding-bottom: 2rem; margin-bottom: 2rem;
  border-bottom: 1px solid rgba(212,175,55,0.12);
}
.footer__logo img { height: 34px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__nav a { font-size: 0.78rem; letter-spacing: 0.05em; }
.footer__nav a:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  font-size: 0.75rem;
}

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