/* ─────────────────────────────────────────────────────────────
   Sautor — shared site styles
   Aesthetic: editorial dark, DM Sans (identidade) com acentos em itálico,
   mint green from logo.
   ───────────────────────────────────────────────────────────── */
:root {
  --ink: #050807;           /* near-black */
  --ink-2: #0a1310;
  --ink-3: #0f1c16;
  --line: rgba(169,233,186,0.14);
  --line-2: rgba(255,255,255,0.08);
  --mint: #A9E9BA;
  --mint-soft: #D3F4DD;
  --mint-deep: #6EC585;
  --mint-ink: #3E8A55;
  --cream: #F3F0E9;
  --text: #f4f6f3;
  --muted: rgba(244,246,243,0.6);
  --muted-2: rgba(244,246,243,0.42);

  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Identidade: tudo em DM Sans. Os acentos antes serifados agora usam DM Sans itálico. */
  --serif: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1320px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--mint); color: var(--ink); }

/* ─────────── layout ─────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section {
  padding-top: clamp(80px, 10vw, 160px);
  padding-bottom: clamp(80px, 10vw, 160px);
  position: relative;
}
.section--tight {
  padding-top: clamp(60px, 7vw, 100px);
  padding-bottom: clamp(60px, 7vw, 100px);
}
.divider { height: 1px; background: var(--line-2); }

/* ─────────── typography ─────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--mint);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--mint);
}
.eyebrow.no-line::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.display {
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.display em, .h-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mint);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 5vw, 72px); }
h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h4 { font-size: clamp(18px, 1.4vw, 20px); }

.lead {
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
  font-weight: 400;
}
.kicker {
  font-family: var(--sans);
  font-size: 14px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted-2);
}

/* ─────────── header / nav ─────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(5,8,7,0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
  transition: padding .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(5,8,7,0.88);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 500; font-size: 20px;
  letter-spacing: -0.01em; color: var(--text);
  flex-shrink: 0;
}
.brand svg { width: 28px; height: 28px; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--mint);
}
.nav-sim {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(169,233,186,0.08);
  border: 1px solid rgba(169,233,186,0.22);
  color: var(--mint);
  font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  transition: all .2s ease;
}
.nav-sim:hover { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.nav-sim svg { width: 12px; height: 12px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--mint);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--mint);
  transition: all .2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--mint); color: var(--ink); }
.nav-cta svg { width: 13px; height: 13px; }

/* Pills de Área do Cliente / Intranet (placeholders — futuro) */
.nav-links a.nav-account {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--muted); font-size: 13px;
}
.nav-links a.nav-account:hover { color: var(--mint); border-color: var(--mint); }
.nav-links a.nav-account svg { width: 13px; height: 13px; flex-shrink: 0; }
.nav-account-sep { margin-left: 6px; }
/* Aperta o espaçamento do menu em telas médias para não estourar a linha */
@media (max-width: 1200px) and (min-width: 961px) {
  .nav-links { gap: 18px; }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 4px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--text);
  transition: all .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 66px; left: 0; right: 0;
    background: rgba(5,8,7,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column; align-items: flex-start;
    padding: 32px var(--pad-x) 48px;
    gap: 24px;
    border-bottom: 1px solid var(--line-2);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 18px; }
  .nav-cta { display: none; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
}

/* spacer below fixed header */
.header-spacer { height: 80px; }

/* ─────────── footer ─────────── */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line-2);
  padding-top: 80px; padding-bottom: 32px;
  margin-top: 80px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-2);
}
.foot-grid h5 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 20px;
}
.foot-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.foot-list a, .foot-list span {
  font-size: 14px; color: var(--muted);
  transition: color .2s ease;
}
.foot-list a:hover { color: var(--mint); }
.foot-brand {
  font-family: var(--sans); font-size: 24px; font-weight: 500;
  letter-spacing: -0.01em; margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.foot-brand svg { width: 32px; height: 32px; }
.foot-tag {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.4; color: var(--muted);
  max-width: 38ch;
}
.foot-legal {
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted-2);
}
.foot-legal a { color: var(--muted-2); transition: color .2s; }
.foot-legal a:hover { color: var(--mint); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 48px; }
  .foot-legal { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ─────────── buttons ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: all .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: var(--mint-soft); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

/* row of buttons — prevent squish */
.row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}

/* ─────────── background atmosphere ─────────── */
.atmo {
  position: absolute; pointer-events: none;
  filter: blur(120px);
  border-radius: 50%;
  background: var(--mint-deep);
  opacity: 0.12;
}

/* ─────────── grid bg ─────────── */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(169,233,186,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,233,186,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ─────────── chamfer shape ─────────── */
.chamfer {
  --c: 28px;
  clip-path: polygon(
    var(--c) 0%, 100% 0%, 100% calc(100% - var(--c)),
    calc(100% - var(--c)) 100%, 0% 100%, 0% var(--c)
  );
}

/* ─────────── tag / chip ─────────── */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(169,233,186,0.08);
  border: 1px solid rgba(169,233,186,0.22);
  color: var(--mint);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}

/* ─────────── helpers ─────────── */
.center { text-align: center; }
.muted { color: var(--muted); }
.col { display: flex; flex-direction: column; gap: 16px; }
.between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─────────── responsive layout utilities ─────────── */
/* 2-col section header (1fr 1fr) */
.grid-2-text {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end; margin-bottom: 56px;
}
/* CTA 2-col asymmetric (1.4fr 1fr) */
.cta-2col {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 64px; align-items: end; position: relative; z-index: 2;
}
/* inline CTA block (text left + button right) */
.cta-inline {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 28px;
}
@media (max-width: 900px) {
  .grid-2-text { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .cta-2col    { grid-template-columns: 1fr; gap: 28px; }
  .cta-inline  { grid-template-columns: 1fr; }
}

/* ─────────── arrow link ─────────── */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--mint);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: all .2s ease;
  white-space: nowrap;
}
.arrow-link:hover { border-color: var(--mint); }
.arrow-link svg { width: 13px; height: 13px; flex-shrink: 0; transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ─────────── ANIMATIONS ─────────── */
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageIn .5s ease both; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 85ms); }

@keyframes countIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.is-in .stat-num { animation: countIn .9s cubic-bezier(.2,.7,.2,1) both; }

.lift {
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .25s ease;
}
.lift:hover { transform: translateY(-4px); }

.btn--mint { position: relative; overflow: hidden; }
.btn--mint::before {
  content:''; position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .8s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.btn--mint:hover::before { transform: translateX(110%); }

.page-transition {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 2000; pointer-events: none;
  background: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .45s cubic-bezier(.7,0,.3,1), visibility .45s linear;
}
.page-transition.is-out { opacity: 1; visibility: visible; }

/* office photo placeholder */
.photo {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--mint-deep) 0%, var(--ink-3) 80%);
}
.photo::after {
  content: attr(data-tag);
  position: absolute; left: 14px; bottom: 12px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.85); font-weight: 600;
  padding: 5px 10px; background: rgba(5,8,7,0.5); backdrop-filter: blur(8px);
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .lift:hover { transform: none; }
  .btn--mint::before { display: none; }
}

/* ─────────── CUSTOM SCROLLBAR & SELECTS ─────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(169, 233, 186, 0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(169, 233, 186, 0.4); }

select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23A9E9BA%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px !important;
  cursor: pointer;
}
select option { background: var(--ink-2); color: var(--text); }
