/* Fontes auto-hospedadas (woff2, subsets latin + latin-ext) — nenhum pedido a fonts.gstatic.com */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/inter-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}

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

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-500-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-600.woff2') format('woff2');
}

:root {
  --gold: #C9A86E;
  --gold-soft: #DABF95;
  --cream: #F6F4F1;
  --ink: #0A0A0A;
  --ink-soft: #1A1A1A;
  --muted: #6B6B6B;
  --line: rgba(201, 168, 110, .35);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 300
}

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

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

.wrap {
  width: min(1180px, 90vw);
  margin: 0 auto
}

section {
  padding: clamp(64px, 9vw, 130px) 0
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 16px
}

h3 {
  font-size: 1.45rem
}

.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 100ch
}

.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 26px 0
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  background: var(--gold);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: .3s;
  border: 1px solid var(--gold)
}

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

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, .45)
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream)
}

/* NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: .35s;
  padding: 22px 0
}

header.solid {
  background: rgba(10, 10, 10, .94);
  padding: 14px 0;
  backdrop-filter: blur(10px)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.logo {
  font-family: var(--serif);
  font-size: 1.32rem;
  max-height: 1.5lh;
}

.logo span {
  color: var(--gold)
}

.nav ul {
  display: flex;
  gap: 32px;
  list-style: none
}

.nav ul a {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: .25s
}

.nav ul a:hover {
  color: var(--gold);
  border-color: var(--gold)
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative
}

.burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #fff;
  transition: .3s
}

.burger i:nth-child(1) {
  top: 0
}

.burger i:nth-child(2) {
  top: 9px
}

.burger i:nth-child(3) {
  top: 18px
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/porto.jpg') center/cover no-repeat;
  transform: scale(1.05)
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .72) 45%, rgba(10, 10, 10, .35) 100%)
}

.hero .wrap {
  position: relative;
  z-index: 2
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  max-width: 24ch;
  color: #fff
}

.hero p {
  margin-top: 26px;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  max-width: 56ch;
  color: rgba(255, 255, 255, .8)
}

.hero .cta {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

/* PERGUNTA */
.quest {
  background: var(--ink);
  color: #fff;
  text-align: center;
  position: relative
}

.quest::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/texture.jpg') center/cover;
  opacity: .22
}

.quest .wrap {
  position: relative;
  z-index: 2
}

.quest h2 {
  max-width: 20ch;
  margin: 0 auto;
  color: #fff
}

.quest p {
  margin: 28px auto 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, .72);
  font-size: 1.08rem
}

.quest .rule {
  margin: 34px auto
}

/* GRID CARDS */
.grid {
  display: grid;
  gap: 22px
}

.g5 {
  grid-template-columns: repeat(5, 1fr)
}

.g4 {
  grid-template-columns: repeat(4, 1fr)
}

.g3 {
  grid-template-columns: repeat(3, 1fr)
}

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

.card {
  background: #fff;
  padding: 34px 30px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-top: 2px solid var(--gold);
  transition: .3s
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .09)
}

.card .num {
  font-family: var(--serif);
  font-size: 2.7rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 500
}

.card h3 {
  font-size: 1.06rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .03em;
  margin: 14px 0 8px
}

.card p {
  font-size: .9rem;
  color: var(--muted)
}

.card small {
  display: block;
  margin-top: 10px;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

/* ESTRATÉGIA */
.strategy {
  background: #fff
}

.strategy>img {
  height: 230px;
  object-fit: cover;
  width: 100%
}

/* PROCESSO */
.process-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.process-card {
  border: 1px solid var(--gold-soft);
  background: #fff
}

.process-num {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--gold-soft);
  padding: 6px 12px;
}

.process-body {
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}

.process-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 16px;
}

.process-card h3 {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 10px;
}

.process-card p {
  font-size: .86rem;
  color: var(--muted)
}

/* CASES */
.cases {
  background: #fff
}

.cases .glide__bullets {
  transform: translateY(15px)
}

.cases .glide__bullet--active {
  background-color: var(--gold);
}

.case {
  background: var(--cream);
  border: 1px solid rgba(0, 0, 0, .06);
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.case>img {
  height: 230px;
  object-fit: cover;
  width: 100%
}

.case-body {
  padding: 32px 30px 34px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.tag {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 5px 12px;
  align-self: flex-start;
  margin-bottom: 16px
}

.case h3 {
  margin-bottom: 4px
}

.case .loc {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 22px
}

.rows {
  border-top: 1px solid rgba(0, 0, 0, .08)
}

.rows div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  font-size: .86rem
}

.rows div span:last-child {
  font-weight: 500
}

.note {
  margin-top: 32px;
  font-size: .82rem;
  color: var(--muted);
  text-align: center
}

/* SERVIÇOS */
.serv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px
}

.serv article {
  border-top: 2px solid var(--gold);
  padding-top: 22px
}

.serv h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px
}

.serv ul {
  list-style: none
}

.serv li {
  font-size: .88rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px
}

.serv li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--gold)
}

/* SOBRE */
.about {
  background: #fff
}

.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center
}



.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px
}

.about-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1
}

.about-stats span {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted)
}

.about-img {
  position: relative
}

.about-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: grayscale(1)
}

.about-img::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  z-index: -1
}

/* TEAM */
.team-section {
  background: var(--cream);
}

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
  margin-top: 52px
}

.team article {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: start
}

.team img {
  width: 210px;
  height: 250px;
  object-fit: cover;
  object-position: top
}

.team h3 {
  margin-bottom: 4px
}

.team .role {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px
}

.team p {
  font-size: .9rem;
  color: var(--muted)
}

/* CTA */
.final {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden
}

.final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/mesa.jpg') center/cover;
  filter: grayscale(1)
}

.final::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .88)
}

.final .wrap {
  position: relative;
  z-index: 2
}

.final h2 {
  color: #fff;
  max-width: 18ch;
  margin: 0 auto
}

.final p {
  margin: 24px auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, .72)
}

.final .cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap
}

.contact {
  margin-top: 52px;
  display: flex;
  gap: 44px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .88rem;
  color: rgba(255, 255, 255, .72)
}

.contact a:hover {
  color: var(--gold)
}

/* FOOTER */
footer {
  background: #050505;
  color: rgba(255, 255, 255, .5);
  padding: 44px 0;
  font-size: .8rem
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center
}

.sources {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .74rem;
  color: rgba(255, 255, 255, .35);
  line-height: 1.8
}

.legal {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px
}

.lr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  transition: border-color .3s ease, color .3s ease
}

.lr:hover,
.lr:focus-visible {
  border-color: var(--line);
  color: var(--gold)
}

.lr-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: var(--gold);
  color: #050505;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em
}

.lr-txt {
  display: flex;
  flex-direction: column;
  font-size: .78rem;
  line-height: 1.35
}

.lr-txt small {
  font-size: .66rem;
  color: rgba(255, 255, 255, .35)
}

.entity,
.cookies {
  font-size: .74rem;
  color: rgba(255, 255, 255, .35);
  line-height: 1.8
}

.cookies summary {
  cursor: pointer;
  list-style: none;
  color: rgba(255, 255, 255, .5);
  transition: color .3s ease
}

.cookies summary::-webkit-details-marker {
  display: none
}

.cookies summary::before {
  content: '+';
  margin-right: 8px;
  color: var(--gold)
}

.cookies[open] summary::before {
  content: '–'
}

.cookies summary:hover,
.cookies summary:focus-visible {
  color: var(--gold)
}

.cookies p {
  margin-top: 12px;
  max-width: 72ch
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease
}

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

@media(max-width:1400px) {

  .g5 {
    grid-template-columns: repeat(3, 1fr)
  }

  @media(max-width:980px) {

    .g4,
    .g5 {
      grid-template-columns: repeat(2, 1fr)
    }

    .g3,
    .g2,
    .serv,
    .strategy-grid,
    .process-grid,
    .risk-grid,
    .team,
    .about-split {
      grid-template-columns: 1fr
    }

    .team article {
      grid-template-columns: 1fr
    }

    .team img {
      width: 100%;
      height: 340px
    }

    .about-img img {
      height: 340px
    }

    .nav ul {
      position: fixed;
      inset: 0;
      background: rgba(10, 10, 10, .98);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 28px;
      transform: translateX(100%);
      transition: .4s
    }

    .nav ul.open {
      transform: none
    }

    .nav ul a {
      font-size: 1rem
    }

    .burger {
      display: block;
      z-index: 60
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
      display: block
    }

    thead {
      display: none
    }

    td {
      border: 0;
      padding: 6px 0
    }

    tbody tr {
      border-bottom: 1px solid rgba(0, 0, 0, .1);
      padding: 18px 0
    }

    td::before {
      content: attr(data-l);
      display: block;
      font-size: .66rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 2px
    }
  }

  @media(max-width:560px) {

    .g4,
    .g5 {
      grid-template-columns: 1fr
    }

    .kpis {
      grid-template-columns: 1fr
    }

    .legal {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px
    }
  }
}