:root {
  --accent: #1DAAE8;
  --ink: oklch(0.2 0.008 260);
  --ink-soft: oklch(0.45 0.008 260);
  --bg: #fafafa;
  --bg-soft: oklch(0.955 0.008 80);
  --line: oklch(0.87 0.008 80);
  --dark: oklch(0.18 0.01 260);

  --font-family-1: 'Work Sans', sans-serif;
  --font-family-2: 'Newsreader', serif;
  --font-family-3: 'calibril  ', sans-serif;
}

@font-face {
  font-family: 'Calibril';
  src: url('/assets/fonts/calibril/calibril.woff2') format('ttf');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader/newsreader-v26-latin-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader/newsreader-v26-latin-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader/newsreader-v26-latin-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/work-sans/work-sans-v24-latin-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/work-sans/work-sans-v24-latin-300.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/work-sans/work-sans-v24-latin-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/work-sans/work-sans-v24-latin-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family-1);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
.serif {
  font-family: var(--font-family-2);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: oklch(0.48 0.13 230);
}

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

.spaceHeader {
  min-height: var(--header-height);
}

.full-img {
  width: 100%;
  display: block;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #000;
  padding: 15px 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.section-pad {
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 32px;
}

/* reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

[data-reveal].visible {
  animation: revealUp .9s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  [data-reveal].visible {
    animation: none;
  }
}

/* header */
.site-header {
  position: fixed;
  width: 100%;
  max-width: 100%;
  top: 0;
  padding: 10px;
  z-index: 50;
  background: oklch(0.99 0.006 80 / 0.95);
  background-color: #fafafa;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

header.site-header.is-scrolled .logo img {
  max-width: 50px;
}

.top-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: oklch(0.55 0.008 260);
  text-transform: uppercase;
}

.header-row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .4s;
}

.logo h1 {
  font-family: var(--font-family-3);
  font-size: 1.25rem;
}

.logo img {
  max-width: 75px;
  transition: all .4s;
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: oklch(0.35 0.008 260);
}

.phone-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
}

/* hero */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 700px;
  display: flex;
  align-items: end;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, oklch(0.15 0.01 260/.82) 0%, oklch(0.15 0.01 260/.55) 45%, oklch(0.15 0.01 260/.15) 100%);
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px;
  width: 100%;
}

.hero-copy {
  max-width: 620px;
}

.hero-h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.12;
  font-weight: 500;
  margin: 18px 0 26px;
  color: #fff;
}

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

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: oklch(0.9 0.01 260);
  margin: 0 0 36px;
  font-weight: 300;
}

/* stats */
.stats-section {
  background: var(--dark);
  padding: 36px 32px;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-n {
  font-size: 32px;
  color: var(--accent);
  font-weight: 500;
}

.stat-l {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: oklch(0.7 0.01 260);
  text-transform: uppercase;
  margin-top: 6px;
}

/* grid helper */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

/* why section */
.why-section {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 88px;
}

.why-section h2 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 16px 0 28px;
}

.why-section h2 em {
  font-style: italic;
  color: var(--accent);
}

.why-section p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 20px;
  font-weight: 300;
}

.feat-list {
  display: flex;
  flex-direction: column;
}

.feat-item {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.roman {
  font-size: 22px;
  color: var(--accent);
  font-style: italic;
}

.feat-item h2 {
  font-family: var(--font-family-1);
  font-size: 17px;
  font-weight: 600;
  margin: 10px 0 8px;
}

.feat-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 300;
}

/* services */
.services-section {
  background: var(--bg-soft);
  padding: 110px 32px;
}

.services-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.services-head {
  grid-template-columns: 0.6fr 1.4fr;
  gap: 64px;
  margin-bottom: 64px;
}

.services-head h2 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.services-head h2 em {
  font-style: italic;
  color: var(--accent);
}

.lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 300;
  max-width: 560px;
}

.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 44px 0;
  border-top: 1px solid oklch(0.85 0.008 80);
}

.num {
  font-size: 16px;
  color: oklch(0.55 0.008 260);
  letter-spacing: 0.05em;
}

.service-row h3 {
  font-family: var(--font-family-1);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 14px;
}

.service-row p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  max-width: 760px;
  font-weight: 300;
}

/* team */
.team-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 32px;
}

.team-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 52px;
}

.team-head h2 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.team-head h2 em {
  font-style: italic;
  color: var(--accent);
}

.team-nav {
  display: flex;
  gap: 10px;
}

.team-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid oklch(0.8 0.008 80);
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  color: oklch(0.3 0.008 260);
}

.team-viewport {
  overflow: hidden;
}

.team-track {
  display: flex;
  gap: 28px;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.team-card {
  min-width: 196px;
  flex-shrink: 0;
}

.team-card img {
  width: 196px;
  height: 240px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
  filter: grayscale(.1);
}

.team-card h3 {
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  margin: 0 0 4px;
}

.team-card p {
  font-size: 12px;
  color: oklch(0.5 0.008 260);
  margin: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.team-track {
  display: flex;
  gap: 28px;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  cursor: grab;
  touch-action: pan-y;
  /* permite rolar a página verticalmente, mas o JS controla o arraste horizontal */
  user-select: none;
}

.team-track:active {
  cursor: grabbing;
}

.team-card * {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.team-nav button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* historia */
.historia-section {
  background: var(--dark);
  padding: 110px 32px;
}

.historia-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  padding-top: 10px;
  padding-bottom: 10px;
}

.historia-grid .btn {
  text-align: center;
  justify-content: center;
}

.historia_title {
  padding-top: 0;
  padding-bottom: 0;
}

.historia_title h2 {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 16px 0 32px;
  color: #fff;
}

.historia_title h2 em {
  font-style: italic;
  color: var(--accent);
}

.historia-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.historia-copy p {
  font-size: 16px;
  line-height: 1.85;
  color: oklch(0.82 0.008 260);
  margin: 0;
  font-weight: 300;
}

/* nova geracao */
.nova-geracao {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.nova-geracao h1 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
}

.nova-geracao h1 em {
  font-style: italic;
  color: var(--accent);
}

.nova-geracao p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 300;
}

/* valores */
.valores-section {
  background: var(--bg-soft);
  padding: 110px 32px;
}

.valores-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.valores-wrap>h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 68px;
}

.valores-wrap>h1 em {
  font-style: italic;
  color: var(--accent);
}

.mvv-row {
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.mvv-row:first-of-type {
  padding-top: 0;
}

.mvv-row.last {
  border-bottom: none;
  padding-bottom: 0;
}

.mvv-row h3 {
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 14px;
}

.mvv-row h3 em {
  font-style: italic;
  color: var(--accent);
}

.mvv-row p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 300;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.valores-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.valores-list p {
  font-size: 16px;
  line-height: 1.6;
}

.valores-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* gallery */
.gallery-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 32px;
}

.gallery-section>h2 {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
  margin-bottom: 0;
}

.gallery-section>h2 em {
  font-style: italic;
  color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;

  display: none;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: repeating-linear-gradient(135deg, oklch(0.9 0.012 230), oklch(0.9 0.012 230) 10px, oklch(0.93 0.01 230) 10px, oklch(0.93 0.01 230) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item span {
  font-family: monospace;
  font-size: 12px;
  color: oklch(0.5 0.01 230);
  letter-spacing: 0.02em;
}

/* footer */
footer {
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
}

.footer-logo em {
  color: var(--accent);
  font-style: italic;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.muted {
  font-size: 14px;
  color: oklch(0.7 0.008 260);
}

.footer-block .muted:first-child {
  font-size: 12px;
  letter-spacing: 0.03em;
}

.footer-phone {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.footer-mail {
  font-size: 14px;
  color: oklch(0.7 0.008 260);
}

.footer-label {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid oklch(0.35 0.01 260);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  font-weight: 600;
}

.footer-media {
  overflow: hidden;
}

.footer-media img {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(.25);
}

.copyright {
  border-top: 1px solid oklch(0.28 0.012 260);
  padding: 24px 32px;
  text-align: center;
}

.copyright p {
  font-size: 12px;
  color: oklch(0.55 0.008 260);
  margin: 0;
  letter-spacing: 0.02em;
}

/* responsive */
@media (max-width:991px) {

  .header-row {
    padding: 0;
  }

  .nav-menu,
  .top-bar {
    display: none !important;
  }

  .grid-2col,
  .footer-grid,
  .historia-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .historia-sticky {
    position: static !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
  }

  .service-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .section-pad {
    padding: 64px 24px !important;
  }

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

  .historia-section {
    padding: 80px 0;
  }

  .historia-copy {
    padding: 0;
  }
}

@media (max-width:575px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

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