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

:root {
  /* fundos escuros — bordô */
  --burgundy-950: #2a0f17;
  --burgundy-900: #3b1620;
  --burgundy-800: #4a1f2b;
  --burgundy-700: #6b3244;

  /* fundos claros — bege */
  --beige: #f2eae0;
  --beige-alt: #eae0d2;
  --beige-border: #d9ccb8;

  /* texto */
  --cream: #f5ede6;
  --cream-muted: rgba(245, 237, 230, 0.62);
  --ink: #241012;
  --ink-muted: rgba(36, 16, 18, 0.62);

  /* acento dourado */
  --gold: #c9a227;
  --gold-deep: #7a5c12;
  --gold-soft: rgba(201, 162, 39, 0.12);

  --pad: clamp(1.2rem, 5vw, 4rem);

  /* ritmo vertical alternado entre seções */
  --space-tight: clamp(2rem, 4vw, 3rem);
  --space-normal: clamp(3rem, 7vw, 6rem);
  --space-loose: clamp(4.5rem, 9vw, 8rem);

  /* espaçamentos específicos de layout */
  --bento-gap: clamp(1rem, 2vw, 1.5rem);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  --text: var(--cream);
  --text-muted: var(--cream-muted);
  --accent-text: var(--gold);
  --card-bg: var(--burgundy-800);
  --border: var(--burgundy-700);
  background: var(--burgundy-950);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

/* seções em fundo claro reescrevem os tokens de contexto */
#publico,
#portfolio,
footer {
  --text: var(--ink);
  --text-muted: var(--ink-muted);
  --accent-text: var(--gold-deep);
  --card-bg: var(--beige-alt);
  --border: var(--beige-border);
}

body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active [role="button"],
body.custom-cursor-active .portfolio-card,
body.custom-cursor-active .tag,
body.custom-cursor-active .skill-item {
  cursor: none !important;
}

@media (hover: none) {
  body,
  *,
  a,
  button {
    cursor: auto !important;
  }
}

::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: var(--burgundy-950);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
}

/* ── CURSOR ── */
/* mix-blend-mode: difference inverts against whatever is beneath it,
   so it stays visible on burgundy, beige AND the gold buttons alike */
.cursor-glow {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cream);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s ease,
    height 0.25s ease,
    background 0.25s ease,
    border 0.25s ease;
}
.cursor-glow.active {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1.5px solid var(--cream);
}
.cursor-glow.solid {
  background: var(--gold);
  mix-blend-mode: normal;
}
.cursor-glow.solid.active {
  background: transparent;
  border: 1.5px solid var(--gold);
}

/* ── NOISE ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── FADE-IN REVEAL ── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── LAYOUT ── */
.section-pad {
  padding: var(--space-normal) var(--pad);
}
.section-pad--tight {
  padding-top: var(--space-tight);
  padding-bottom: var(--space-tight);
}
.section-pad--loose {
  padding-top: var(--space-loose);
  padding-bottom: var(--space-loose);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
}
.section-header h2 {
  white-space: nowrap;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.9rem, 2vw, 1.2rem) var(--pad);
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}
nav.scrolled {
  background: rgba(42, 15, 23, 0.94);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--burgundy-700);
}
.nav-logo {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--cream);
}
.nav-logo span {
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
  list-style: none;
}
.nav-links a {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0.4rem;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 15, 23, 0.98);
  z-index: 98;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  animation: slideDown 0.25s ease;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--gold);
}
.mobile-menu .wpp-link {
  color: var(--gold) !important;
  font-size: 1.6rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ── HERO ── */
#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 3rem);
  min-height: 100vh;
  padding: clamp(6rem, 10vw, 9rem) var(--pad) clamp(3rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  background: var(--burgundy-950);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: clamp(0.6rem, 1.2vw, 0.68rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}
.hero-eyebrow span {
  display: inline-block;
  width: 1.8rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--cream);
}
.hero-line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.hero-line-1 {
  animation-delay: 0.5s;
}
.hero-line-2 {
  animation-delay: 0.9s;
}
.hero-title .accent {
  color: var(--gold);
}
.hero-desc {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.75;
  color: var(--cream-muted);
  max-width: 420px;
  margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}
.hero-btns {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.5s forwards;
}
.hero-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-stack {
  position: relative;
  width: clamp(240px, 30vw, 340px);
  aspect-ratio: 0.81;
}
/* .hero-stack-card cuida só da posição no leque + fade de entrada — é um
   transform ESTÁTICO com transition, então o hover interpola suavemente.
   O balanço contínuo (bob) mora num filho separado (.hero-stack-card-bob),
   numa animation própria — assim as duas coisas não brigam pelo transform. */
.hero-stack-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 0.8s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-stack-card.visible {
  opacity: 1;
}
.hero-stack-card--center {
  z-index: 3;
  transform: scale(1);
}
.hero-stack-card--center:hover {
  transform: scale(1.06);
}
.hero-stack-card--left,
.hero-stack-card--right {
  z-index: 1;
}
.hero-stack-card--left {
  transform: translate(-16%, 4%) rotate(-9deg) scale(0.9);
}
.hero-stack-card--left:hover {
  transform: translate(-34%, 0%) rotate(-26deg) scale(0.95);
}
.hero-stack-card--right {
  transform: translate(16%, 4%) rotate(9deg) scale(0.9);
}
.hero-stack-card--right:hover {
  transform: translate(34%, 0%) rotate(26deg) scale(0.95);
}

/* ── balanço contínuo + moldura visual do card ── */
.hero-stack-card-bob {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: var(--burgundy-800);
  animation: bob 5s ease-in-out infinite;
}
.hero-stack-card--left .hero-stack-card-bob {
  animation-duration: 5.6s;
}
.hero-stack-card--right .hero-stack-card-bob {
  animation-duration: 6.2s;
}
.hero-stack-card--center .hero-stack-card-bob {
  box-shadow: 0 20px 40px rgba(20, 8, 12, 0.35);
  transition: box-shadow 0.4s ease;
}
.hero-stack-card--center:hover .hero-stack-card-bob {
  box-shadow: 0 26px 50px rgba(20, 8, 12, 0.42);
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-stack-card-bob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}
.hero-stack-card--left:hover .hero-stack-card-bob img,
.hero-stack-card--right:hover .hero-stack-card-bob img {
  transform: scale(1.05);
}
.hero-stack-card--left .hero-stack-card-bob::after,
.hero-stack-card--right .hero-stack-card-bob::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 15, 23, 0.35);
  transition: opacity 0.3s ease;
}
.hero-stack-card--left:hover .hero-stack-card-bob::after,
.hero-stack-card--right:hover .hero-stack-card-bob::after {
  opacity: 0.1;
}
@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
  .hero-card-wrap {
    display: none !important;
  }
}

/* ── BUTTONS ── */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0.3rem 0;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition:
    color 0.2s,
    transform 0.15s;
}
.btn-primary {
  color: var(--gold);
}
.btn-outline {
  color: var(--text);
}
.btn-primary::after,
.btn-outline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.btn-primary:hover::after,
.btn-outline:hover::after {
  transform: scaleX(1);
}
.btn-primary:hover,
.btn-outline:hover {
  transform: translateX(2px);
}

/* ── ESPECIALIDADES (TICKER) ── */
.specialty-ticker {
  overflow: hidden;
  background: var(--burgundy-800);
  border-top: 1px solid var(--burgundy-700);
  border-bottom: 1px solid var(--burgundy-700);
  padding: 0.9rem 0;
}
.specialty-ticker-track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: max-content;
  animation: ticker 32s linear infinite;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-muted);
  white-space: nowrap;
}
.tick-sep {
  color: var(--gold);
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .specialty-ticker-track {
    animation: none;
  }
}

/* ── SERVICES ── */
#servicos {
  background: var(--burgundy-900);
}
.grid-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--bento-gap);
}
.service-card {
  background: var(--burgundy-800);
  border: 1px solid var(--burgundy-700);
  border-radius: 10px;
  grid-column: span 2;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.2rem, 2.5vw, 2rem);
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}
.service-card--half {
  grid-column: span 3;
}
.service-card--banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-color: var(--gold);
  background: linear-gradient(120deg, var(--burgundy-800), var(--burgundy-700));
}
.service-card--banner .service-icon {
  font-size: 2rem;
  margin-bottom: 0;
}
.service-card--banner .service-num {
  display: none;
}
@media (max-width: 768px) {
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card,
  .service-card--half {
    grid-column: span 1;
  }
  .service-card--banner {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .grid-services {
    grid-template-columns: 1fr;
  }
}
.service-card:hover {
  background: #55222f;
}
.service-card:hover .service-bar {
  height: 100%;
}
.service-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0%;
  background: var(--gold);
  transition: height 0.35s ease;
}
.service-num {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: rgba(201, 162, 39, 0.25);
  line-height: 1;
  pointer-events: none;
}
.service-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}
.service-name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  margin-bottom: 0.7rem;
  line-height: 1.3;
  color: var(--cream);
}
.service-desc {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.72rem, 1.1vw, 0.8rem);
  line-height: 1.7;
  color: var(--cream-muted);
}

/* ── AUDIENCE ── */
#publico {
  background: var(--beige);
}
.audience-intro {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-family: "Fraunces", serif;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.before-after-divider {
  width: 1px;
  background: var(--beige-border);
}
.before-after-label {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
}
.before-after-col--after .before-after-label {
  color: var(--gold-deep);
}
.before-after-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.before-after-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  line-height: 1.5;
  color: var(--ink-muted);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--beige-border);
}
.before-after-list li:first-child {
  padding-top: 0;
}
.before-after-list li::before {
  content: "✗";
  color: var(--burgundy-700);
  flex-shrink: 0;
  font-size: 0.8rem;
}
.before-after-col--after li {
  color: var(--ink);
}
.before-after-col--after li::before {
  content: "✓";
  color: #3f6b4a;
}
@media (max-width: 640px) {
  .before-after {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .before-after-divider {
    display: none;
  }
}

/* ── PORTFOLIO ── */
#portfolio {
  background: var(--beige);
}
.portfolio-group {
  margin-bottom: 4rem;
}

.grid-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--beige-border);
  border: 1px solid var(--beige-border);
}

.portfolio-group-title {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--gold-deep);
  letter-spacing: 0.01em;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--beige-alt);
}
.portfolio-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-bg {
  transform: scale(1.05);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  padding: 1.2rem;
  background: linear-gradient(
    to top,
    rgba(42, 15, 23, 0.92) 0%,
    transparent 60%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-cat {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.portfolio-name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--cream);
}
.portfolio-note {
  text-align: center;
  margin-top: 1.8rem;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.portfolio-note a {
  color: var(--gold-deep);
  text-decoration: none;
}
.portfolio-note a:hover {
  text-decoration: underline;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(20, 8, 12, 0.97);
  flex-direction: column;
  user-select: none;
}
.lightbox.open {
  display: flex;
}
.lightbox-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem clamp(0.8rem, 2vw, 1.4rem);
  border-bottom: 1px solid var(--burgundy-700);
  background: var(--burgundy-950);
  flex-shrink: 0;
  gap: 0.8rem;
}
.lightbox-cat {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}
.lightbox-title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--cream);
}
.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lb-btn {
  background: transparent;
  border: 1px solid var(--burgundy-700);
  color: var(--cream);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lb-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lb-close {
  background: transparent;
  border: 1px solid var(--burgundy-700);
  color: var(--cream-muted);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.8rem;
  text-transform: uppercase;
  transition: all 0.2s;
  margin-left: 0.3rem;
}
.lb-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lightbox-body {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-body img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  transition: transform 0.2s ease;
  transform-origin: center center;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 8, 12, 0.75);
  border: 1px solid var(--gold);
  color: var(--cream);
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.lb-nav:hover {
  background: var(--gold);
  color: var(--burgundy-950);
}
.lb-prev {
  left: 0.8rem;
}
.lb-next {
  right: 0.8rem;
}
.lb-hint {
  text-align: center;
  padding: 0.5rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--burgundy-700);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .lightbox-topbar {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }
  .lightbox-controls {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ── ABOUT ── */
#sobre {
  background: var(--burgundy-900);
}
.grid-about {
  display: grid;
  grid-template-columns: 1fr; /* No celular: 1 coluna empilhada */
  gap: 2.5rem;
  align-items: start;
}

/* No desktop (telas maiores que 768px): Divide em 2 colunas */
@media (min-width: 768px) {
  .grid-about {
    grid-template-columns: minmax(250px, 320px) 1fr;
    gap: 4rem;
  }
}
.about-photo-wrap {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--burgundy-800);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  inset: 0;
}
.about-badge {
  position: absolute;
  bottom: -0.8rem;
  right: -0.8rem;
  background: var(--gold);
  color: var(--burgundy-950);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.about-name {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin-bottom: 0.4rem;
  color: var(--cream);
}
.about-title {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.about-text {
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  line-height: 1.8;
  color: var(--cream-muted);
  margin-bottom: 1.2rem;
}
.grid-skills {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.6rem;
}
.skill-item {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.62rem, 1vw, 0.68rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 1rem;
  color: var(--cream-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
}
.skill-item:first-child {
  padding-left: 0;
}
.skill-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--burgundy-700);
}
.skill-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── CTA ── */
#contato {
  background: var(--burgundy-950);
  border-top: 1px solid var(--burgundy-700);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-pre {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.cta-title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--cream);
}
.cta-sub {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  color: var(--cream-muted);
  max-width: 440px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}
.cta-btn-wrap {
  display: flex;
  justify-content: center;
}

/* ── FOOTER ── */
footer {
  background: var(--beige-alt);
  border-top: 1px solid var(--beige-border);
  padding: 1.1rem var(--pad);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}
.footer-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.footer-contact {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact:hover {
  color: var(--gold-deep);
}
.footer-sep {
  color: var(--beige-border);
}
.footer-credit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
}
.footer-copy {
  color: var(--ink-muted);
}
.footer-credit a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
}
.footer-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── SECTION HEADINGS ── */
.sec-num {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--accent-text);
  opacity: 0.85;
}
.sec-title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
  color: var(--text);
}
.sec-title .accent {
  color: var(--accent-text);
}
.sec-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
