/* ==========================================================================
   Polianna Valeriana — Tatuadora · Belo Horizonte - MG
   Paleta: Bege/Pêssego claro e quente + Verde-musgo claro + Preto orgânico
   ========================================================================== */

@font-face {
  font-family: 'Josefin Sans';
  src: url('../fonts/josefin-sans-700.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Tokens da paleta */
  --paper-base: #FBF4EC;
  --paper-warm: #F5E6D6;
  --peach-soft: #EED2BC;
  --peach-glow: rgba(236, 184, 146, 0.36);

  --moss-light: #B8C7AE;
  --moss-mid: #7F9373;
  --moss-deep: #43533B;
  --moss-veil: rgba(143, 163, 130, 0.22);

  --ink-black: #141412;
  --ink-soft: rgba(20, 20, 18, 0.74);
  --ink-faint: rgba(20, 20, 18, 0.54);

  --edge: rgba(20, 20, 18, 0.12);
  --edge-strong: rgba(20, 20, 18, 0.22);
  --edge-light: rgba(255, 255, 255, 0.72);
  --glow-moss: rgba(127, 147, 115, 0.26);

  /* Tipografia (sem serifa) */
  --ff-display: 'Josefin Sans', 'Segoe UI', system-ui, sans-serif;
  --ff-text: 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Escala */
  --fs-display: clamp(2.5rem, 6.4vw, 5.1rem);
  --fs-h2: clamp(1.85rem, 3.6vw, 3.1rem);
  --fs-h3: clamp(1.18rem, 1.8vw, 1.48rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Ritmo & Layout */
  --container: min(100% - 40px, 1280px);
  --header-h: 56px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  background-color: var(--paper-base);
  color: var(--ink-black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  min-height: 100%;
  overflow-x: hidden !important;
  font-family: var(--ff-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-black);
  background-color: var(--paper-base);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--moss-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   CAMPO GLOBAL CONTÍNUO COM DERIVA SUAVE E VÉUS DE TRANSIÇÃO
   ========================================================================== */
.field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 14% 10%, var(--peach-glow), transparent 72%),
    radial-gradient(55% 42% at 86% 28%, var(--moss-veil), transparent 74%),
    radial-gradient(65% 48% at 50% 92%, rgba(238, 210, 188, 0.42), transparent 75%),
    linear-gradient(180deg, var(--paper-base) 0%, var(--paper-warm) 52%, var(--paper-base) 100%);
  background-size: 150% 150%;
  animation: fieldDrift 28s ease-in-out infinite alternate;
}

@keyframes fieldDrift {
  from {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
  }
  to {
    background-position: 18% 12%, 82% 18%, 46% 90%, 0 0;
  }
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(56px, 7vw, 96px);
}

.section::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: clamp(120px, 20vh, 260px);
  background: linear-gradient(to bottom, rgba(238, 210, 188, 0.24), transparent);
  pointer-events: none;
  z-index: -1;
}

.section--moss::before {
  background: linear-gradient(to bottom, rgba(184, 199, 174, 0.28), transparent);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ==========================================================================
   TIPOGRAFIA & CABEÇALHOS DE SEÇÃO
   ========================================================================== */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss-deep);
}

.section-head {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.section-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink-black);
}

.section-lead {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   BOTÃO DA MARCA COM SHINY SWEEP GLOW
   ========================================================================== */
.btn-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--ink-black);
  color: var(--paper-base);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 36px -18px rgba(20, 20, 18, 0.45),
    0 0 0 1px rgba(67, 83, 59, 0.22);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

.btn-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(245, 230, 214, 0.28) 48%,
    rgba(184, 199, 174, 0.32) 54%,
    transparent 75%
  );
  transform: translateX(-125%);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}

.btn-brand:hover {
  transform: translateY(-2px);
  background: #1E241B;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 24px 44px -16px rgba(67, 83, 59, 0.42);
}

.btn-brand:hover::before {
  transform: translateX(125%);
}

.btn-brand:active {
  transform: translateY(0) scale(0.99);
}

.btn-brand svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.btn-brand:hover svg {
  transform: translateX(3px);
}

.link-subtle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--moss-deep);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.link-subtle:hover {
  color: var(--ink-black);
  transform: translateY(-1px);
}

/* ==========================================================================
   NAVBAR MINIMALISTA (<= 56px NO MOBILE, MENU TELA CHEIA)
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 800;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 244, 236, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 -1px 0 rgba(20, 20, 18, 0.08);
}

.nav-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wordmark {
  font-family: var(--ff-display);
  font-size: clamp(0.95rem, 2.2vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-black);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--ink-black);
}

.nav-cta-desktop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink-black);
  color: var(--paper-base);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta-desktop:hover {
  background: var(--moss-deep);
  transform: translateY(-1px);
}

.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink-black);
  color: var(--paper-base);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(251, 244, 236, 0.97);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-close {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  display: grid;
  place-items: center;
}

.drawer-link {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink-black);
}

@media (max-width: 767px) {
  .nav-links,
  .nav-cta-desktop {
    display: none !important;
  }
  .nav-mobile-actions {
    display: flex;
  }
}

/* ==========================================================================
   HERO DE PRESENÇA (PONTO FOCAL ÚNICO: NOME, MENSAGEM, RETRATO E CTA)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(32px, 4.5vw, 56px));
  padding-bottom: clamp(48px, 6vw, 76px);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.62;
}

.hero-stack {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6vw, 4.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink-black);
}

.hero-title .accent-moss {
  color: var(--moss-deep);
}

.hero-sub {
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.6;
}

.hero-portrait {
  position: relative;
  width: clamp(136px, 19vw, 176px);
  aspect-ratio: 4 / 5;
  margin-bottom: 4px;
  padding: 5px;
  border-radius: 999px 999px 32px 32px;
  border: 1px solid rgba(77, 94, 68, 0.22);
  background: linear-gradient(160deg, rgba(251, 244, 236, 0.9), rgba(213, 223, 205, 0.45));
  box-shadow:
    inset 0 1px 0 var(--edge-light),
    0 24px 48px -24px rgba(67, 83, 59, 0.32),
    0 10px 26px -16px rgba(232, 184, 146, 0.55);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(184, 199, 174, 0.34), rgba(238, 210, 188, 0.22) 55%, transparent 74%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 999px 999px 26px 26px;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.7s var(--ease);
}

.hero-portrait:hover img {
  transform: scale(1.03);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 6px;
}

.hero-micro {
  font-size: 0.84rem;
  color: var(--ink-faint);
}

@media (max-width: 720px) {
  .hero-stack {
    gap: 13px;
  }
  .hero-portrait {
    width: 142px;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .btn-brand {
    width: 100%;
  }
}

/* ==========================================================================
   BENDING MARQUEE SUTIL ENTRE SEÇÕES
   ========================================================================== */
.marquee-band {
  position: relative;
  overflow: hidden;
  padding-block: 14px;
  margin-block: clamp(4px, 1.5vw, 16px);
  background: linear-gradient(90deg, transparent, rgba(238, 210, 188, 0.28) 28%, rgba(184, 199, 174, 0.24) 72%, transparent);
  transform-origin: center;
  will-change: transform;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 32s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.marquee-item {
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--moss-mid);
  flex-shrink: 0;
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   GALERIA CURADA COM SCROLL MASK & GESTO HORIZONTAL NO MOBILE
   ========================================================================== */
.gallery-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 28px 24px;
}

.work-card {
  position: relative;
  display: grid;
  gap: 10px;
  transition: transform 0.45s var(--ease);
}

@media (min-width: 901px) {
  .work-card:nth-child(3n + 2) {
    margin-top: 28px;
  }
}

.work-card:hover {
  transform: translateY(-4px);
}

/* Scroll Mask aplicada de forma suave (visível sem JS, aprimorada com GSAP) */
.work-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-warm);
  border: 1px solid rgba(20, 20, 18, 0.08);
  box-shadow:
    inset 0 1px 0 var(--edge-light),
    0 22px 46px -28px rgba(20, 20, 18, 0.25);
  clip-path: inset(0% 0% 0% 0% round 20px);
  cursor: pointer;
}

.work-card:nth-child(5) .work-media,
.work-card:nth-child(6) .work-media {
  aspect-ratio: 1 / 1;
}

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

.work-card:hover .work-media img {
  transform: scale(1.045);
}

.work-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px;
}

.work-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.work-card__zoom {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s;
}

.work-card:hover .work-card__zoom {
  background: var(--ink-black);
  color: var(--paper-base);
  transform: rotate(-12deg);
}

.gallery-footer {
  margin-top: clamp(32px, 4.5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

@media (max-width: 900px) {
  .gallery-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-stage {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .gallery-stage::-webkit-scrollbar {
    display: none;
  }
  .work-card {
    flex: 0 0 68vw;
    max-width: 260px;
    scroll-snap-align: center;
  }
  .work-card:nth-child(5) .work-media,
  .work-card:nth-child(6) .work-media {
    aspect-ratio: 4 / 5;
  }
  .gallery-swipe-hint {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
}

@media (min-width: 641px) {
  .gallery-swipe-hint {
    display: none;
  }
}

/* ==========================================================================
   FLUXO DE ORÇAMENTO — SCROLL STACK COESO
   ========================================================================== */
.stack-list {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 16px;
}

.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: clamp(22px, 3.2vw, 30px) clamp(22px, 3.6vw, 34px);
  border-radius: 22px;
  border: 1px solid rgba(20, 20, 18, 0.09);
  background: rgba(251, 244, 236, 0.86);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 var(--edge-light),
    0 20px 42px -28px rgba(20, 20, 18, 0.18);
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 14px 20px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.stack-card--moss {
  background: rgba(239, 244, 234, 0.88);
  border-color: rgba(77, 94, 68, 0.18);
}

.stack-card--peach {
  background: rgba(247, 232, 217, 0.9);
  border-color: rgba(127, 147, 115, 0.24);
}

.stack-step {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--moss-deep);
  padding-top: 2px;
}

.stack-card__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}

.stack-card__desc {
  color: var(--ink-soft);
  font-size: 0.96rem;
  max-width: 54ch;
}

.stack-cta-wrap {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

@media (max-width: 640px) {
  .stack-card {
    position: static;
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   FAQ ACESSÍVEL & BLOCO DE CONVERSÃO FINAL
   ========================================================================== */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 20, 18, 0.09);
  background: rgba(251, 244, 236, 0.65);
  box-shadow: inset 0 1px 0 var(--edge-light);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.faq-item[data-open="true"] {
  border-color: var(--moss-mid);
  background: rgba(251, 244, 236, 0.9);
}

.faq-trigger {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.98rem;
  min-height: 54px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.faq-item[data-open="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--ink-black);
  color: var(--paper-base);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.faq-item[data-open="true"] .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel__inner {
  overflow: hidden;
}

.faq-panel__text {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Chamada final aberta e fluida (sem caixa pesada) */
.final-cta {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px) clamp(16px, 4vw, 32px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
  background: radial-gradient(75% 65% at 50% 45%, rgba(184, 199, 174, 0.28), rgba(244, 225, 208, 0.2) 60%, transparent 100%);
}

.final-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 2px;
}

/* ==========================================================================
   RODAPÉ CURTO
   ========================================================================== */
.site-footer {
  padding-block: 36px 44px;
}

.footer-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-brand {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-black);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--ink-black);
}

/* ==========================================================================
   LIGHTBOX ACESSÍVEL DA GALERIA
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(20, 20, 18, 0.86);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__frame {
  position: relative;
  max-width: min(92vw, 540px);
  max-height: 86vh;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-base);
}

.lightbox__frame img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
}

.lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper-base);
  color: var(--ink-black);
  display: grid;
  place-items: center;
}

/* ==========================================================================
   CTA FLUTUANTE OFICIAL DO WHATSAPP
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  z-index: 900;
  box-shadow:
    0 12px 30px -8px rgba(37, 211, 102, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 16px 34px -8px rgba(37, 211, 102, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (max-width: 480px) {
  .wa-float {
    width: 54px;
    height: 54px;
    right: 16px;
  }
  body {
    padding-bottom: 84px;
  }
}

@media print {
  .wa-float,
  .site-header {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .field,
  .marquee-track {
    animation: none;
  }
  .btn-brand::before {
    transition: none;
  }
  .wa-float,
  .work-card,
  .work-media img,
  .hero-portrait img {
    transition: none;
  }
}
