:root {
  --navy-deep: #1c2740;
  --navy: #2b3a55;
  --navy-soft: #425065;
  --gold: #c6a15b;
  --gold-light: #e8d5a8;
  --cream: #f8f6f1;
  --paper: #fffdf9;
  --ink: #23283a;
  --ink-soft: #5b6577;
  --line: rgba(43, 58, 85, 0.14);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

/* ---------- NAVBAR ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
header.scrolled {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(28, 39, 64, 0.06);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--navy-soft);
}
.nav-links a:hover {
  color: var(--navy-deep);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--navy-deep);
  color: var(--paper) !important;
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--navy-deep);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep) !important;
}
.nav-cta::after {
  display: none;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--navy-deep);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 47px,
      var(--line) 47px 48px
    ),
    var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(
    circle,
    rgba(198, 161, 91, 0.16) 0%,
    rgba(198, 161, 91, 0) 70%
  );
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards 0.1s;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero p.lead {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards 0.25s;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards 0.4s;
}
.btn-primary {
  background: var(--navy-deep);
  color: var(--paper);
  padding: 15px 28px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}
.btn-ghost {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  padding: 15px 6px;
  border-bottom: 1px solid var(--navy-soft);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-panel {
  position: relative;
  background: var(--navy-deep);
  border-radius: 4px;
  padding: 38px 34px;
  color: var(--paper);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards 0.55s;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: 4px;
  transform: translate(10px, 10px);
  z-index: -1;
}
.hero-panel .panel-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}
.stat-row:last-child {
  border-bottom: none;
}
.stat-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
}
.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 160px;
  text-align: right;
}

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

/* ---------- SECTION HEADERS ---------- */
section {
  padding: 96px 0;
}
.section-head {
  max-width: 600px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: 36px;
  line-height: 1.15;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-top: 14px;
}

/* ---------- SOBRE ---------- */
.sobre {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.sobre-frame {
  aspect-ratio: 4/5;
  background: var(--navy);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sobre-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(198, 161, 91, 0.35),
    transparent 60%
  );
}
.sobre-frame span {
  font-family: "IBM Plex Mono", monospace;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 0.08em;
  z-index: 1;
}
.sobre-text h3 {
  font-size: 26px;
  margin-bottom: 16px;
}
.sobre-text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 15.5px;
}
.credentials {
  display: flex;
  gap: 28px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.credential {
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}
.credential b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 22px;
  color: var(--navy-deep);
}
.credential span {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- SERVIÇOS ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--cream);
  padding: 36px 32px;
  transition: background 0.25s ease;
  position: relative;
}
.service-card:hover {
  background: var(--paper);
}
.service-index {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.service-card h4 {
  font-size: 19px;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- DEPOIMENTOS ---------- */
.depoimentos {
  background: var(--navy-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.depoimentos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 47px,
    rgba(255, 255, 255, 0.035) 47px 48px
  );
}
.depoimentos .section-head h2 {
  color: var(--paper);
}
.depoimentos .section-head p {
  color: rgba(255, 255, 255, 0.6);
}
.depoimentos .eyebrow {
  color: var(--gold-light);
}
.depoimentos .eyebrow::before {
  background: var(--gold-light);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.testi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}
.testi-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}
.testi-mark {
  font-family: "Fraunces", serif;
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  height: 30px;
}
.testi-quote {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}
.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  padding-top: 16px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 15px;
}
.testi-name {
  font-size: 14px;
  font-weight: 600;
}
.testi-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.testi-tag {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: var(--gold-light);
  border: 1px solid rgba(198, 161, 91, 0.4);
  padding: 3px 8px;
  border-radius: 20px;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--gold);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h3 {
  font-size: 28px;
  color: var(--navy-deep);
  max-width: 520px;
}
.cta-inner .btn-primary {
  background: var(--navy-deep);
}
.cta-inner .btn-primary:hover {
  background: var(--paper);
  color: var(--navy-deep);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.foot-brand img {
  height: 40px;
  margin-bottom: 16px;
}
.foot-brand p {
  font-size: 13.5px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.5);
}
.foot-col h5 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.foot-col a,
.foot-col span {
  display: block;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
}
.foot-col a:hover {
  color: var(--gold);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .burger {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 38px;
  }
  .sobre-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
