/* ================================================
   FRANCISCO MALAFARINA — v3
   Noturno, quente, sans-serif, drama controlado.
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root{
  /* Background scale — warm near-black */
  --bg:        #0E0A07;
  --bg-2:      #15100B;
  --bg-3:      #1F1812;
  --bg-4:      #2B221A;

  /* Foreground — warm cream */
  --fg:        #F5ECDB;
  --fg-2:      #E6D9BF;
  --fg-3:      #B5A78F;
  --fg-4:      #7C705C;

  /* Accents — pulled from hero */
  --gold:      #E0B25A;
  --gold-2:    #F0CB80;
  --gold-deep: #8A6B2E;
  --red:       #C8333A;
  --red-deep:  #8A1F25;
  --bronze:    #6B5430;

  /* Strokes */
  --line:      rgba(245,236,219,0.12);
  --line-2:    rgba(245,236,219,0.22);

  /* Type */
  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;

  /* Spacing */
  --max: 1320px;
  --pad: clamp(20px, 4.5vw, 56px);
  --gap-section: clamp(96px, 12vw, 180px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--bg); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); width: 100%; }

/* ================================================
   TYPE UTILS
   ================================================ */
.eyebrow {
  font-family: var(--ff);
  font-weight: 600;
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: ""; width: 36px; height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(224,178,90,0.2) 100%);
}

.h-display {
  font-family: var(--ff);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: none;
  margin: 0;
  color: var(--fg);
}
.h-section {
  font-family: var(--ff);
  font-weight: 800;
  font-size: clamp(32px, 5.4vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
.h-section em {
  font-style: normal;
  color: var(--gold);
  font-weight: 800;
}
.lead {
  font-family: var(--ff);
  font-weight: 300;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
  max-width: 56ch;
  margin: 0;
}
p {
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: var(--fg-2);
  text-wrap: pretty;
}

.section-head {
  display: flex; flex-direction: column; gap: 24px;
  margin-bottom: clamp(48px, 7vw, 88px);
  max-width: 920px;
}
section { padding: var(--gap-section) 0; position: relative; }

/* ================================================
   NAV
   ================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  background: rgba(14,10,7,0.55);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 280ms ease, border-color 280ms ease;
}
.nav.atop {
  background: linear-gradient(180deg, rgba(14,10,7,0.85) 0%, rgba(14,10,7,0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  max-width: var(--max); margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nav-brand img {
  height: 30px; flex: 0 0 auto;
  filter: invert(98%) sepia(15%) saturate(380%) hue-rotate(345deg) brightness(105%);
}
.nav-brand .lockup { display: flex; flex-direction: column; min-width: 0; }
.nav-brand .name {
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg);
  line-height: 1.2;
  white-space: nowrap;
}
.nav-brand .tag {
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.2;
  white-space: nowrap;
  margin-top: 1px;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link {
  font-weight: 500;
  font-size: 13px;
  color: var(--fg);
  padding: 6px 0;
  position: relative;
  transition: color 200ms;
}
.nav-link::after {
  content: ""; position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right 240ms ease;
}
.nav-link:hover { color: var(--gold-2); }
.nav-link:hover::after { right: 0; }

.nav-cta {
  font-weight: 600;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--bg);
  padding: 12px 20px;
  background: var(--gold);
  border-radius: 999px;
  transition: background 200ms, transform 200ms;
}
.nav-cta:hover { background: var(--gold-2); }
.nav-cta:active { transform: scale(0.97); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer;
  color: var(--fg);
}
.burger span, .burger span::before, .burger span::after {
  display: block; position: relative;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform 240ms ease, top 240ms ease, opacity 200ms;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: rotate(45deg); }
.burger.open span::after  { top: 0; transform: rotate(-45deg); }

.drawer {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 28px var(--pad) 36px;
  z-index: 75;
  transform: translateY(-110%);
  transition: transform 360ms cubic-bezier(.2,0,.1,1);
}
.drawer.open { transform: translateY(0); }
.drawer-link {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.drawer-link:last-of-type { border-bottom: 0; }
.drawer-link .n {
  font-size: 11px; letter-spacing: 0.28em; color: var(--gold);
  font-weight: 600;
  min-width: 24px;
}
.drawer-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  padding: 14px 22px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px; letter-spacing: 0.02em;
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .drawer { display: block; }
}

/* ================================================
   HERO — full bleed image + bottom-left text
   ================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
  padding: 0 var(--pad) clamp(56px, 8vw, 96px);
  color: var(--fg);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("assets/hero.png");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 25% 100%, rgba(14,10,7,0.92) 0%, rgba(14,10,7,0.4) 45%, rgba(14,10,7,0) 80%),
    linear-gradient(180deg, rgba(14,10,7,0.65) 0%, rgba(14,10,7,0.1) 18%, rgba(14,10,7,0) 40%, rgba(14,10,7,0.55) 70%, rgba(14,10,7,0.95) 100%),
    linear-gradient(90deg, rgba(14,10,7,0.45) 0%, rgba(14,10,7,0) 50%);
}
/* gold side rail */
.hero::before {
  content: "";
  position: absolute;
  left: var(--pad); top: clamp(120px, 14vw, 180px);
  width: 1px; height: clamp(100px, 12vw, 160px);
  background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, transparent 100%);
  z-index: 2;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  width: 100%;
}
.hero-top {
  position: absolute; top: clamp(96px, 11vw, 140px);
  left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.hero-top .pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(14,10,7,0.55);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.hero-top .pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(224,178,90,0.7);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,178,90,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(224,178,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,178,90,0); }
}
.hero-top .meta {
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 32px);
  max-width: 800px;
}
.hero-eyebrow {
  font-weight: 600;
  font-size: clamp(10px, 0.9vw, 12px);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.hero-eyebrow::before {
  content: ""; width: 36px; height: 1px;
  background: var(--gold);
}
.hero-name {
  font-weight: 800;
  font-size: clamp(48px, 9vw, 124px);
  letter-spacing: -0.035em;
  line-height: 0.92;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 6px 40px rgba(0,0,0,0.6);
}
.hero-name .acc { color: var(--gold); }
.hero-sub {
  font-weight: 400;
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 52ch;
  text-shadow: 0 1px 16px rgba(0,0,0,0.7);
  margin: 0;
}
.hero-sub b { color: var(--fg); font-weight: 600; }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: clamp(8px, 1.4vw, 16px);
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px; letter-spacing: 0.02em;
  transition: background 220ms, transform 200ms, color 220ms, border-color 220ms;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn .arr { font-size: 18px; line-height: 1; transition: transform 220ms; }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); }

.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

.btn-red { background: var(--red); color: var(--fg); border-color: var(--red); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }

.hero-meta-row {
  display: flex; flex-wrap: wrap; gap: 28px 36px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.hero-stat {
  display: flex; flex-direction: column; gap: 6px;
}
.hero-stat .n {
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 24px);
  color: var(--fg);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}
.hero-stat .l {
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

@media (max-width: 720px) {
  .hero-top { position: static; padding-top: 88px; padding-bottom: 24px; }
  .hero { justify-content: flex-end; min-height: 100svh; padding-bottom: 36px; }
  .hero::before { display: none; }
  .hero-meta-row { gap: 16px 28px; }
}

/* ================================================
   SECTION: Manifesto
   ================================================ */
.manifesto {
  background: var(--bg);
}
.manifesto::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-deep) 50%, transparent 100%);
  opacity: 0.4;
}
.manifesto-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 900px) { .manifesto-grid { grid-template-columns: 1fr 2fr; gap: 80px; } }

.manifesto-side {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 12px;
}
.manifesto-side .label {
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
}
.manifesto-side .who {
  font-weight: 600; font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.manifesto-side .place {
  font-weight: 400; font-size: 14px; color: var(--fg-3);
}
.manifesto-side .fio {
  width: 48px; height: 2px; background: var(--gold);
  margin-top: 16px;
}

.manifesto-body { display: flex; flex-direction: column; gap: 24px; }
.manifesto-body .pull {
  font-family: var(--ff);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-wrap: balance;
  margin: 0;
}
.manifesto-body .pull .acc { color: var(--gold); font-style: italic; }
.manifesto-body p {
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.75;
  color: var(--fg-2);
  max-width: 58ch;
}

/* ================================================
   SECTION: Sobre
   ================================================ */
.sobre {
  background: var(--bg-2);
}
.sobre-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 56px; align-items: center;
}
@media (min-width: 900px) { .sobre-grid { grid-template-columns: 0.9fr 1.1fr; gap: 100px; } }

.sobre-photo {
  position: relative;
}
.sobre-photo .frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.sobre-photo .frame img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  transition: transform 600ms cubic-bezier(.2,0,.1,1);
}
.sobre-photo:hover .frame img { transform: scale(1.03); }
.sobre-photo::before {
  content: "";
  position: absolute;
  top: -16px; left: -16px;
  width: 60%; height: 40%;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.sobre-photo::after {
  content: "";
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%; height: 40%;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.sobre-text { display: flex; flex-direction: column; gap: 22px; }
.sobre-text p { max-width: 56ch; }
.sobre-text p strong { color: var(--fg); font-weight: 600; }
.sobre-text p em { font-style: italic; color: var(--gold-2); }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 7vw, 88px);
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg-2);
  padding: 28px 24px;
}
.stat .n {
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--gold);
  margin-bottom: 10px;
}
.stat .l {
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--fg-3);
}

/* ================================================
   SECTION: Áreas — dark with gold numerals
   ================================================ */
.areas { background: var(--bg); position: relative; }
.areas .h-section .acc { color: var(--gold); }

.areas-grid {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
.area {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  transition: background 240ms;
}
@media (min-width: 720px) {
  .area { padding: 32px clamp(20px, 3vw, 36px); }
  .area:nth-child(odd)  { padding-left: 0;  border-right: 1px solid var(--line); }
  .area:nth-child(even) { padding-right: 0; }
}
.area:hover { background: rgba(224,178,90,0.04); }
.area .num {
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 26px);
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.area h3 {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin: 0 0 8px;
}
.area p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-3);
  margin: 0;
  max-width: 44ch;
}

/* ================================================
   SECTION: Método
   ================================================ */
.metodo { background: var(--bg-2); }
.metodo-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 720px) { .metodo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .metodo-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.step {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px 28px;
  background: var(--bg-3);
  border-top: 1px solid var(--gold);
  border-radius: 4px;
  transition: transform 280ms ease, background 280ms ease;
}
.step:hover { transform: translateY(-4px); background: var(--bg-4); }
.step .n {
  font-weight: 800;
  font-size: clamp(44px, 4.4vw, 56px);
  color: var(--gold);
  line-height: 1; letter-spacing: -0.04em;
}
.step h3 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}
.step p { font-size: 14.5px; line-height: 1.6; color: var(--fg-3); margin: 0; }

/* ================================================
   SECTION: Galeria
   ================================================ */
.galeria { background: var(--bg); }

.gallery-block + .gallery-block { margin-top: clamp(56px, 8vw, 104px); }
.gallery-block-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 40px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.gallery-block-head .num {
  font-weight: 600;
  font-size: 11px; letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.gallery-block-head h3 {
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
  line-height: 1.05;
}
.gallery-block-head .meta {
  font-style: italic; font-weight: 300;
  font-size: 13.5px;
  color: var(--fg-3);
}

.gallery-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 280px;
}
@media (min-width: 720px) {
  .gallery-grid { gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
}
@media (min-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; }
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: 4px;
  cursor: zoom-in;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,0,.1,1), filter 320ms ease;
  filter: saturate(0.92) brightness(0.94);
}
.tile:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,10,7,0) 50%, rgba(14,10,7,0.9) 100%);
  opacity: 0; transition: opacity 280ms;
  pointer-events: none;
}
.tile:hover::after { opacity: 1; }
.tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  color: var(--fg);
  font-size: 12px; font-weight: 500;
  line-height: 1.45; letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
  z-index: 2;
}
.tile:hover .cap { opacity: 1; transform: translateY(0); }
@media (hover: none) {
  .tile::after { opacity: 1; }
  .tile .cap { opacity: 1; transform: none; }
}

.tile.s-2x2 { grid-column: span 2; grid-row: span 2; }
.tile.s-2x1 { grid-column: span 2; }
.tile.s-3x2 { grid-column: span 3; grid-row: span 2; }
.tile.s-3x1 { grid-column: span 3; }
@media (max-width: 720px) {
  .tile.s-3x2, .tile.s-3x1 { grid-column: span 2; grid-row: span 1; }
  .tile.s-2x2 { grid-column: span 2; grid-row: span 2; }
  .tile.s-2x1 { grid-column: span 2; grid-row: span 1; }
}

/* ================================================
   SECTION: Trajetória
   ================================================ */
.traj { background: var(--bg-2); }
.timeline {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.tl-row {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 240ms, padding 240ms;
}
.tl-row:hover { background: rgba(224,178,90,0.03); }
@media (min-width: 720px) {
  .tl-row { grid-template-columns: 220px 1fr; gap: 40px; padding: 36px 0; }
}
.tl-year {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.tl-what {
  font-weight: 700; font-size: 14.5px;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin: 0 0 10px;
}
.tl-desc { font-size: 14.5px; line-height: 1.65; max-width: 64ch; color: var(--fg-3); }
.tl-desc em { color: var(--fg-3); font-style: italic; opacity: 0.85; }

.foundation {
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: 56px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 900px) { .foundation { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.foundation h3 {
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px;
}
.fl-list { display: flex; flex-direction: column; gap: 18px; }
.fl-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.fl-row:last-child { border-bottom: 0; }
.fl-row .yr { font-weight: 700; font-size: 15px; color: var(--gold); letter-spacing: -0.01em; }
.fl-row .ttl { font-weight: 700; font-size: 14px; color: var(--fg); margin-bottom: 4px; letter-spacing: -0.005em; }
.fl-row .inst { font-size: 14px; color: var(--fg-3); }

.langs { display: flex; flex-direction: column; gap: 18px; }
.lang {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lang:last-child { border-bottom: 0; }
.lang .l { font-weight: 700; font-size: 14px; color: var(--fg); letter-spacing: -0.005em; }
.lang .level { font-style: italic; font-weight: 300; color: var(--fg-3); font-size: 13.5px; }
.lang .bar { grid-column: 1 / -1; display: flex; gap: 4px; margin-top: 6px; }
.lang .bar span { flex: 1; height: 4px; background: var(--line-2); border-radius: 2px; }
.lang .bar span.on { background: var(--gold); }

/* ================================================
   SECTION: Serviços
   ================================================ */
.servicos { background: var(--bg); }
.svc-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.svc {
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
  border-radius: 4px;
  border-top: 2px solid var(--gold);
  transition: transform 280ms ease, background 280ms ease, border-color 280ms;
}
.svc:hover { transform: translateY(-4px); background: var(--bg-3); }
.svc:nth-child(2) { border-top-color: var(--red); }
.svc:nth-child(3) { border-top-color: var(--bronze); }
.svc .roman {
  font-weight: 600;
  font-size: 11px; letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
}
.svc h3 {
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
  line-height: 1.1;
}
.svc .desc { font-size: 15px; line-height: 1.65; color: var(--fg-3); margin: 0; }
.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.svc ul li {
  font-size: 14px; line-height: 1.55; color: var(--fg-2);
  padding-left: 22px; position: relative;
}
.svc ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 1px; background: var(--gold);
}

.svc-note {
  margin-top: 36px;
  padding: 22px 26px;
  background: var(--bg-2);
  border-left: 2px solid var(--gold);
  font-style: italic; font-weight: 300;
  font-size: 15px; line-height: 1.6;
  color: var(--fg-3);
  border-radius: 4px;
}

/* ================================================
   CONTATO
   ================================================ */
.contato {
  background:
    radial-gradient(80% 60% at 70% 30%, rgba(200,51,58,0.08) 0%, transparent 60%),
    radial-gradient(60% 50% at 20% 80%, rgba(224,178,90,0.08) 0%, transparent 60%),
    var(--bg);
}
.contato-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  align-items: center;
}
@media (min-width: 900px) { .contato-grid { grid-template-columns: 1fr 1.2fr; gap: 88px; } }
.contato-mark { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.contato-mark img {
  height: clamp(140px, 14vw, 200px);
  filter: invert(98%) sepia(15%) saturate(380%) hue-rotate(345deg) brightness(105%);
}
.contato-mark .nm {
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1;
}
.contato-mark .tg {
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold);
}
.contato-mark .fio { width: 240px; height: 2px; background: var(--gold); }

.contato-rows {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.contato-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contato-row dt {
  font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--fg-4);
}
.contato-row dd {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  color: var(--fg);
  word-break: break-word;
}
.contato-row dd a {
  position: relative;
  transition: color 200ms;
}
.contato-row dd a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--gold);
  transform: scaleX(0.4); transform-origin: left;
  opacity: 0.5; transition: transform 240ms, opacity 240ms;
}
.contato-row dd a:hover { color: var(--gold); }
.contato-row dd a:hover::after { transform: scaleX(1); opacity: 1; }

.contato-cta {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px;
}

/* Big social tiles — top of contato */
.social-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
@media (min-width: 720px) { .social-grid { grid-template-columns: repeat(4, 1fr); } }
.social {
  display: flex; flex-direction: column;
  gap: 16px;
  padding: 24px 22px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
  position: relative;
  overflow: hidden;
}
.social::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms ease;
}
.social:hover { transform: translateY(-4px); background: var(--bg-3); border-color: var(--line-2); }
.social:hover::after { transform: scaleX(1); }
.social .ico {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(224,178,90,0.12);
  color: var(--gold);
}
.social .ico svg { width: 20px; height: 20px; fill: currentColor; }
.social.wa .ico { background: rgba(37,211,102,0.12); color: #25D366; }
.social.ig .ico { background: linear-gradient(135deg, rgba(225,48,108,0.18), rgba(241,168,79,0.18)); color: #E1306C; }
.social.em .ico { background: rgba(224,178,90,0.14); color: var(--gold); }
.social.li .ico { background: rgba(10,102,194,0.18); color: #4DA3E0; }
.social .lbl {
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--fg-3);
}
.social .val {
  font-weight: 600; font-size: 16px;
  color: var(--fg);
  letter-spacing: -0.01em;
  word-break: break-word;
}
.social .arr {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.social .arr svg { width: 14px; height: 14px; fill: currentColor; }

/* Tighter contact rows — adapt for icon prefix */
.contato-row dt {
  display: inline-flex; align-items: center; gap: 10px;
}
.contato-row .dt-ico {
  width: 16px; height: 16px; color: var(--gold);
  display: inline-flex;
}
.contato-row .dt-ico svg { width: 16px; height: 16px; fill: currentColor; }

/* Footer social row */
.footer-social {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(245,236,219,0.06);
  border: 1px solid var(--line);
  color: var(--fg-2);
  transition: background 220ms, color 220ms, border-color 220ms, transform 200ms;
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); background: rgba(224,178,90,0.1); transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }


/* ================================================
   FOOTER
   ================================================ */
.footer { background: #0A0705; padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 56px; } }
.footer h5 {
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.footer .brand .nm {
  font-weight: 800;
  font-size: 22px; letter-spacing: -0.02em;
  margin-bottom: 6px; color: var(--fg);
}
.footer .brand .tg {
  font-weight: 500;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--fg-4);
}
.footer .brand p {
  font-size: 14px; line-height: 1.6; color: var(--fg-3);
  margin: 18px 0 0; max-width: 40ch;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  font-size: 14px; color: var(--fg-2);
  transition: color 200ms;
}
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-4);
}

/* ================================================
   FAB WhatsApp (mobile)
   ================================================ */
.fab {
  display: none;
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 70;
  background: var(--gold);
  color: var(--bg);
  padding: 14px 20px;
  font-weight: 700;
  font-size: 13px; letter-spacing: 0.02em;
  border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(224,178,90,0.55), 0 0 0 1px rgba(14,10,7,0.4);
  align-items: center; gap: 10px;
}
.fab svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 880px) { .fab { display: inline-flex; } }

/* ================================================
   LIGHTBOX
   ================================================ */
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14,10,7,0.95);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lb.open { display: flex; }
.lb img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(224,178,90,0.4), 0 24px 80px -20px rgba(0,0,0,0.8);
}
.lb-btn {
  position: absolute;
  background: rgba(245,236,219,0.08);
  border: 1px solid var(--line-2);
  color: var(--fg);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 220ms, border-color 220ms;
}
.lb-btn:hover { background: rgba(245,236,219,0.16); border-color: var(--gold); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; padding: 14px 18px; letter-spacing: 0; }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; padding: 14px 18px; letter-spacing: 0; }
@media (max-width: 720px) {
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
  .lb-close { top: 16px; right: 16px; }
}

/* util */
.no-scroll { overflow: hidden; }
