/* ══════════════════════════════════════
   VALERONNI CORPORATE STRATEGY — STYLE
   Tokens
══════════════════════════════════════ */
:root {
  --bg:        #161F28;
  --bg-soft:   #1B2630;
  --card:      #1F2D3A;
  --card-hi:   #25333F;
  --line:      rgba(197,160,80,0.14);
  --line-hi:   rgba(197,160,80,0.30);

  --gold:      #C5A050;
  --gold-soft: #D4B468;
  --gold-faint: rgba(197,160,80,0.08);

  --cream:     #F0E0B0;
  --cream-dim: rgba(240,224,176,0.68);
  --cream-mute: rgba(240,224,176,0.40);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ══════════════════════════════════════
   BACKGROUND GEOMETRY
══════════════════════════════════════ */
.bg-geo {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bg-geo svg { width: 100%; height: 100%; }


/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(22,31,40,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(22,31,40,0.92);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--cream-dim);
  flex: 1;
  justify-content: center;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}
.nav-links a:hover {
  color: var(--cream);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--bg);
  background: var(--gold);
  padding: 10px 22px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 100%; height: 1px;
  background: var(--gold);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(22,31,40,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--line);
  padding: 8px 32px 20px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  font-size: 14px;
  color: var(--cream-dim);
  border-bottom: 0.5px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile-cta {
  margin-top: 12px;
  text-align: center;
  background: var(--gold);
  color: var(--bg) !important;
  border-radius: 100px;
  padding: 12px !important;
  font-weight: 500;
}


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.1s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.25s forwards;
}
.hero-title-accent {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--cream-dim);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.4s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.55s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero background mark — large logo, faded, right side */
.hero-mark {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: 620px;
  max-width: 60vw;
  opacity: 0.10;
  z-index: 1;
  pointer-events: none;
  filter: blur(0.5px);
}
.hero-mark img {
  width: 100%;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
.hero-scroll p {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-mute);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 720px) {
  .hero-scroll { display: none; }
  .hero-mark { opacity: 0.06; right: -20%; }
}


/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 16px 32px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
  border: 0.5px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-hi);
}
.btn-ghost:hover {
  background: var(--gold-faint);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.btn-large {
  font-size: 15px;
  padding: 19px 44px;
}


/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats {
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  background: var(--bg-soft);
}
.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: left; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  color: var(--cream-mute);
  line-height: 1.5;
  max-width: 180px;
}

@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}


/* ══════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════ */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 32px;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 500;
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 720px;
}
.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--cream-dim);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 64px;
}


/* ══════════════════════════════════════
   SERVIÇOS GRID
══════════════════════════════════════ */
.servicos {
  position: relative;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.servico-card {
  background: var(--card);
  padding: 36px 32px;
  transition: background 0.25s;
  position: relative;
}
.servico-card:hover {
  background: var(--card-hi);
}
.servico-card--featured {
  background: linear-gradient(135deg, var(--card-hi) 0%, var(--card) 100%);
}
.servico-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-faint);
  border: 0.5px solid var(--line-hi);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
}
.servico-icon svg {
  width: 21px; height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.servico-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.servico-card p {
  font-size: 13.5px;
  color: var(--cream-dim);
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 980px) {
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .servicos-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 80px 24px; }
}


/* ══════════════════════════════════════
   PROCESSO TIMELINE
══════════════════════════════════════ */
.processo {
  background: var(--bg-soft);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.processo-timeline {
  position: relative;
}
.processo-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent 95%);
  opacity: 0.25;
}
.processo-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 0.5px solid var(--line);
}
.processo-item:last-child { border-bottom: none; }
.processo-marker {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-hi);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}
.processo-marker span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--gold);
}
.processo-content {
  padding-top: 8px;
}
.processo-content h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}
.processo-content p {
  font-size: 14.5px;
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 300;
}

@media (max-width: 600px) {
  .processo-timeline::before { left: 23px; }
  .processo-item { grid-template-columns: 48px 1fr; gap: 18px; }
  .processo-marker { width: 48px; height: 48px; }
  .processo-marker span { font-size: 14px; }
}


/* ══════════════════════════════════════
   SOBRE
══════════════════════════════════════ */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre-paragraph {
  font-size: 15.5px;
  color: var(--cream-dim);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 540px;
}
.sobre-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.pillar {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 18px;
  align-items: start;
}
.pillar-mark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}
.pillar p {
  font-size: 13.5px;
  color: var(--cream-dim);
  line-height: 1.65;
  font-weight: 300;
  max-width: 380px;
}

.sobre-visual {
  display: flex;
  justify-content: center;
}
.sobre-frame {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border: 0.5px solid var(--line-hi);
  border-radius: var(--radius);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  position: relative;
}
.sobre-frame::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 0.5px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.sobre-frame img {
  width: 100%;
  filter: drop-shadow(0 8px 32px rgba(197,160,80,0.18));
}

@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 56px; }
  .sobre-visual { order: -1; }
  .sobre-frame { max-width: 240px; padding: 40px; }
}


/* ══════════════════════════════════════
   CTA FINAL
══════════════════════════════════════ */
.cta-final {
  position: relative;
  border-top: 0.5px solid var(--line);
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(197,160,80,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-final-inner .section-eyebrow { text-align: center; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 22px;
}
.cta-sub {
  font-size: 16px;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.cta-email {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--cream-mute);
}
.cta-email a {
  color: var(--gold);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.2s;
}
.cta-email a:hover {
  border-color: var(--gold);
}


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  border-top: 0.5px solid var(--line);
  background: var(--bg-soft);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 32px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 12.5px;
  color: var(--cream-mute);
  max-width: 260px;
  line-height: 1.6;
}
.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--cream-dim);
}
.footer-links a:hover, .footer-contact a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 0.5px solid var(--line);
  padding: 20px 32px;
  text-align: center;
}
.footer-bottom p {
  font-size: 11px;
  color: var(--cream-mute);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}


/* ══════════════════════════════════════
   RESPONSIVE NAV TOGGLE
══════════════════════════════════════ */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}


/* ══════════════════════════════════════
   SCROLL REVEAL (JS-driven)
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
