:root {
  --bg: #03122e;
  --bg-alt: #f3f6fa;
  --bg-card: #081a3e;

  --ink: #ffffff;
  --ink-dark: #0d1b2a;
  --ink-soft: #bac7d5;
  --ink-soft-dark: #4a5568;

  --gold: #d8be8a;
  --gold-hover: #c4a973;
  --line: rgba(216, 190, 138, 0.2);
  --white: #ffffff;

  --font-display: "Cinzel", serif;
  --font-accent: "Great Vibes", cursive;
  --font-body: "Montserrat", sans-serif;

  --container: 1160px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: 112px;
  position: relative;
}
@media (max-width: 760px) {
  section {
    padding-block: 72px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.accent {
  font-family: var(--font-accent);
  font-weight: 400;
  color: var(--gold);
  font-size: 1.15em;
  line-height: 1;
  display: inline-block;
  text-transform: none;
  margin-right: 6px;
}

h1 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.2;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  color: var(--ink-soft);
  font-weight: 300;
}

.lede {
  font-size: 1.05rem;
  max-width: 46ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 10px 24px -8px rgba(216, 190, 138, 0.4);
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(216, 190, 138, 0.5);
}
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 46, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: -1;
}
header.scrolled {
  border-color: var(--line);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding-block: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  display: block;
  width: 110px;
  height: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  gap: 36px;
}
nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}
nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

@media (max-width: 860px) {
  header .container {
    justify-content: space-between;
  }

  nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  nav.open {
    transform: translateX(0);
  }
  nav ul {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  nav a {
    font-size: 1.1rem;
    color: var(--white);
  }
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

.blob-frame {
  position: relative;
  border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%;
  overflow: hidden;
  animation: morph 12s ease-in-out infinite;
  background: linear-gradient(155deg, var(--gold) 0%, var(--bg-card) 100%);
}
@keyframes morph {
  0%,
  100% {
    border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%;
  }
  33% {
    border-radius: 45% 55% 38% 62% / 55% 48% 52% 45%;
  }
  66% {
    border-radius: 55% 45% 62% 38% / 40% 58% 42% 60%;
  }
}
.blob-decor {
  position: absolute;
  background: rgba(216, 190, 138, 0.1);
  border-radius: 60% 40% 50% 50% / 45% 55% 45% 55%;
  animation: morph 16s ease-in-out infinite reverse;
  z-index: -1;
}

.portrait {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero {
  padding-top: 170px;
  padding-bottom: 100px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.hero-visual {
  position: relative;
}
.hero-visual .blob-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 0.9 / 1;
  margin-left: auto;
}
.hero-visual .blob-decor {
  width: 140px;
  height: 140px;
  top: -30px;
  right: -20px;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 320px;
    margin-inline: auto;
  }
}

.sobre {
  background: var(--bg-alt);
}
.sobre h2 {
  color: var(--ink-dark);
}
.sobre .accent {
  color: var(--ink-dark);
}
.sobre p {
  color: var(--ink-soft-dark);
}
.sobre .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.sobre-visual .blob-frame {
  width: 100%;
  aspect-ratio: 1/1.05;
}
.sobre-visual {
  position: relative;
}
.sobre-visual .blob-decor {
  width: 110px;
  height: 110px;
  bottom: -24px;
  left: -24px;
  background: rgba(3, 18, 46, 0.08);
}
.quote {
  margin-top: 32px;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-dark);
}
@media (max-width: 900px) {
  .sobre .container {
    grid-template-columns: 1fr;
  }
  .sobre-visual {
    max-width: 300px;
    margin-inline: auto;
  }
}

.cards-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px 26px;
  border: 1px solid var(--line);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  border-color: var(--gold);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(216, 190, 138, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
}
.card p {
  margin-top: 10px;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.servicos {
  background: var(--bg-alt);
}
.servicos h2 {
  color: var(--ink-dark);
}
.servicos-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(13, 27, 42, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.servico-item {
  background: var(--white);
  padding: 36px 30px;
  transition: background 0.25s;
}
.servico-item h3 {
  color: var(--ink-dark);
}
.servico-item p {
  color: var(--ink-soft-dark);
}
.servico-item:hover {
  background: #fdfdfd;
}
.servico-item .card-icon {
  background: var(--bg-alt);
}
.servico-item .card-icon svg {
  stroke: var(--ink-dark);
}

@media (max-width: 900px) {
  .servicos-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .servicos-grid {
    grid-template-columns: 1fr;
  }
}

.faixa {
  background: var(--bg-card);
  border-block: 1px solid var(--line);
  text-align: center;
  padding-block: 80px;
}
.faixa h2 {
  color: var(--white);
  max-width: 22ch;
  margin-inline: auto;
}
.faixa .btn-primary {
  margin-top: 32px;
}

.passos {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.passos::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--line);
}
.passo {
  position: relative;
}
.passo-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .passos {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .passos::before {
    display: none;
  }
}

.cta-final {
  text-align: center;
  background: var(--bg);
}
.cta-final h2 {
  max-width: 22ch;
  margin-inline: auto;
}
.cta-final p {
  max-width: 50ch;
  margin-inline: auto;
  margin-top: 16px;
}
.cta-final .hero-actions {
  justify-content: center;
  margin-inline: auto;
}

footer {
  background: #010a1b;
  color: var(--ink-soft);
  padding-block: 64px 32px;
  border-top: 1px solid var(--line);
}

footer .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer .logo img {
  width: 160px;
  height: auto;
  margin-bottom: 12px;
}

footer p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 28ch;
}

footer h3 {
  color: var(--white);
}

footer ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: block !important;
  width: 100%;
  padding-top: 28px;
  padding-bottom: 12px;
  margin: 0 auto;
  text-align: center !important;
  border-bottom: 1px solid var(--line);
}

.footer-bottom span {
  display: inline-block;
  text-align: center !important;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 700px) {
  footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  footer .container > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
