/* Vetta Project
   Client brief → Linha Content architecture, light-first, navy accent #1C1D44,
   alternating blocks, typographic wordmark (no logo), max 2 images, luxury minimal. */

/* Exact brand fonts extracted from Fonte e Cor.pdf — Blair ITC Bold / Light */
@font-face {
  font-family: "BlairITC";
  src:
    url("assets/fonts/BlairITC-Bold.woff2") format("woff2"),
    url("assets/fonts/BlairITC-Bold.woff") format("woff"),
    url("assets/fonts/BlairITC-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BlairITC";
  src:
    url("assets/fonts/BlairITC-Light.woff2") format("woff2"),
    url("assets/fonts/BlairITC-Light.woff") format("woff"),
    url("assets/fonts/BlairITC-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1c1d44;
  --navy-deep: #12132e;
  --black: #000000;
  --ink: #0c0c0f;
  --white: #ffffff;
  --paper: #f7f6f3;
  --paper-2: #efeee9;
  --muted: #6a6972;
  --muted-on-dark: #a9a7b2;
  --line: rgba(28, 29, 68, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.1);
  --pad: clamp(1.5rem, 5vw, 5rem);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: var(--navy);
  transform-origin: left;
}

/* Wordmark — Fonte e Cor.pdf: VETTA = Blair ITC Bold, PROJECT = Blair ITC Light */
.wordmark {
  font-family: "BlairITC", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
}

.wordmark-bold {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wordmark-light {
  font-weight: 300;
  letter-spacing: 0.28em;
  /* optical match to brand sheet: PROJECT reads lighter and more open */
  font-size: 0.92em;
  transform: translateY(-0.02em);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem var(--pad);
  color: var(--ink);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-over-dark {
  color: var(--white);
}

.site-header.is-over-dark.is-scrolled {
  background: rgba(18, 19, 46, 0.94);
  box-shadow: 0 1px 0 var(--line-on-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  margin-right: 1.25rem;
}

.site-nav a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity 0.25s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Satoshi", sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-header {
  border-color: currentColor;
  flex-shrink: 0;
  opacity: 0.9;
}

.btn-header:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  opacity: 1;
}

.site-header.is-over-dark .btn-header:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-lg {
  padding: 1.1rem 1.9rem;
  font-size: 0.9rem;
}

.section-cta .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.section-cta .btn-primary:hover {
  background: var(--paper);
}

.nav-toggle {
  display: none;
  width: 2rem;
  height: 1.25rem;
  position: relative;
  margin-left: auto;
  z-index: 110;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:first-child {
  top: 0.25rem;
}

.nav-toggle span:last-child {
  top: 0.85rem;
}

.nav-toggle.is-open span:first-child {
  top: 0.55rem;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  top: 0.55rem;
  transform: rotate(-45deg);
}

/* Hero — light-first + full-bleed XXG photo */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ink);
  padding: 7rem var(--pad) 4.5rem;
  overflow: hidden;
  background: var(--paper);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.9) 34%,
      rgba(255, 255, 255, 0.45) 58%,
      rgba(255, 255, 255, 0.08) 78%,
      transparent 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 38%, rgba(255, 255, 255, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}

.hero-actions .btn-primary {
  min-width: 12.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.eyebrow-rule {
  display: inline-block;
  width: 2.25rem;
  height: 2px;
  background: var(--navy);
  flex-shrink: 0;
}

.hero h1 {
  font-family: "Clash Display", sans-serif;
  font-weight: 300;
  font-size: clamp(3rem, 9.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.6rem;
}

.hero h1 .h1-a,
.hero h1 .h1-b {
  display: inline;
}

.hero h1 .h1-b::before {
  content: " ";
}

.hero h1 .h1-c {
  display: block;
}

.accent {
  color: var(--navy);
  font-weight: 500;
}

.title-line {
  display: block;
}

.section-title.title-pillars,
.section-title.title-atuamos,
.section-title.title-somos,
.section-title.title-cta {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}

.hero-lead {
  font-weight: 300;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Sections */
.section {
  padding: clamp(5rem, 12vw, 8.75rem) var(--pad);
}

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

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: var(--navy);
}

.section-navy .section-label,
.section-dark .section-label,
.section-cta .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.section-title {
  font-family: "Clash Display", sans-serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.section-intro {
  font-weight: 300;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 3.25rem;
}

.section-navy .section-intro,
.section-dark .section-intro {
  color: var(--muted-on-dark);
}

.section-body {
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--muted-on-dark);
}

.pull-quote {
  margin-top: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-on-dark);
  color: var(--white) !important;
  font-family: "Clash Display", sans-serif;
  font-weight: 400 !important;
  font-size: 1.45rem !important;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 26rem;
}

/* Alternating grounds — client request */
.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-white {
  background: var(--white);
  color: var(--ink);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-cta {
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
}

.section-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-cta .section-title {
  margin-bottom: 2.25rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) 1fr;
  gap: 3rem;
  align-items: start;
}

/* Pillars — editorial rows (anti-Wix, no cards) */
.pillars {
  border-top: 1px solid var(--line);
}

.pillar {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem;
  padding: 2.15rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease);
}

.pillar:hover {
  padding-left: 0.5rem;
}

.pillar-num {
  font-family: "Clash Display", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  padding-top: 0.35rem;
}

.pillar h3 {
  font-family: "Clash Display", sans-serif;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.pillar-sub {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.pillar p:last-child {
  font-weight: 300;
  color: var(--muted);
  max-width: 40rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 2.25rem 1.5rem 0 0;
  border-right: 1px solid var(--line);
  min-height: 100%;
}

.step:last-child {
  border-right: none;
  padding-right: 0;
}

.step:not(:last-child) {
  padding-right: 1.75rem;
}

.step-num {
  display: block;
  font-family: "Clash Display", sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.step h3 {
  font-family: "Clash Display", sans-serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.step-sub {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.step p:last-child {
  font-weight: 300;
  color: var(--muted);
  font-size: 0.98rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.75rem;
  padding-top: 0.5rem;
}

.about-lead {
  font-family: "Clash Display", sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--white);
}

.about-body {
  font-weight: 300;
  color: var(--muted-on-dark);
}

.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.75rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-on-dark);
}

.cred-row li {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem var(--pad) 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-on-dark);
}

.wordmark-footer {
  font-size: 1.15rem;
  display: inline-flex !important;
  align-items: baseline;
  gap: 0;
  margin-bottom: 0.9rem;
}

.wordmark-footer .wordmark-sep {
  display: inline-block;
  width: 0.55em;
  flex-shrink: 0;
}

.wordmark-footer .wordmark-light {
  letter-spacing: 0.28em;
}

.footer-tag,
.footer-place {
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--muted-on-dark);
}

.footer-place {
  margin-top: 0.3rem;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a,
.footer-social a {
  font-size: 0.875rem;
  color: var(--muted-on-dark);
  transition: color 0.25s;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.32);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary:hover,
  .pillar:hover {
    transform: none;
    padding-left: 0;
  }

  .visual-parallax {
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.74rem;
  }

  .btn-header {
    padding: 0.7rem 1rem;
    font-size: 0.74rem;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 1.75rem 1.25rem 1.75rem 0;
  }

  .step:nth-child(odd) {
    padding-right: 1.25rem;
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    color: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    z-index: 90;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    font-family: "Clash Display", sans-serif;
    font-size: 1.5rem;
    opacity: 1;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .btn-header {
    display: none;
  }

  .split,
  .about-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .step,
  .step:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.5rem);
  }

  /* Mobile: Crescer / exige mais / maturidade. — avoids orphan "mais" */
  .hero h1 .h1-a,
  .hero h1 .h1-b,
  .hero h1 .h1-c {
    display: block;
  }

  .hero h1 .h1-b::before {
    content: none;
  }

  /* Text sits at bottom — veil must be strongest there */
  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.72) 38%,
        rgba(255, 255, 255, 0.94) 62%,
        rgba(255, 255, 255, 0.98) 100%
      );
  }

  .hero-media img {
    object-position: center 42%;
  }

  .hero-lead {
    color: #2e2e35;
  }
}

@media (max-width: 560px) {
  .pillar {
    grid-template-columns: 3rem 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: clamp(1.85rem, 8.5vw, 2.45rem);
  }

  .title-line {
    display: block;
  }

  .hero {
    padding-bottom: 3.25rem;
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.78) 32%,
        rgba(255, 255, 255, 0.96) 55%,
        rgba(255, 255, 255, 0.99) 100%
      );
  }

  .hero-lead {
    color: var(--ink);
  }
}
