@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ========================================
   VARIÁVEIS — PALETA DA LOGO
   ======================================== */
:root {
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-title: var(--font-display);

  --color-black: #050508;
  --color-ink: #0b0b10;
  --color-white: #ffffff;
  --color-muted: #a7a7b0;

  --bg: var(--color-black);
  --bg-soft: var(--color-ink);
  --panel: #111115;
  --panel-strong: #17171c;
  --text: #ffffff;
  --muted: var(--color-muted);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Brand — cores da logo */
  --brand-cyan: #00e5ff;
  --brand-blue: #009dff;
  --brand-purple: #8b2cff;
  --brand-pink: #ff2abf;
  --brand-gradient: linear-gradient(90deg, #00e5ff, #8b2cff, #ff2abf);

  --accent: #ffffff;
  --accent-dark: #050508;

  --radius: 28px;
  --container: min(1120px, calc(100% - 40px));
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 229, 255, 0.04), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(139, 44, 255, 0.03), transparent 34%),
    linear-gradient(180deg, #050508 0%, #0a0a0f 46%, #050508 100%);
  overflow-x: hidden;
}

::selection {
  background: var(--brand-cyan);
  color: var(--bg);
}

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

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

button, input, textarea, select {
  font: inherit;
}

p,
li,
input,
textarea,
select {
  font-family: var(--font-body);
  font-weight: 400;
}

p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

h1,
h2,
h3,
.hero-title,
.section-title,
.portfolio-title,
.form-title,
.location-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hero-eyebrow,
.section-eyebrow,
.nav-link,
.btn,
button {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========================================
   NAVBAR — PREMIUM GLASSMORPHISM
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 72px;
  background: rgba(5, 5, 8, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 8, 0.92);
  border-bottom-color: rgba(0, 229, 255, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Brand / Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: opacity 0.25s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}

/* Nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}


/* Instagram personalizado na navbar */
.nav-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(rgba(5, 5, 8, 0.82), rgba(5, 5, 8, 0.82)) padding-box,
    linear-gradient(135deg, rgba(0, 229, 255, 0.68), rgba(139, 44, 255, 0.62), rgba(255, 42, 191, 0.7)) border-box;
  color: #fff;
  box-shadow: 0 0 26px rgba(139, 44, 255, 0.08);
}

.nav-instagram::after {
  display: none;
}

.nav-instagram::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.22), transparent 36%),
              radial-gradient(circle at 80% 70%, rgba(255, 42, 191, 0.22), transparent 40%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.nav-instagram:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow:
    0 0 22px rgba(0, 229, 255, 0.10),
    0 0 32px rgba(255, 42, 191, 0.10);
}

.nav-instagram:hover::before {
  opacity: 1;
}

.nav-instagram__icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  font-size: 1.05rem;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-purple), var(--brand-pink));
  box-shadow: 0 0 18px rgba(255, 42, 191, 0.22);
}

.nav-instagram span:not(.nav-instagram__icon) {
  position: relative;
  z-index: 1;
}

/* CTA na navbar */
.btn-nav-cta {
  margin-left: 12px;
  padding: 9px 22px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--brand-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-nav-cta:hover {
  background: rgba(0, 229, 255, 0.14);
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.12);
  transform: translateY(-1px);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.25s ease;
  z-index: 60;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--brand-cyan);
}

.nav-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--brand-pink);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   HERO — TÍTULO MENOR, FUNDO MAIS VISÍVEL
   ======================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.08), transparent 34%),
    radial-gradient(circle at 82% 26%, rgba(255, 42, 191, 0.08), transparent 34%),
    var(--bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: grayscale(0.85) contrast(1.08) brightness(0.92);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 8, 0.78), rgba(5, 5, 8, 0.30), rgba(5, 5, 8, 0.54)),
    linear-gradient(180deg, rgba(5, 5, 8, 0.14), rgba(5, 5, 8, 0.72));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  max-width: 760px;
  margin: 0 auto 0 clamp(20px, 4vw, 48px);
  padding-top: 100px;
  padding-left: 100px;
  color: #fff;
}

/* Eyebrow com linha gradiente */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 2px;
  margin-right: 14px;
  background: var(--brand-gradient);
  flex-shrink: 0;
}

/* Título REDUZIDO — era ~7.8rem, agora máx 5.6rem */
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  max-width: 720px;
  font-size: clamp(2.5rem, 5vw, 4.85rem);
  line-height: 0.92;
}

.hero p {
  max-width: 540px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ========================================
   BOTÕES — IDENTIDADE DA LOGO
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: var(--bg);
  border: 1px solid #fff;
}

.btn-primary:hover {
  box-shadow: 0 14px 40px rgba(0, 229, 255, 0.14);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--brand-cyan);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.1);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 110px) 0;
}

.section-header {
  max-width: 740px;
  margin-bottom: 34px;
}

/* Eyebrow geral */
.section-header span,
.budget-copy > span,
.location-content > span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--brand-cyan);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-header span::before,
.budget-copy > span::before,
.location-content > span::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 10px;
  background: var(--brand-gradient);
  flex-shrink: 0;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.92;
}

.section-header p,
.budget-copy p,
.location-content p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* ========================================
   PORTFÓLIO
   ======================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-item {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-item:nth-child(2),
.portfolio-item:nth-child(5) {
  transform: translateY(34px);
}

.portfolio-item:hover {
  border-color: rgba(0, 229, 255, 0.28);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36), 0 0 32px rgba(0, 229, 255, 0.08);
}

.portfolio-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: inherit;
}

.portfolio-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(0, 229, 255, 0.12), transparent 36%),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.72));
  opacity: 0.86;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.portfolio-trigger img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.7s ease, filter 0.7s ease, opacity 0.7s ease;
}

.portfolio-trigger:hover img,
.portfolio-trigger:focus-visible img {
  transform: scale(1.045);
  filter: grayscale(0.58) brightness(0.78) contrast(1.12);
  opacity: 0.96;
}

.portfolio-trigger:hover::after,
.portfolio-trigger:focus-visible::after {
  opacity: 1;
}

.portfolio-trigger:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 4px;
}

.portfolio-play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.56);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease;
}

.portfolio-trigger:hover .portfolio-play,
.portfolio-trigger:focus-visible .portfolio-play {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(0, 229, 255, 0.34);
}


/* ========================================
   MODAL DE VÍDEO DO PORTFÓLIO
   ======================================== */
body.is-modal-open {
  overflow: hidden;
}

.portfolio-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.portfolio-video-modal.is-open {
  display: flex;
}

.portfolio-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.16), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(255, 42, 191, 0.16), transparent 34%),
    rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portfolio-video-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 28px;
  background: rgba(8, 8, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 30px 120px rgba(0, 0, 0, 0.56),
    0 0 48px rgba(0, 229, 255, 0.08),
    0 0 64px rgba(255, 42, 191, 0.07);
}

.portfolio-video-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,229,255,.55), rgba(139,44,255,.28), rgba(255,42,191,.55));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.portfolio-video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.portfolio-video-modal__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portfolio-video-modal__content {
  padding: 22px 26px 26px;
  color: #fff;
}

.portfolio-video-modal__content span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-cyan);
}

.portfolio-video-modal__content p {
  margin: 0;
  max-width: 680px;
  color: rgba(255,255,255,.72);
}

.portfolio-video-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.54);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.portfolio-video-modal__close:hover,
.portfolio-video-modal__close:focus-visible {
  transform: rotate(90deg);
  border-color: var(--brand-pink);
  background: rgba(255,255,255,.08);
}

@media (max-width: 768px) {
  .portfolio-video-modal {
    padding: 14px;
  }

  .portfolio-video-modal__dialog {
    width: 100%;
    border-radius: 22px;
  }

  .portfolio-video-modal__frame {
    aspect-ratio: 4 / 5;
  }

  .portfolio-video-modal__content {
    padding: 18px;
  }

  .portfolio-play {
    opacity: 1;
    transform: none;
    font-size: .66rem;
  }
}

/* ========================================
   FORMULÁRIO DE ORÇAMENTO
   ======================================== */
.budget {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.budget-copy,
.location-content,
.budget-form,
.map-wrapper {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.budget-copy,
.location-content {
  position: sticky;
  top: 120px;
  padding: clamp(26px, 4vw, 42px);
}

.budget-notes {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  color: rgba(245, 242, 235, .78);
  list-style: none;
}

.budget-notes li {
  position: relative;
  padding-left: 20px;
  line-height: 1.55;
}

.budget-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
}

.budget-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-full,
.form-submit,
.form-feedback {
  grid-column: 1 / -1;
}

label {
  color: rgba(245, 242, 235, .84);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

label small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  outline: none;
  padding: 15px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

select option {
  background: #111;
  color: #fff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand-cyan);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.10);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
}

.form-feedback {
  min-height: 22px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.form-feedback.error {
  color: #f2a6a6;
}

/* ========================================
   LOCALIZAÇÃO / MAPS
   ======================================== */
.location {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 24px;
  align-items: stretch;
  padding-top: 0;
}

.location-content {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.location-content .btn {
  margin-top: 26px;
}

.map-wrapper {
  overflow: hidden;
  min-height: 420px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.86);
}



/* ========================================
   AVALIAÇÕES / CARROSSEL PREMIUM
   ======================================== */
.testimonials {
  position: relative;
  padding: clamp(72px, 10vw, 130px) 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,229,255,.08), transparent 30%),
    radial-gradient(circle at 85% 40%, rgba(255,42,191,.08), transparent 34%),
    #050508;
  overflow: hidden;
}

.testimonials .section-header {
  position: relative;
  z-index: 2;
}

.testimonials-carousel {
  position: relative;
  width: 100%;
  margin-top: 46px;
  overflow: hidden;
  cursor: grab;
}

.testimonials-carousel.is-dragging {
  cursor: grabbing;
}

.testimonials-carousel::before,
.testimonials-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.testimonials-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #050508, transparent);
}

.testimonials-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #050508, transparent);
}

.testimonials-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 6px 22px 10px;
  will-change: transform;
  animation: testimonialsMarquee 38s linear infinite;
}

.testimonials-carousel:hover .testimonials-track,
.testimonials-carousel:focus-within .testimonials-track,
.testimonials-carousel.is-paused .testimonials-track {
  animation-play-state: paused;
}

.testimonial-card {
  width: min(390px, 82vw);
  min-height: 280px;
  flex: 0 0 auto;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.11);
  box-shadow:
    0 24px 80px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    border-color .35s ease,
    box-shadow .35s ease;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(0,229,255,.12), transparent 36%),
    radial-gradient(circle at 85% 80%, rgba(255,42,191,.10), transparent 34%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,255,.24);
  box-shadow:
    0 30px 90px rgba(0,0,0,.38),
    0 0 34px rgba(0,229,255,.08),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #050508;
  background: linear-gradient(135deg, var(--brand-cyan, #00e5ff), var(--brand-pink, #ff2abf));
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 0 28px rgba(0,229,255,.14);
}

.testimonial-card h3 {
  margin: 0;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-card__top span {
  display: block;
  margin-top: 3px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-rating {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  color: var(--brand-cyan, #00e5ff);
  font-size: .9rem;
  letter-spacing: .08em;
}

.testimonial-rating strong {
  margin-left: 8px;
  color: #fff;
  font-weight: 700;
}

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

@media (max-width: 768px) {
  .testimonials-carousel::before,
  .testimonials-carousel::after {
    width: 54px;
  }

  .testimonials-track {
    gap: 16px;
    padding-inline: 14px;
    animation-duration: 34s;
  }

  .testimonial-card {
    width: 82vw;
    min-height: 300px;
    padding: 24px;
    border-radius: 24px;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  position: relative;
  color: rgba(245, 242, 235, .65);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--brand-cyan);
}

.site-footer p {
  grid-column: 1 / -1;
  font-size: .82rem;
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========================================
   RESPONSIVO — TABLET (≤ 920px)
   ======================================== */
@media (max-width: 920px) {
  .site-header {
    padding: 0 20px;
    height: 64px;
  }

  .brand span {
    display: none;
  }

  /* Mostrar hamburger */
  .nav-toggle {
    display: flex;
  }

  /* Menu mobile — painel lateral */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 55;
    width: min(340px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 100px 32px 40px;
    background: rgba(5, 5, 8, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-link {
    width: 100%;
    padding: 18px 0;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    color: var(--brand-cyan);
  }

  .btn-nav-cta {
    margin-left: 0;
    margin-top: 28px;
    width: 100%;
    min-height: 52px;
    font-size: 0.82rem;
    justify-content: center;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
  }

  .portfolio-grid,
  .budget,
  .location {
    grid-template-columns: 1fr;
  }

  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(5) {
    transform: none;
  }

  .budget-copy {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}


/* ========================================
   TIPOGRAFIA MOBILE
   ======================================== */
@media (max-width: 768px) {
  .hero-title,
  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 4.2rem);
    letter-spacing: 0.025em;
    line-height: 0.95;
  }

  .section-title,
  section h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
    letter-spacing: 0.025em;
  }

  p {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}

/* ========================================
   RESPONSIVO — MOBILE (≤ 640px)
   ======================================== */
@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1120px);
    --radius: 22px;
  }

  .site-header {
    padding: 0 16px;
    height: 60px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .hero {
    min-height: 88vh;
    align-items: flex-end;
  }

  .hero-content {
    padding: 100px 0 78px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
    line-height: 0.94;
  }

  .hero p {
    margin-top: 18px;
    font-size: 0.95rem;
    max-width: 32rem;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .portfolio-grid {
    gap: 12px;
  }

  .portfolio-item {
    min-height: 360px;
  }

  .budget-form {
    grid-template-columns: 1fr;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 360px;
  }
}

/* ========================================
   WHATSAPP FLUTUANTE
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }

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



@media (max-width: 1024px) {
  .nav-instagram {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

/* Proteção: o botão flutuante do WhatsApp nunca pode virar elemento relativo por classes JS */
.whatsapp-float,
.whatsapp-float.js-animated-button {
  position: fixed;
  left: auto;
  right: 24px;
  bottom: 24px;
}

@media (max-width: 640px) {
  .whatsapp-float,
  .whatsapp-float.js-animated-button {
    right: 18px;
    bottom: 18px;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ========================================
   JS ANIMAÇÕES PREMIUM — ATUALIZAÇÃO
   ======================================== */
html {
  scroll-behavior: smooth;
}

body.is-menu-open,
body.is-modal-open {
  overflow: hidden;
}

/* Entrada cinematográfica do hero */
.hero-animate-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .85s cubic-bezier(.2,.7,.2,1) var(--hero-delay, 0ms),
    transform .85s cubic-bezier(.2,.7,.2,1) var(--hero-delay, 0ms);
}

.hero-animate-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header.hero-animate-item {
  transform: translateY(-24px);
}

.site-header.hero-animate-item.is-visible {
  transform: translateY(0);
}

.hero-video,
.hero-bg {
  --hero-parallax-scale: 1.04;
  --hero-parallax-y: 0px;
  transform: scale(var(--hero-parallax-scale)) translateY(var(--hero-parallax-y));
  transition: transform 1.8s cubic-bezier(.2,.7,.2,1), filter .45s ease;
  will-change: transform;
}

body.is-page-loaded .hero-video,
body.is-page-loaded .hero-bg {
  --hero-parallax-scale: 1;
}

/* Luz sutil no hero seguindo o mouse */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at var(--hero-x, 50%) var(--hero-y, 45%), rgba(0,229,255,.115), transparent 27%),
    radial-gradient(circle at calc(var(--hero-x, 50%) + 12%) calc(var(--hero-y, 45%) + 8%), rgba(255,42,191,.09), transparent 31%);
  opacity: .78;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-overlay {
  z-index: 0;
}

.hero-content {
  z-index: 2;
}

/* Scroll reveal premium */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .85s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform .85s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    filter .85s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
  filter: blur(5px);
}

[data-reveal="left"] {
  transform: translateX(-34px);
}

[data-reveal="right"] {
  transform: translateX(34px);
}

[data-reveal="scale"] {
  transform: scale(.955) translateY(18px);
}

[data-reveal].is-revealed,
[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

/* Botões animados */
.js-animated-button {
  position: relative;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    transform .25s cubic-bezier(.2,.7,.2,1),
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease,
    color .25s ease;
}

.js-animated-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--btn-x, 50%) var(--btn-y, 50%), rgba(0,229,255,.18), transparent 34%),
    radial-gradient(circle at calc(var(--btn-x, 50%) + 12%) calc(var(--btn-y, 50%) + 12%), rgba(255,42,191,.13), transparent 36%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.js-animated-button > * {
  position: relative;
  z-index: 1;
}

.js-animated-button:hover {
  transform: translateY(-2px);
}

.js-animated-button:hover::before {
  opacity: 1;
}

.js-animated-button.is-pressing {
  transform: translateY(0) scale(.985);
}

.button-ripple {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  transform: scale(0);
  animation: buttonRipple .68s ease-out forwards;
  pointer-events: none;
}

@keyframes buttonRipple {
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Navbar dinâmica */
.site-header,
.header,
.navbar {
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    background .35s ease,
    border-color .35s ease,
    backdrop-filter .35s ease,
    box-shadow .35s ease;
}

.site-header.is-hidden,
.header.is-hidden,
.navbar.is-hidden {
  transform: translateY(-110%);
}

.main-nav.is-open .nav-link,
.main-nav.is-open .btn-nav-cta {
  animation: navItemIn .46s cubic-bezier(.2,.7,.2,1) both;
}

.main-nav.is-open .nav-link:nth-child(1) { animation-delay: .05s; }
.main-nav.is-open .nav-link:nth-child(2) { animation-delay: .10s; }
.main-nav.is-open .nav-link:nth-child(3) { animation-delay: .15s; }
.main-nav.is-open .btn-nav-cta { animation-delay: .20s; }

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Portfólio mais vivo */
.portfolio-item,
.portfolio-card {
  transition:
    transform .38s cubic-bezier(.2,.7,.2,1),
    border-color .35s ease,
    box-shadow .35s ease,
    filter .35s ease;
  will-change: transform;
}

.portfolio-item:hover,
.portfolio-card:hover {
  transform: translateY(-6px);
}

.portfolio-item:nth-child(2):hover,
.portfolio-item:nth-child(5):hover {
  transform: translateY(28px);
}

.portfolio-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 25% 20%, rgba(0,229,255,.18), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255,42,191,.16), transparent 34%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.portfolio-trigger:hover::before,
.portfolio-trigger:focus-visible::before {
  opacity: 1;
}

.portfolio-play {
  transition:
    opacity .3s cubic-bezier(.2,.7,.2,1),
    transform .3s cubic-bezier(.2,.7,.2,1),
    border-color .25s ease,
    box-shadow .25s ease;
}

.portfolio-trigger:hover .portfolio-play,
.portfolio-trigger:focus-visible .portfolio-play {
  box-shadow: 0 0 24px rgba(0,229,255,.14);
}

.portfolio-trigger.is-opening {
  animation: portfolioClickPulse .5s ease;
}

@keyframes portfolioClickPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(.975);
    filter: brightness(.75);
  }
  100% {
    transform: scale(1);
  }
}

/* Modal com entrada cinematográfica */
.portfolio-video-modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.portfolio-video-modal.is-open {
  display: flex;
}

.portfolio-video-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-video-modal__backdrop {
  opacity: 0;
  transition: opacity .4s ease;
}

.portfolio-video-modal.is-active .portfolio-video-modal__backdrop {
  opacity: 1;
}

.portfolio-video-modal__dialog {
  opacity: 0;
  transform: translateY(34px) scale(.94);
  filter: blur(12px);
  transition:
    opacity .45s cubic-bezier(.2,.7,.2,1),
    transform .45s cubic-bezier(.2,.7,.2,1),
    filter .45s cubic-bezier(.2,.7,.2,1);
}

.portfolio-video-modal.is-active .portfolio-video-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.portfolio-video-modal__video {
  transform: scale(1.045);
  transition: transform .85s cubic-bezier(.2,.7,.2,1);
}

.portfolio-video-modal.is-active .portfolio-video-modal__video {
  transform: scale(1);
}

.portfolio-video-modal__content {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease .18s, transform .45s ease .18s;
}

.portfolio-video-modal.is-active .portfolio-video-modal__content {
  opacity: 1;
  transform: translateY(0);
}

/* Formulário animado */
.form-row,
.form-group,
.input-group {
  transition: transform .25s ease, opacity .25s ease;
}

.form-row.is-focused,
.form-group.is-focused,
.input-group.is-focused {
  transform: translateY(-2px);
}

.form-row.is-focused label,
.form-group.is-focused label,
.input-group.is-focused label,
.form-row.has-value label {
  color: var(--brand-cyan);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,.12), 0 0 24px rgba(0,229,255,.06);
}

button.is-loading,
.btn.is-loading {
  pointer-events: none;
  opacity: .75;
}

button.is-loading::after,
.btn.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 10px;
  display: inline-block;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 999px;
  animation: spin .8s linear infinite;
}

.form-feedback {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

.form-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mapa e footer com profundidade */
.map-wrapper,
.site-footer,
.budget-form,
.location-content,
.budget-copy {
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    box-shadow .35s ease,
    border-color .35s ease;
}

.map-wrapper:hover,
.budget-form:hover,
.location-content:hover,
.budget-copy:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.18);
  box-shadow: 0 30px 88px rgba(0, 0, 0, 0.34), 0 0 36px rgba(0, 229, 255, 0.055);
}

/* Barra de progresso */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 99999;
  background: var(--brand-gradient);
  box-shadow: 0 0 18px rgba(0,229,255,.35);
  pointer-events: none;
}

/* Reduced motion reforçado */
.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
  scroll-behavior: auto !important;
}

.reduced-motion [data-reveal],
.reduced-motion .hero-animate-item {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

@media (max-width: 768px) {
  .hero::before {
    display: none;
  }

  .portfolio-item:hover,
  .portfolio-card:hover,
  .map-wrapper:hover,
  .budget-form:hover,
  .location-content:hover,
  .budget-copy:hover {
    transform: none;
  }

  .portfolio-item:nth-child(2):hover,
  .portfolio-item:nth-child(5):hover {
    transform: none;
  }
}

/* ========================================
   FIX FINAL — CSS VÁLIDO, ANIMAÇÕES E PORTFÓLIO
   ======================================== */
.portfolio {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
  background: #050508;
}

.portfolio .section-header {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.portfolio-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-item,
.portfolio-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.portfolio-item:nth-child(2),
.portfolio-item:nth-child(5),
.portfolio-item:nth-child(2):hover,
.portfolio-item:nth-child(5):hover,
.portfolio-item.is-revealed:nth-child(2),
.portfolio-item.is-revealed:nth-child(5) {
  transform: none;
}

.portfolio-item.is-revealed:hover,
.portfolio-card:hover {
  transform: translateY(-6px);
}

.portfolio-item::before,
.portfolio-item::after,
.portfolio-card::before,
.portfolio-card::after,
.portfolio-placeholder,
.portfolio-monogram,
.card-mark,
.placeholder,
.monogram,
.portfolio-trigger .x {
  display: none !important;
  content: none !important;
}

.portfolio-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  overflow: hidden;
  background: #101014;
  cursor: pointer;
  isolation: isolate;
}

.portfolio-trigger img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) contrast(1.05) brightness(.88);
  opacity: 1;
  transition:
    transform .75s cubic-bezier(.2,.7,.2,1),
    filter .75s cubic-bezier(.2,.7,.2,1);
}

.portfolio-trigger:hover img,
.portfolio-trigger:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1) contrast(1.08) brightness(.72);
  opacity: 1;
}

.portfolio-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,229,255,.20), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(255,42,191,.18), transparent 36%),
    linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.portfolio-trigger::after {
  display: none !important;
  content: none !important;
}

.portfolio-trigger:hover::before,
.portfolio-trigger:focus-visible::before {
  opacity: 1;
}

.portfolio-play {
  display: none !important;
}

.portfolio-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 6px;
  color: #fff;
  transform: translateY(10px);
  opacity: 0;
  transition:
    opacity .35s ease,
    transform .35s cubic-bezier(.2,.7,.2,1);
}

.portfolio-trigger:hover .portfolio-overlay,
.portfolio-trigger:focus-visible .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-overlay span {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-cyan, #00e5ff);
}

.portfolio-overlay strong {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .75s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform .75s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    filter .75s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
  filter: blur(4px);
}

[data-reveal="scale"] {
  transform: scale(.96);
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal].is-revealed,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

[data-reveal="left"].is-revealed,
[data-reveal="right"].is-revealed,
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible {
  transform: translateX(0);
}

.portfolio-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.portfolio-video-modal.is-open {
  visibility: visible;
}

.portfolio-video-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-video-modal__backdrop {
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.16), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(255, 42, 191, 0.16), transparent 34%),
    rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portfolio-video-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 28px;
  background: rgba(8, 8, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 30px 120px rgba(0, 0, 0, 0.56),
    0 0 48px rgba(0, 229, 255, 0.08),
    0 0 64px rgba(255, 42, 191, 0.07);
  opacity: 0;
  transform: translateY(34px) scale(.94);
  filter: blur(12px);
  transition:
    opacity .45s cubic-bezier(.2,.7,.2,1),
    transform .45s cubic-bezier(.2,.7,.2,1),
    filter .45s cubic-bezier(.2,.7,.2,1);
}

.portfolio-video-modal.is-active .portfolio-video-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.portfolio-video-modal__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.portfolio-video-modal__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portfolio-video-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.54);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

body.is-modal-open {
  overflow: hidden;
}

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

@media (max-width: 560px) {
  .portfolio-grid {
    width: min(100% - 28px, 420px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-trigger {
    border-radius: 22px;
  }

  .portfolio-overlay {
    opacity: 1;
    transform: none;
  }

  .portfolio-video-modal {
    padding: 14px;
  }

  .portfolio-video-modal__dialog {
    width: 100%;
    border-radius: 22px;
  }

  .portfolio-video-modal__frame {
    aspect-ratio: 4 / 5;
  }
}


/* ========================================
   FIX FINAL — ANIMAÇÕES, MENU MOBILE E AVALIAÇÕES
   ======================================== */

/* Botões: transição real, ripple e feedback suave */
.js-animated-button {
  position: relative;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    transform .28s cubic-bezier(.2,.7,.2,1),
    box-shadow .28s ease,
    border-color .28s ease,
    background .28s ease,
    color .28s ease,
    opacity .28s ease !important;
  will-change: transform;
}

.js-animated-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--btn-x, 50%) var(--btn-y, 50%), rgba(0,229,255,.18), transparent 35%),
    radial-gradient(circle at calc(var(--btn-x, 50%) + 12%) calc(var(--btn-y, 50%) + 10%), rgba(255,42,191,.13), transparent 38%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.js-animated-button:hover {
  transform: translateY(-3px) scale(1);
  box-shadow:
    0 18px 46px rgba(0,0,0,.32),
    0 0 28px rgba(0,229,255,.12);
}

.js-animated-button:hover::before {
  opacity: 1;
}

.js-animated-button.is-pressing,
.js-animated-button:active {
  transform: translateY(-1px) scale(.985);
}

.button-ripple {
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
  transform: scale(0);
  animation: buttonRipple .65s ease-out forwards;
  pointer-events: none;
  z-index: 1;
}

@keyframes buttonRipple {
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Proteção do botão flutuante do WhatsApp */
.whatsapp-float,
.whatsapp-float.js-animated-button,
.whatsapp-float:hover,
.whatsapp-float.js-animated-button:hover,
.whatsapp-float.js-animated-button.is-pressing {
  position: fixed !important;
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
}

/* Cards: hover premium sem efeito seco */
.portfolio-item,
.testimonial-card,
.portfolio-trigger,
.js-animated-card {
  transition:
    transform .38s cubic-bezier(.2,.7,.2,1),
    border-color .38s ease,
    box-shadow .38s ease,
    filter .38s ease !important;
  will-change: transform;
}

.portfolio-item:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
}

.portfolio-trigger:hover {
  border-color: rgba(0,229,255,.34);
  box-shadow:
    0 26px 90px rgba(0,0,0,.42),
    0 0 36px rgba(0,229,255,.10),
    0 0 48px rgba(255,42,191,.08);
}

.portfolio-trigger img {
  transition:
    transform .75s cubic-bezier(.2,.7,.2,1),
    filter .75s cubic-bezier(.2,.7,.2,1) !important;
  will-change: transform;
}

.portfolio-trigger:hover img {
  transform: scale(1.055);
  filter: brightness(.72) contrast(1.08) saturate(1.08);
}

/* Menu mobile: começa fechado e não fica travado no celular */
@media (max-width: 920px) {
  .main-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition:
      opacity .35s ease,
      visibility .35s ease,
      transform .45s cubic-bezier(.2,.7,.2,1);
  }

  .main-nav.is-open,
  body.is-menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .mobile-overlay {
    pointer-events: none;
  }

  .mobile-overlay.is-active,
  body.is-menu-open .mobile-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .nav-instagram,
  .btn-nav-cta {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

/* Avaliações: loop contínuo e sem pausa presa no touch */
.testimonials-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 46px;
}

.testimonials-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
  animation: testimonialsMarquee 36s linear infinite;
  animation-play-state: running;
  transform: translate3d(0, 0, 0);
}

.testimonial-card {
  flex: 0 0 auto;
  width: min(390px, 82vw);
}

.testimonials-carousel:hover .testimonials-track,
.testimonials-carousel:focus-within .testimonials-track,
.testimonials-carousel.is-paused .testimonials-track {
  animation-play-state: paused;
}

@keyframes testimonialsMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .testimonials-track {
    gap: 16px;
    animation-duration: 30s;
  }

  .testimonial-card {
    width: 82vw;
  }
}

@media (hover: none) {
  .testimonials-carousel:hover .testimonials-track {
    animation-play-state: running;
  }

  .portfolio-trigger:active,
  .js-animated-button:active {
    transform: scale(.985);
  }
}

@media (max-width: 640px) {
  .whatsapp-float,
  .whatsapp-float.js-animated-button,
  .whatsapp-float:hover,
  .whatsapp-float.js-animated-button:hover,
  .whatsapp-float.js-animated-button.is-pressing {
    right: 18px !important;
    bottom: 18px !important;
  }
}


/* ========================================
   PATCH CIRÚRGICO — NAVBAR + AVALIAÇÕES + HOVERS
   Mantém o layout atual e só corrige animações.
   ======================================== */
.site-header,
[data-navbar] {
  transition:
    opacity .45s ease,
    transform .45s cubic-bezier(.2,.7,.2,1),
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    backdrop-filter .35s ease !important;
  will-change: transform, opacity;
}

.site-header.navbar-ready,
[data-navbar].navbar-ready {
  opacity: 0;
  transform: translateY(-12px);
}

.site-header.navbar-visible,
[data-navbar].navbar-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header.is-scrolled,
[data-navbar].is-scrolled {
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 60px rgba(0, 0, 0, 0.35);
}

.site-header.is-hidden,
[data-navbar].is-hidden {
  transform: translateY(-110%) !important;
}

body.is-menu-open .site-header,
body.is-menu-open [data-navbar] {
  transform: translateY(0) !important;
}

.nav-link,
.site-header nav a,
[data-navbar] nav a {
  position: relative;
  transition:
    color .28s ease,
    transform .28s cubic-bezier(.2,.7,.2,1),
    border-color .28s ease,
    box-shadow .28s ease !important;
}

.nav-link::after,
.site-header nav a::after,
[data-navbar] nav a::after {
  transition: width .32s cubic-bezier(.2,.7,.2,1), opacity .32s ease !important;
}

.nav-link:hover,
.site-header nav a:hover,
[data-navbar] nav a:hover {
  transform: translateY(-1px);
}

.js-animated-button:not(.whatsapp-float) {
  position: relative;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    transform .28s cubic-bezier(.2,.7,.2,1),
    box-shadow .28s ease,
    border-color .28s ease,
    background .28s ease,
    color .28s ease,
    opacity .28s ease !important;
  will-change: transform;
}

.js-animated-button:not(.whatsapp-float):hover {
  transform: translateY(-3px) scale(1);
}

.js-animated-button:not(.whatsapp-float).is-pressing,
.js-animated-button:not(.whatsapp-float):active {
  transform: translateY(-1px) scale(.985);
}

.portfolio-item,
.portfolio-trigger,
.testimonial-card,
.js-animated-card {
  transition:
    transform .38s cubic-bezier(.2,.7,.2,1),
    border-color .38s ease,
    box-shadow .38s ease,
    filter .38s ease !important;
  will-change: transform;
}

.portfolio-item:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonials-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 46px;
}

.testimonials-track {
  display: flex;
  gap: 22px;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  animation-name: testimonialsMarquee;
  animation-duration: 36s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;
  transform: translate3d(0, 0, 0);
}

.testimonial-card {
  flex: 0 0 auto;
  width: min(390px, 82vw);
}

@keyframes testimonialsMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (hover: hover) and (pointer: fine) {
  .testimonials-carousel:hover .testimonials-track,
  .testimonials-carousel:focus-within .testimonials-track,
  .testimonials-carousel.is-paused .testimonials-track {
    animation-play-state: paused;
  }
}

@media (hover: none) {
  .testimonials-carousel:hover .testimonials-track,
  .testimonials-carousel:focus-within .testimonials-track,
  .testimonials-carousel.is-paused .testimonials-track {
    animation-play-state: running !important;
  }
}

@media (max-width: 920px) {
  .main-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition:
      opacity .35s ease,
      visibility .35s ease,
      transform .45s cubic-bezier(.2,.7,.2,1) !important;
  }

  .main-nav.is-open,
  body.is-menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .testimonials-track {
    gap: 16px;
    animation-duration: 30s;
  }
}

/* =====================================================
   FIX CIRÚRGICO — MODAL DE VÍDEO + AVALIAÇÕES EM LOOP
   Mantém o layout atual e corrige apenas os bugs pontuais.
   ===================================================== */
.portfolio-video-modal__dialog {
  position: relative;
  overflow: hidden;
}

.portfolio-video-modal__close,
.portfolio-video-modal__close.js-animated-button,
.portfolio-video-modal__close.js-animated-button:hover,
.portfolio-video-modal__close.js-animated-button.is-pressing {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 999px !important;
  background: rgba(8, 8, 12, .78) !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  overflow: hidden !important;
  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    opacity .25s ease !important;
}

.portfolio-video-modal__close:hover,
.portfolio-video-modal__close:focus-visible {
  transform: scale(1.06) !important;
  border-color: rgba(0,229,255,.45) !important;
  background: rgba(15,15,22,.92) !important;
}

.portfolio-video-modal__close::before {
  display: none !important;
}

@media (max-width: 768px) {
  .portfolio-video-modal__close,
  .portfolio-video-modal__close.js-animated-button,
  .portfolio-video-modal__close.js-animated-button:hover,
  .portfolio-video-modal__close.js-animated-button.is-pressing {
    top: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 22px !important;
  }
}

.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
  width: 100%;
  margin-top: 46px;
  overflow: hidden;
}

.testimonials-track {
  display: flex !important;
  align-items: stretch !important;
  gap: 22px;
  width: max-content !important;
  min-width: max-content !important;
  will-change: transform;
  animation: testimonialsMarquee 36s linear infinite !important;
  animation-play-state: running;
  transform: translate3d(0, 0, 0);
}

.testimonial-card {
  flex: 0 0 auto !important;
  width: min(390px, 82vw);
}

@media (hover: hover) and (pointer: fine) {
  .testimonials-carousel:hover .testimonials-track,
  .testimonials-carousel:focus-within .testimonials-track,
  .testimonials-carousel.is-paused .testimonials-track {
    animation-play-state: paused !important;
  }
}

@media (hover: none) {
  .testimonials-carousel:hover .testimonials-track,
  .testimonials-carousel:focus-within .testimonials-track,
  .testimonials-carousel.is-paused .testimonials-track {
    animation-play-state: running !important;
  }
}

@keyframes testimonialsMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .testimonials-track {
    gap: 16px;
    animation-duration: 30s !important;
  }

  .testimonial-card {
    width: 84vw;
  }
}

/* ========================================
   ATUALIZAÇÃO CIRÚRGICA — FORMULÁRIO + MAPA INTERATIVO
   ======================================== */
.budget-copy > p,
.location-content > p {
  max-width: 44rem;
  color: rgba(255, 255, 255, .72);
}

.budget-quick-steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.budget-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  transition:
    transform .28s cubic-bezier(.2,.7,.2,1),
    border-color .28s ease,
    background .28s ease,
    box-shadow .28s ease;
}

.budget-step-card strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #050508;
  background: var(--brand-gradient);
  font-size: .78rem;
  letter-spacing: .06em;
}

.budget-step-card span {
  color: rgba(255,255,255,.78);
  font-size: .94rem;
  line-height: 1.45;
}

.budget-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,255,.22);
  background: rgba(255,255,255,.055);
  box-shadow: 0 18px 52px rgba(0,0,0,.22), 0 0 28px rgba(0,229,255,.055);
}

.choice-group {
  display: grid;
  gap: 12px;
}

.choice-label {
  color: rgba(245, 242, 235, .84);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-chip {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.78);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform .25s cubic-bezier(.2,.7,.2,1),
    border-color .25s ease,
    background .25s ease,
    color .25s ease,
    box-shadow .25s ease;
}

.choice-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(0,229,255,.42);
  color: #fff;
  background: rgba(255,255,255,.055);
}

.choice-chip.is-active {
  color: #fff;
  border-color: rgba(0,229,255,.55);
  background:
    linear-gradient(135deg, rgba(0,229,255,.16), rgba(139,44,255,.10), rgba(255,42,191,.14));
  box-shadow: 0 0 26px rgba(0,229,255,.08), inset 0 1px 0 rgba(255,255,255,.08);
}

.choice-options--sizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-chip--size {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
  text-align: left;
  border-radius: 16px;
}

.choice-chip--size strong {
  display: block;
  color: inherit;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.choice-chip--size small {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}

.choice-chip--size.is-active small {
  color: rgba(255,255,255,.82);
}


.budget-form input,
.budget-form textarea,
.budget-form select {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  color: #fff;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    transform .25s ease;
}

.budget-form textarea {
  min-height: 118px;
}

.budget-form input:focus,
.budget-form textarea:focus,
.budget-form select:focus {
  outline: none;
  border-color: rgba(0,229,255,.52);
  background: rgba(255,255,255,.065);
  box-shadow: 0 0 0 3px rgba(0,229,255,.10), 0 0 24px rgba(0,229,255,.06);
  transform: translateY(-1px);
}

.form-feedback {
  margin-top: 4px;
  padding: 0;
  border-radius: 14px;
}

.form-feedback.is-visible {
  min-height: auto;
  padding: 12px 14px;
  color: #fff;
  background: rgba(0,229,255,.10);
  border: 1px solid rgba(0,229,255,.22);
}

.form-feedback.error,
.form-feedback[data-type="error"] {
  color: #fff;
  background: rgba(255, 42, 95, .14);
  border-color: rgba(255, 42, 95, .28);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.location-actions .btn {
  margin-top: 0;
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
  color: #fff;
}

.btn-ghost:hover,
.btn-ghost.is-copied {
  border-color: rgba(0,229,255,.42);
  background: rgba(0,229,255,.10);
}

.map-wrapper.map-interactive {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
}

.map-wrapper.map-interactive iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  filter: grayscale(1) invert(.88) contrast(.88);
  transform: scale(1);
  transition:
    filter .35s ease,
    transform .55s cubic-bezier(.2,.7,.2,1);
}

.map-wrapper.map-interactive:hover iframe {
  filter: grayscale(.8) invert(.82) contrast(.95);
  transform: scale(1.025);
}

.map-wrapper.map-interactive::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, rgba(0,229,255,.10), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.20));
  opacity: .72;
}

.map-floating-action {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  min-height: 44px;
  padding-inline: 18px;
  font-size: .72rem;
}

@media (max-width: 920px) {
  .budget-copy,
  .location-content {
    position: static;
  }
}

@media (max-width: 768px) {
  .budget-quick-steps {
    grid-template-columns: 1fr;
  }

  .choice-options {
    gap: 8px;
  }

  .choice-chip {
    min-height: 40px;
    padding-inline: 13px;
    font-size: .72rem;
  }

  .location-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .location-actions .btn,
  .map-floating-action {
    width: 100%;
    justify-content: center;
  }

  .map-floating-action {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .map-wrapper.map-interactive iframe {
    min-height: 320px;
  }
}

/* ==================================================
   FIX MOBILE — EVITA TELA VAZIA EM NAVEGADORES MOBILE/WHATSAPP
   Mantém o site visível caso alguma animação/reveal falhe no celular.
   ================================================== */
@media (max-width: 920px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero,
  .hero-content,
  .hero-copy,
  .hero-text,
  .hero-title,
  .hero h1,
  .hero-eyebrow,
  .hero-subtitle,
  .hero-actions,
  .section,
  .section-header,
  .portfolio,
  .portfolio-grid,
  .portfolio-item,
  .budget,
  .budget-section,
  .budget-copy,
  .budget-form,
  .location,
  .location-content,
  .map-wrapper,
  .testimonials,
  .testimonials-carousel,
  .site-footer,
  footer,
  [data-reveal],
  [data-reveal="up"],
  [data-reveal="left"],
  [data-reveal="right"],
  [data-reveal="scale"],
  .hero-animate-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
  }

  .hero {
    min-height: auto !important;
    padding-top: clamp(118px, 22vw, 150px) !important;
    padding-bottom: clamp(64px, 14vw, 92px) !important;
  }

  .hero-content {
    position: relative !important;
    z-index: 3 !important;
    display: grid !important;
    align-content: center !important;
  }

  .hero-title,
  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 4.15rem) !important;
    line-height: .92 !important;
  }

  .hero p,
  .hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .site-header,
  .navbar,
  header,
  [data-navbar] {
    opacity: 1 !important;
    visibility: visible !important;
  }

  body:not(.is-menu-open) .site-header,
  body:not(.is-menu-open) .navbar,
  body:not(.is-menu-open) header,
  body:not(.is-menu-open) [data-navbar] {
    transform: none !important;
  }

  body:not(.is-menu-open) .main-nav[data-mobile-menu],
  body:not(.is-menu-open) [data-mobile-menu].main-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(100%) !important;
  }

  body.is-menu-open .main-nav[data-mobile-menu],
  body.is-menu-open [data-mobile-menu].main-nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }
}


/* ========================================
   LOADING PREMIUM — BOY TATTO
   ======================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 229, 255, 0.16), transparent 32%),
    radial-gradient(circle at 82% 28%, rgba(255, 42, 191, 0.14), transparent 34%),
    linear-gradient(180deg, #050508 0%, #090910 52%, #050508 100%);
  color: #fff;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity .75s cubic-bezier(.2,.7,.2,1),
    visibility .75s cubic-bezier(.2,.7,.2,1);
}

.page-loader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(115deg, transparent 0%, rgba(0,229,255,.08) 35%, transparent 48%, rgba(255,42,191,.08) 64%, transparent 100%);
  animation: loaderLightSweep 3.6s cubic-bezier(.2,.7,.2,1) infinite;
  pointer-events: none;
}

.page-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  opacity: .42;
  pointer-events: none;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  position: relative;
  z-index: 2;
  width: min(420px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.page-loader__brand {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.page-loader__logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 999px;
  filter:
    drop-shadow(0 0 18px rgba(0,229,255,.18))
    drop-shadow(0 0 24px rgba(255,42,191,.14));
  animation: loaderLogoPulse 2.4s ease-in-out infinite;
}

.page-loader__brand span {
  font-family: var(--font-display, serif);
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-loader__mark {
  position: relative;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
}

.page-loader__mark::before,
.page-loader__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
}

.page-loader__mark::before {
  border-top-color: rgba(0,229,255,.82);
  border-right-color: rgba(139,44,255,.45);
  animation: loaderSpin 1.45s linear infinite;
}

.page-loader__mark::after {
  inset: 14px;
  border-bottom-color: rgba(255,42,191,.78);
  border-left-color: rgba(0,229,255,.36);
  animation: loaderSpinReverse 2.2s linear infinite;
}

.page-loader__mark span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00e5ff, #ff2abf);
  box-shadow:
    0 0 18px rgba(0,229,255,.48),
    0 0 24px rgba(255,42,191,.28);
  animation: loaderDotPulse 1.2s ease-in-out infinite;
}

.page-loader__mark span:nth-child(2) {
  transform: translateX(-26px);
  animation-delay: .16s;
}

.page-loader__mark span:nth-child(3) {
  transform: translateX(26px);
  animation-delay: .32s;
}

.page-loader__progress {
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}

.page-loader__bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00e5ff, #8b2cff, #ff2abf);
  box-shadow: 0 0 20px rgba(0,229,255,.35);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}

.page-loader__meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body, sans-serif);
  color: rgba(255,255,255,.66);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-loader__meta strong {
  color: #fff;
  font-weight: 800;
}

body.is-loading {
  overflow: hidden;
}

body.is-loaded main {
  animation: siteEnterAfterLoad .85s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes loaderLightSweep {
  0% {
    transform: translateX(-18%) rotate(0deg);
    opacity: .45;
  }

  50% {
    opacity: .85;
  }

  100% {
    transform: translateX(18%) rotate(8deg);
    opacity: .45;
  }
}

@keyframes loaderLogoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: .88;
  }

  50% {
    transform: scale(1.045);
    opacity: 1;
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes loaderDotPulse {
  0%, 100% {
    opacity: .34;
    transform: translateY(0) scale(.82);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px) scale(1.08);
  }
}

@keyframes siteEnterAfterLoad {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .page-loader__logo {
    width: 68px;
    height: 68px;
  }

  .page-loader__mark {
    width: 96px;
    height: 96px;
  }

  .page-loader__inner {
    gap: 20px;
  }

  .page-loader__meta {
    font-size: .68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader::before,
  .page-loader__logo,
  .page-loader__mark::before,
  .page-loader__mark::after,
  .page-loader__mark span {
    animation: none !important;
  }
}


/* ==================================================
   FIX HERO VIDEO MOBILE — LOOP SEM PAUSA VISÍVEL
   ================================================== */
.hero-video {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero video::-webkit-media-controls,
.hero video::-webkit-media-controls-panel,
.hero video::-webkit-media-controls-play-button,
.hero video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .hero-video {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}


@media (max-width: 560px) {
  .choice-options--sizes {
    grid-template-columns: 1fr;
  }

  .choice-chip--size {
    min-height: 54px;
  }
}
