:root {
  --gold: #e1b057;
  --gold-soft: #ecca8d;
  --ink: #2e2b2c;
  --ink-90: #3a3637;
  --paper: #ffffff;
  --paper-alt: #faf7f1;
  --muted: #8a8485;
  --line: #ece7df;

  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 18px 50px -28px rgba(46, 43, 44, 0.5);
  --transition: 220ms ease;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.nav__mark { width: 22px; height: auto; }

.nav__name {
  font-weight: 600;
  letter-spacing: 0.32em;
  font-size: 1.05rem;
  padding-left: 0.32em;
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-90);
  position: relative;
  transition: color var(--transition);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(225, 176, 87, 0.16), transparent 60%),
    var(--paper-alt);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  text-align: center;
  padding: 96px 24px 104px;
}

.hero__mark {
  width: 64px;
  height: auto;
  margin: 0 auto 28px;
  animation: rise 700ms ease both;
}

.hero__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  color: var(--ink);
  animation: rise 700ms ease 80ms both;
}

.hero__tagline {
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
  animation: rise 700ms ease 160ms both;
}

.hero__sub {
  margin: 14px auto 0;
  max-width: 30em;
  color: var(--muted);
  font-weight: 300;
  animation: rise 700ms ease 240ms both;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: rise 700ms ease 320ms both;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  border: 1.5px solid transparent;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.section { padding: 88px 0; }

.section--alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__narrow { max-width: 720px; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section__title {
  margin: 0 0 22px;
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: 0.01em;
}

.section__lead {
  color: var(--muted);
  font-weight: 300;
  margin: 0 0 40px;
  max-width: 40em;
}

#sobre p { margin: 0 0 18px; color: var(--ink-90); }
#sobre strong { font-weight: 600; }

.facts {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact {
  background: var(--paper);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact__value {
  font-weight: 600;
  font-size: 1.05rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.project {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.project::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.project:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.project:hover::before { transform: scaleX(1); }

.project__name {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.project__desc {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
}

.project__link {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.project__arrow { transition: transform var(--transition); color: var(--gold); }
.project:hover .project__arrow { transform: translateX(5px); }

.mockup { margin-bottom: 26px; }

.mockup__screen {
  background: #1c1a1b;
  border-radius: 12px 12px 4px 4px;
  padding: 12px 12px 0;
  box-shadow: var(--shadow);
  border: 1px solid #100f0f;
}

.mockup__screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 4px 4px 0 0;
  display: block;
  background: var(--paper-alt);
}

.mockup__base {
  height: 14px;
  margin: 0 auto;
  width: 116%;
  max-width: none;
  transform: translateX(-7%);
  background: linear-gradient(#d8d2ca, #b9b2a8);
  border-radius: 0 0 12px 12px;
  position: relative;
}

.mockup__base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 6px;
  background: #9b948a;
  border-radius: 0 0 6px 6px;
}

.footer {
  background: var(--ink);
  color: #cfc9c4;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer__mark {
  width: 34px;
  filter: brightness(0) saturate(100%) invert(78%) sepia(28%) saturate(800%) hue-rotate(346deg) brightness(95%) contrast(88%);
}

.footer__name {
  margin: 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.footer__muted { color: #8f8884; font-weight: 300; font-size: 0.9rem; margin: 4px 0 0; }

.footer__heading {
  margin: 0 0 16px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer__list a { transition: color var(--transition); }
.footer__list a:hover { color: var(--gold); }
.footer__list .footer__muted { margin: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.82rem;
  color: #837c78;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__top { transition: color var(--transition); }
.footer__top:hover { color: var(--gold); }

.legal { padding: 64px 0 88px; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
  transition: color var(--transition);
}
.legal__back:hover { color: var(--gold); }
.legal h1 {
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 6px;
}
.legal__updated { color: var(--muted); font-size: 0.85rem; margin: 0 0 36px; }
.legal h2 {
  font-weight: 600;
  font-size: 1.2rem;
  margin: 36px 0 12px;
}
.legal p, .legal li { color: var(--ink-90); font-weight: 300; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--ink); text-decoration: underline; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 0.9rem;
}
.legal th, .legal td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.legal th { background: var(--paper-alt); font-weight: 600; }
.legal__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 20px; }
.legal__table-wrap table { margin: 0; min-width: 520px; }

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.65);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 36px -8px rgba(37, 211, 102, 0.75);
}

.cookie {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 70;
  width: min(680px, calc(100% - 36px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(46, 43, 44, 0.55);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: rise 400ms ease both;
}

.cookie[hidden] { display: none; }

.cookie__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--ink-90);
}

.cookie__text a { color: var(--ink); text-decoration: underline; }

.cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn--sm { padding: 9px 18px; font-size: 0.82rem; }

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 0.82rem; }
  .hero__inner { padding: 70px 24px 76px; }
  .section { padding: 64px 0; }
  .facts { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (max-width: 480px) {
  .cookie { bottom: 90px; }
}

@media (max-width: 420px) {
  .nav__name { display: none; }
}
