/* ═══════════════════════════════════════════════════════════════
   Rafael Miranda — Tatuador
   Design System: Dark Premium — Branco + Bordas
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg:          #080808;
  --bg-surface:  #0c0c0c;
  --bg-card:     #111111;
  --bg-elevated: #181818;

  --text:        #ffffff;
  --text-soft:   #a0a0a0;
  --text-muted:  #555555;

  --border:      rgba(255,255,255,.08);
  --border-md:   rgba(255,255,255,.14);
  --border-light:rgba(255,255,255,.22);

  --shadow-sm:   0 2px 6px rgba(0,0,0,.5);
  --shadow-md:   0 6px 24px rgba(0,0,0,.55);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.6);

  --font:        system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-xs:   clamp(.72rem, .68rem + .2vw, .8rem);
  --fs-sm:   clamp(.82rem, .78rem + .25vw, .92rem);
  --fs-base: clamp(.92rem, .88rem + .3vw, 1.02rem);
  --fs-md:   clamp(1.05rem, .95rem + .5vw, 1.25rem);
  --fs-lg:   clamp(1.25rem, 1.05rem + 1vw, 1.8rem);
  --fs-xl:   clamp(1.7rem, 1.3rem + 2vw, 3rem);
  --fs-2xl:  clamp(2.2rem, 1.6rem + 3vw, 4.2rem);

  --space-xs:  .5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  3rem;
  --space-xl:  5.5rem;

  --container:   1200px;
  --header-h:    70px;
  --radius:      6px;
  --radius-lg:   14px;

  --ease:        cubic-bezier(.4, 0, .2, 1);
  --dur:         .3s;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

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

a { color: var(--text); text-decoration: none; transition: opacity var(--dur) var(--ease); }
a:hover { opacity: .7; }

ul { list-style: none; }

/* ─── Utilities ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding: var(--space-xl) 0; }

.section__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -.025em;
  text-align: center;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.section__title--left { text-align: left; }

.section__subtitle {
  font-size: var(--fs-base);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-lg);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── Divider between sections ─── */
.section + .section { border-top: 1px solid var(--border); }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 2rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font);
}

.btn:hover { opacity: 1; } /* override a:hover */

.btn--accent {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  font-weight: 700;
}

.btn--accent:hover,
.btn--accent:focus-visible {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn--lg { padding: 1rem 2.5rem; font-size: var(--fs-base); }

/* ═══════════════════════ HEADER ═══════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(8,8,8,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.header--scrolled {
  background: rgba(8,8,8,.95);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo:hover { opacity: 1; }

.header__logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.header__nav { display: none; }

.header__menu { display: flex; gap: var(--space-md); }

.header__link {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: .25rem 0;
  position: relative;
  text-decoration: none;
}

.header__link:hover { opacity: 1; }

.header__link::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width var(--dur) var(--ease);
}

.header__link:hover,
.header__link:focus-visible,
.header__link.active { color: var(--text); }

.header__link:hover::after,
.header__link:focus-visible::after,
.header__link.active::after { width: 100%; }

.header__cta {
  display: none;
  font-size: var(--fs-xs);
  padding: .55rem 1.2rem;
}

/* ─── Hamburger (3 bars → hidden when open) ─── */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 1100;
  position: relative;
}

.header__hamburger span {
  display: block;
  width: 28px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all .4s var(--ease);
  transform-origin: center;
}

/* Mobile nav extras hidden by default */
.header__nav-cta,
.header__nav-social { display: none; }

/* Close button inside menu — hidden by default */
.header__nav-close {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU — TRUE FULLSCREEN
   ═══════════════════════════════════════════════════════════ */
.header__nav.open {
  display: flex;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  animation: menuOpen .4s var(--ease);
}

@keyframes menuOpen {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── X Close Button (top-right, animated) ─── */
.header__nav.open .header__nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 1.25rem;
  right: clamp(1.25rem, 4vw, 2.5rem);
  width: 48px; height: 48px;
  background: none;
  border: 1px solid var(--border-md);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  animation: xSpin .5s var(--ease);
}

.header__nav-close span {
  position: absolute;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.header__nav-close span:first-child { transform: rotate(45deg); }
.header__nav-close span:last-child  { transform: rotate(-45deg); }

@keyframes xSpin {
  from { transform: rotate(-90deg); opacity: 0; }
  to   { transform: rotate(0deg);   opacity: 1; }
}

.header__nav-close:hover {
  border-color: var(--text);
  background: rgba(255,255,255,.05);
}

/* ─── Menu Items ─── */
.header__nav.open .header__menu {
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.header__nav.open .header__menu li {
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: navSlide .4s var(--ease) forwards;
}

.header__nav.open .header__menu li:nth-child(1) { animation-delay: .08s; }
.header__nav.open .header__menu li:nth-child(2) { animation-delay: .12s; }
.header__nav.open .header__menu li:nth-child(3) { animation-delay: .16s; }
.header__nav.open .header__menu li:nth-child(4) { animation-delay: .20s; }
.header__nav.open .header__menu li:nth-child(5) { animation-delay: .24s; }
.header__nav.open .header__menu li:nth-child(6) { animation-delay: .28s; }
.header__nav.open .header__menu li:nth-child(7) { animation-delay: .32s; }

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

.header__nav.open .header__link {
  display: block;
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  padding: clamp(.7rem, 2.5vh, 1.1rem) 0;
  color: var(--text-soft);
  border: none;
  transition: color .25s var(--ease), letter-spacing .25s var(--ease);
}

.header__nav.open .header__link:hover,
.header__nav.open .header__link:focus-visible,
.header__nav.open .header__link.active {
  color: var(--text);
  letter-spacing: .25em;
  opacity: 1;
}

.header__nav.open .header__link::after { display: none; }

/* ─── CTA + Social at bottom ─── */
.header__nav.open .header__nav-cta {
  display: inline-flex;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  padding: .9rem 2.5rem;
  font-size: var(--fs-base);
  opacity: 0; transform: translateY(20px);
  animation: navSlide .4s var(--ease) .34s forwards;
}

.header__nav.open .header__nav-social {
  display: block;
  margin-top: 1rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  opacity: 0; transform: translateY(20px);
  animation: navSlide .4s var(--ease) .4s forwards;
}

.header__nav.open .header__nav-social a { color: var(--text-soft); font-weight: 500; }
.header__nav.open .header__nav-social a:hover { color: var(--text); opacity: 1; }

/* Desktop */
@media (min-width: 960px) {
  .header__nav { display: flex; align-items: center; }
  .header__nav-cta, .header__nav-social { display: none !important; }
  .header__cta { display: inline-flex; }
  .header__hamburger { display: none; }
}

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap { position: absolute; inset: 0; z-index: 0; }

.hero__video { width: 100%; height: 100%; object-fit: cover; }

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,.3) 0%,
    rgba(8,8,8,.1) 40%,
    rgba(8,8,8,.35) 75%,
    rgba(8,8,8,.92) 100%
  );
}

.hero__content {
  position: relative; z-index: 1;
  text-align: center;
  padding: var(--space-xl) 0;
}

.hero__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.hero__title em {
  font-style: normal;
  position: relative;
  display: inline-block;
}

/* Thin underline accent on "arte na pele" */
.hero__title em::after {
  content: "";
  position: absolute;
  bottom: .05em;
  left: 0; right: 0;
  height: 2px;
  background: var(--text);
  opacity: .4;
}

.hero__sub {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll span {
  display: block;
  width: 22px; height: 36px;
  border: 1.5px solid var(--text-muted);
  border-radius: 11px;
  position: relative;
}

.hero__scroll span::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--text);
  border-radius: 2px;
  animation: scrollDot 3s ease-in-out infinite;
}

@keyframes scrollDot {
  0%,100% { opacity: .8; transform: translateX(-50%) translateY(0); }
  50%     { opacity: .2; transform: translateX(-50%) translateY(10px); }
}

/* ═══════════════════════ ESPECIALIDADES ═══════════════════════ */
.especialidades__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .especialidades__grid { grid-template-columns: repeat(3, 1fr); }
}

.card-esp {
  background: transparent;
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.card-esp:hover {
  border-color: var(--border-light);
  background: var(--bg-card);
}

.card-esp__icon {
  color: var(--text-soft);
  margin-bottom: var(--space-sm);
}

.card-esp__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  letter-spacing: .02em;
}

.card-esp__desc {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.card-esp__link {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border-md);
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease);
}

.card-esp__link:hover { border-color: var(--text); opacity: 1; }

/* ═══════════════════════ PORTFOLIO / CAROUSEL ═══════════════════════ */
.portfolio {
  background: var(--bg-surface);
  overflow: hidden;
}

.carousel { position: relative; width: 100%; cursor: grab; }
.carousel.grabbing { cursor: grabbing; }
.carousel.grabbing .carousel__slide { pointer-events: none; }

.carousel__track {
  display: flex;
  gap: clamp(.6rem, 1.5vw, 1rem);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__slide {
  flex: 0 0 auto;
  width: clamp(240px, 35vw, 380px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}

.carousel__slide:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.carousel__slide:hover img { transform: scale(1.05); }

/* Controls */
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-bottom: var(--space-xs);
}

.carousel__btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  background: transparent;
  color: var(--text-soft);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
  flex-shrink: 0;
}

.carousel__btn:hover,
.carousel__btn:focus-visible {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.carousel__dots { display: flex; gap: .4rem; align-items: center; }

.carousel__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: all var(--dur) var(--ease);
}

.carousel__dot.active { background: var(--text); width: 20px; border-radius: 3px; }
.carousel__dot:hover { background: var(--text-soft); }

/* ═══════════════════════ SOBRE ═══════════════════════ */
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .sobre__inner { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

.sobre__images { position: relative; display: flex; justify-content: center; }

.sobre__img--main {
  width: 72%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-md);
  position: relative;
  z-index: 1;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.sobre__img--secondary {
  position: absolute;
  bottom: -1rem; right: 5%;
  width: 44%;
  max-width: 200px;
  border-radius: var(--radius-lg);
  border: 3px solid var(--bg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.sobre__bio {
  font-size: var(--fs-md);
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

/* ─── Jornada section ─────────────────────────────── */
.jornada { background: var(--bg-surface); }

/* ─── Timeline (horizontal) ──────────────────────── */
.timeline {
  margin-top: var(--space-lg);
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

/* Linha horizontal que conecta os marcadores */
.timeline::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: var(--border-md);
}

.timeline__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline__marker {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text);
  z-index: 1;
  flex-shrink: 0;
  transition: border-color .3s, background .3s, color .3s;
}

.timeline__content {
  margin-top: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  transition: border-color .3s, transform .3s;
  flex: 1;
}

.timeline__content strong {
  display: block;
  color: var(--text);
  font-size: var(--fs-sm);
  margin-bottom: .35rem;
}

.timeline__content p {
  color: var(--text-soft);
  font-size: var(--fs-xs);
  line-height: 1.55;
}

.timeline__item:hover .timeline__marker {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.timeline__item:hover .timeline__content {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

/* ─── Timeline mobile: vertical stack ─────────────── */
@media (max-width: 767px) {
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .timeline::before { display: none; }

  .timeline__item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }

  .timeline__item:last-child { border-bottom: none; }

  .timeline__marker {
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
  }

  .timeline__content {
    margin-top: 0;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
  }

  .timeline__item:hover .timeline__content {
    transform: none;
  }
}

/* ═══════════════════════ ESTÚDIO ═══════════════════════ */
.estudio { background: var(--bg); overflow: hidden; }

.estudio__showcase {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.estudio__scene {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.estudio__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  will-change: transform;
  border: 1px solid var(--border-md);
  box-shadow: var(--shadow-lg);
}

.estudio__img-wrap {
  position: relative;
  overflow: hidden;
}

.estudio__img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

.estudio__card:hover .estudio__img { transform: scale(1.03); }

/* Cursor glow effect */
.estudio__glow {
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  z-index: 2;
}

.estudio__card:hover .estudio__glow { opacity: 1; }

/* ─── Hotspots ─── */
.estudio__hotspot {
  position: absolute;
  z-index: 5;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}

.estudio__hotspot-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px rgba(255,255,255,.4);
  position: relative;
  z-index: 2;
  transition: transform .3s var(--ease), box-shadow .3s;
}

.estudio__hotspot:hover .estudio__hotspot-dot,
.estudio__hotspot.active .estudio__hotspot-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(255,255,255,.6);
}

.estudio__hotspot-ping {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  animation: hotspotPing 2.5s ease-out infinite;
}

@keyframes hotspotPing {
  0%   { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.estudio__hotspot.active .estudio__hotspot-ping { animation: none; opacity: 0; }

/* ─── Info Panels ─── */
.estudio__info-panel {
  position: absolute;
  background: rgba(17,17,17,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  max-width: 280px;
  opacity: 0;
  transform: translateY(12px) scale(.95);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 10;
}

.estudio__info-panel.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.estudio__info-number {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .15em;
  margin-bottom: .4rem;
}

.estudio__info-panel h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: .5rem;
  letter-spacing: .02em;
}

.estudio__info-panel p {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.7;
}

/* Panel positions */
#info-panel-1 { top: 10%; left: 0; }
#info-panel-2 { top: 35%; right: 0; }
#info-panel-3 { bottom: 15%; left: 0; }

@media (max-width: 767px) {
  .estudio__info-panel {
    position: relative;
    max-width: 100%;
    top: auto !important; bottom: auto !important;
    left: auto !important; right: auto !important;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(12px);
    display: none;
  }
  .estudio__info-panel.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  .estudio__showcase {
    display: flex;
    flex-direction: column;
  }
}

/* ─── CTA ─── */
.estudio__cta-wrap {
  text-align: center;
  margin-top: var(--space-lg);
}

.estudio__invite {
  font-size: var(--fs-md);
  color: var(--text-soft);
  margin-bottom: var(--space-md);
  letter-spacing: .04em;
}

/* ═══════════════════════ CONTATO ═══════════════════════ */
.contato { background: var(--bg-surface); }

.contato__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .contato__cards { grid-template-columns: 1fr 1fr; }
}

.card-contato {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1.1rem var(--space-md);
  background: transparent;
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

a.card-contato:hover,
a.card-contato:focus-visible {
  border-color: var(--border-light);
  background: var(--bg-card);
  opacity: 1;
}

.card-contato--whatsapp { border-color: rgba(37, 211, 102, .35); }
a.card-contato--whatsapp:hover { border-color: #25d366; background: rgba(37, 211, 102, .06); }

.card-contato__icon { color: var(--text-soft); flex-shrink: 0; }
.card-contato--whatsapp .card-contato__icon { color: #25d366; }

.card-contato strong { display: block; font-size: var(--fs-sm); }
.card-contato span { font-size: var(--fs-xs); color: var(--text-muted); }

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer { background: var(--bg); border-top: 1px solid var(--border); }

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer__logo {
  display: inline-block;
  text-decoration: none;
}

.footer__logo:hover { opacity: 1; }

.footer__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer__tagline { font-size: var(--fs-sm); color: var(--text-muted); margin-top: .25rem; }

.footer__heading {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .6rem;
}

.footer__nav ul,
.footer__contact ul { display: flex; flex-direction: column; gap: .4rem; }

.footer__nav a,
.footer__contact a { font-size: var(--fs-sm); color: var(--text-muted); }

.footer__nav a:hover,
.footer__contact a:hover { color: var(--text); opacity: 1; }

.footer__contact li { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }

.footer__info {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
  margin-top: var(--space-xs);
}

.footer__info p { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.7; text-align: center; }

.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
}

.footer__bottom p { font-size: var(--fs-xs); color: var(--text-muted); text-align: center; }

/* ═══════════════════════ LIGHTBOX ═══════════════════════ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.lightbox:not([hidden]) { opacity: 1; pointer-events: auto; }

.lightbox__content {
  max-width: 92vw; max-height: 88vh;
  display: flex; flex-direction: column; align-items: center;
}

.lightbox__img {
  max-width: 92vw; max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__caption {
  margin-top: .6rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  z-index: 2001;
  opacity: .6;
  transition: opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
  background: rgba(255,255,255,.12);
}

.lightbox__close {
  top: 1rem; right: 1rem;
  font-size: 1.5rem;
}

.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (min-width: 768px) {
  .lightbox__prev { left: 2rem; }
  .lightbox__next { right: 2rem; }
}

/* ═══════════════════════ REVEAL ═══════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Body lock */
body.menu-open,
body.lightbox-open { overflow: hidden; }
