@import url("./tokens.css");

body.site {
  background: var(--navy);
  color: var(--white);
  font-size: 1.0625rem;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 28, 42, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  position: relative;
  font-size: 0.9375rem;
  color: var(--gray);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--line-dark);
  background: var(--navy);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 0.875rem 0;
  color: var(--gray);
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .menu-toggle,
  .mobile-nav,
  .mobile-nav.open {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: #d6b57d;
}

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

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

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.hero h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.04;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  max-width: 34rem;
  margin: 0 0 2.5rem;
  font-size: 1.1875rem;
  color: var(--gray);
  text-wrap: pretty;
}

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

.hero-copy {
  flex: 1;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

@media (min-width: 1000px) {
  .hero {
    padding: 6.5rem 0 7rem;
  }
  .hero-grid {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
  .hero-copy {
    flex: 1.1;
  }
  .hero-visual {
    flex: 0.9;
    justify-content: flex-end;
  }
}

/* ---------- Briefing (elemento de assinatura) ---------- */
.briefing {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  color: var(--navy);
  border-radius: 4px;
  padding: 2rem 2rem 1.5rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.55);
  transform: rotate(1.2deg);
  transition: transform 400ms var(--ease);
}

.briefing:hover {
  transform: rotate(0deg) translateY(-4px);
}

.briefing-tag {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border: 1px dashed var(--ink-muted);
  border-radius: 2px;
}

.briefing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--navy);
}

.briefing-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.625rem;
  letter-spacing: -0.01em;
}

.briefing-head span {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.briefing-section {
  padding: 1.25rem 0 0.25rem;
}

.briefing-section h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.briefing-section ol,
.briefing-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.briefing-section li {
  display: flex;
  gap: 0.875rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.briefing-section li:last-child {
  border-bottom: 0;
}

.briefing-section li b {
  flex: none;
  width: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: #a9854a;
}

.briefing-foot {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.briefing-foot svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: #a9854a;
}

/* ---------- Faixa de princípios ---------- */
.principles {
  border-block: 1px solid var(--line-dark);
  background: var(--navy-950);
}

.principles ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 0;
  font-size: 0.9375rem;
  color: var(--gray);
}

.principles li + li {
  border-top: 1px solid var(--line-dark);
}

.principles svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--gold);
}

@media (min-width: 900px) {
  .principles ul {
    flex-direction: row;
  }
  .principles li {
    flex: 1;
    padding: 1.75rem 1.5rem;
  }
  .principles li + li {
    border-top: 0;
    border-left: 1px solid var(--line-dark);
  }
  .principles li:first-child {
    padding-left: 0;
  }
}

/* ---------- Seções genéricas ---------- */
.section {
  padding: 5.5rem 0;
}

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

.section-light .eyebrow {
  color: #8c6b34;
}

.section-light .eyebrow::before {
  background: #8c6b34;
}

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

.section-deep {
  background: var(--navy-950);
}

.section-title {
  max-width: 40rem;
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  text-wrap: balance;
}

.section-lead {
  max-width: 36rem;
  margin: 0;
  color: var(--gray);
  text-wrap: pretty;
}

.section-light .section-lead {
  color: var(--ink-muted);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 900px) {
  .section {
    padding: 8rem 0;
  }
  .split {
    flex-direction: row;
    gap: 6rem;
  }
  .split > * {
    flex: 1;
  }
}

/* Marca */
.brand-statement p {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.brand-statement p:first-child {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  line-height: 1.35;
  color: var(--navy);
}

/* Proposta de valor */
.pillars {
  display: flex;
  flex-direction: column;
  margin-top: 4rem;
  border-top: 1px solid var(--line-light);
}

.pillar {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-light);
}

.pillar svg {
  width: 28px;
  height: 28px;
  margin-bottom: 1.25rem;
  color: #a9854a;
}

.pillar h3 {
  margin: 0 0 0.625rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pillar p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-muted);
  text-wrap: pretty;
}

@media (min-width: 900px) {
  .pillars {
    flex-direction: row;
  }
  .pillar {
    flex: 1;
    padding: 2.5rem 2.5rem 2.5rem 0;
    border-bottom: 0;
  }
  .pillar + .pillar {
    padding-left: 2.5rem;
    border-left: 1px solid var(--line-light);
  }
}

/* Como funciona */
.steps {
  display: flex;
  flex-direction: column;
  margin: 4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding: 0 0 2.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: var(--navy);
  z-index: 1;
}

.step::after {
  content: "";
  position: absolute;
  left: 19.5px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--line-dark-strong);
}

.step:last-child {
  padding-bottom: 0;
}

.step:last-child::after {
  display: none;
}

.step h3 {
  margin: 0.5rem 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gray);
  text-wrap: pretty;
}

.step.is-human h3::after {
  content: "Revisão humana";
  margin-left: 0.75rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  vertical-align: middle;
}

@media (min-width: 1000px) {
  .steps {
    flex-direction: row;
    gap: 1.5rem;
  }
  .step {
    flex: 1;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
  }
  .step::after {
    left: 48px;
    right: -1.5rem;
    top: 19.5px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .step h3 {
    margin-top: 0;
  }
  .step.is-human h3::after {
    display: block;
    width: max-content;
    margin: 0.5rem 0 0;
  }
}

/* Benefícios */
.benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.benefit {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-light);
  transition: padding-left var(--dur) var(--ease);
}

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

.benefit svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 0.25rem;
  color: #a9854a;
}

.benefit h3 {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.benefit p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* Organize */
.organize {
  position: relative;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius);
  background: var(--navy-800);
  padding: 2rem;
}

.organize-level {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border-radius: 2px;
}

.organize h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.01em;
}

.organize > p {
  margin: 0 0 1.5rem;
  color: var(--gray);
}

.organize-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.organize-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--line-dark);
  font-size: 1rem;
}

.organize-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--gold);
}

.organize-note {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark-strong);
  font-size: 0.875rem;
  color: var(--gray);
}

@media (min-width: 900px) {
  .organize {
    padding: 3rem;
  }
}

/* Evolução futura */
.future {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3.5rem;
}

.future-item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.75rem;
  border: 1px dashed var(--line-dark-strong);
  border-radius: var(--radius);
  color: var(--gray);
}

.future-item h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--white);
}

.future-item p {
  margin: 0;
  font-size: 0.9375rem;
  text-wrap: pretty;
}

.future-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.future-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--gray);
}

@media (min-width: 800px) {
  .future {
    flex-direction: row;
  }
  .future-item {
    flex: 1;
  }
}

/* CTA */
.cta {
  text-align: center;
  padding: 6rem 0;
  border-top: 1px solid var(--line-dark);
}

.cta h2 {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  text-wrap: balance;
}

.cta p {
  max-width: 30rem;
  margin: 0 auto 2.25rem;
  color: var(--gray);
}

/* Rodapé */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
  color: var(--gray);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer a {
  color: var(--gray);
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--gold);
}

@media (min-width: 800px) {
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------- Entrada e revelação ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero .eyebrow,
.hero h1,
.hero-lead,
.hero-actions,
.hero-visual {
  animation: rise 700ms var(--ease) both;
}

.hero h1 {
  animation-delay: 80ms;
}

.hero-lead {
  animation-delay: 180ms;
}

.hero-actions {
  animation-delay: 280ms;
}

.hero-visual {
  animation-delay: 380ms;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}
