:root {
  --bg: #08090d;
  --bg-2: #0d1016;
  --card: #13161d;
  --text: #f4f6f8;
  --muted: #c5cbd4;
  --soft: #9aa3b0;
  --line: rgba(255, 255, 255, 0.1);
  --red: #e10600;
  --red-2: #ff3b30;
  --red-soft: #ff5c61;
  --wa: #148746;
  --wa-2: #1ea355;
  --max: 1180px;
  --header: 72px;
  --dock-space: calc(92px + env(safe-area-inset-bottom));
  --font: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 10px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(225, 6, 0, 0.14), transparent 55%),
    radial-gradient(800px 420px at -10% 12%, rgba(36, 64, 120, 0.28), transparent 50%),
    var(--bg);
  padding-bottom: var(--dock-space);
}

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

button, input { font: inherit; color: inherit; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

a { color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: #fff;
  color: #111;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
}

.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.section { padding-block: 4.25rem; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--red-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  flex: none;
}

h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.9rem, 4.4vw, 3.15rem);
  max-width: 16ch;
}

.lead {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 42rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  border-top: 2px solid var(--red);
  background: #090b10;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header.is-scrolled {
  background: #090b10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand__mark { width: 36px; height: 36px; flex: none; }

.brand__name {
  display: block;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  line-height: 1;
}

.brand__name span { letter-spacing: 0.16em; }

.brand__sub {
  display: block;
  margin-top: 0.28rem;
  color: var(--red-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-toggle,
.nav-close,
.lightbox__close,
.lightbox__nav,
.map-link {
  cursor: pointer;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: inline-grid;
  place-items: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  border-radius: 2px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 2;
  border: 0;
  background: rgba(0, 0, 0, 0.58);
}

.nav-panel {
  position: fixed;
  top: var(--header);
  right: 0;
  z-index: 3;
  width: min(420px, 100%);
  height: calc(100dvh - var(--header));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem 1.5rem;
  background: #0c0e13;
  border-left: 1px solid var(--line);
  transform: translateX(104%);
  visibility: hidden;
  pointer-events: none;
  overflow: auto;
  transition: transform 0.28s ease;
}

.nav-panel.is-open {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}

.nav-close {
  align-self: flex-end;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 700;
}

.nav-list {
  display: flex;
  flex-direction: column;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  font-size: 1.28rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-list a.is-active { color: var(--red-soft); }

.nav-panel .btn { margin-top: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(225, 6, 0, 0.28);
}

.btn--wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 135, 70, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.btn--lg { min-height: 56px; padding-inline: 1.3rem; font-size: 1.05rem; }

.btn[aria-disabled="true"] {
  opacity: 0.72;
  cursor: default;
  border-style: dashed;
}

.icon { width: 22px; height: 22px; display: block; }

.hero { padding-top: 1.25rem; }

.hero-grid { display: flex; flex-direction: column; gap: 1.35rem; }

.hero-media {
  order: -1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #101218;
  box-shadow: var(--shadow);
}

.hero-media .anim-stage {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 62%;
}

.hero-kicker {
  color: #d7dbe3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 0.7rem;
  font-size: clamp(2.55rem, 10vw, 4.7rem);
  max-width: 10ch;
}

.hero h1 .accent { display: block; color: var(--red-2); }

.hero .lead { margin-top: 0.95rem; }

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.actions .btn { width: 100%; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.15rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #d7dce4;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-points svg { width: 18px; height: 18px; color: var(--red-2); flex: none; }

.band { background: rgba(8, 10, 14, 0.72); }

.services-layout,
.about-layout,
.gallery-layout,
.contact-grid { display: grid; gap: 1.5rem; }

.service-grid {
  display: grid;
  gap: 0.8rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  min-height: 100%;
}

.service-card__photo,
.service-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-card__photo { margin: 0; pointer-events: none; }

.service-card__photo img { object-fit: cover; }

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(10, 12, 16, 0.8), rgba(8, 10, 14, 0.93));
}

.service-card__body {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1.05rem 1.15rem;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--red-2);
  background: rgba(225, 6, 0, 0.14);
}

.service-card__index {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }

.service-card p { color: var(--muted); font-size: 0.98rem; }

#servicos-grid.is-highlighted,
#galeria-grid.is-targeted {
  outline: 2px solid var(--red-2);
  outline-offset: 6px;
  border-radius: 18px;
}

.about-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #101218;
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.diffs { display: grid; gap: 0.85rem; }

.diffs li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.2rem;
}

.diffs h3 { font-size: 1.02rem; letter-spacing: -0.02em; }
.diffs p { color: var(--muted); font-size: 0.96rem; margin-top: 0.15rem; }

.gallery-copy .lead { margin-bottom: 1rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #101218;
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  height: auto;
}

.shot::after {
  content: "";
  position: absolute;
  inset: auto 0.7rem 0.7rem auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M16 16l4 4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.demo-note {
  margin: 0.8rem 0 1rem;
  color: var(--soft);
  font-size: 0.95rem;
}

.quotes {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
  scrollbar-color: #2c313b transparent;
}

.quote {
  flex: 0 0 min(88%, 380px);
  scroll-snap-align: start;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
}

.quote--empty { color: var(--muted); }

.quote__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: #1b2029;
  border: 1px solid var(--line);
  font-weight: 800;
}

.quote h3 { font-size: 1.05rem; letter-spacing: -0.02em; }

.badge {
  display: inline-flex;
  margin-top: 0.3rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background: rgba(225, 6, 0, 0.16);
  color: #ffd2d2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stars {
  margin: 0.75rem 0 0.45rem;
  color: #e7c36a;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.quote blockquote { margin: 0; }
.quote blockquote p { color: #e7ebf0; font-size: 1rem; }

.facts { display: grid; gap: 0.9rem; margin-top: 1.25rem; }

.facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.facts__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--red-2);
  background: rgba(225, 6, 0, 0.12);
}

.facts__icon svg { width: 20px; height: 20px; }

.facts__label {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts a { font-weight: 800; text-decoration: none; }
.facts a:hover { text-decoration: underline; }

.facts__hint { color: var(--soft); font-size: 0.92rem; margin-top: 0.15rem; }

.pending-flag {
  display: inline-flex;
  margin-left: 0.35rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #d7dbe3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.map-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.map-slot { min-height: 280px; height: 100%; }

.map-placeholder {
  min-height: 280px;
  height: 100%;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.4rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #10131a;
  background-size: 28px 28px, 28px 28px, auto;
}

.map-placeholder svg { width: 34px; height: 34px; color: var(--red-2); }
.map-placeholder__note { color: var(--soft); max-width: 28ch; }

.map-frame {
  width: 100%;
  min-height: 280px;
  height: 100%;
  border: 0;
  border-radius: 18px;
  background: #10131a;
}

.contact-actions { margin-top: 1.25rem; }
.contact-actions .btn { width: 100%; }

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

.final-cta__media { position: absolute; inset: 0; z-index: -2; }

.final-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.35), rgba(5, 6, 10, 0.88));
}

.final-cta__content {
  padding-block: 3rem 3.4rem;
  max-width: 38rem;
}

.final-cta h2 { max-width: 12ch; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.final-cta .lead { color: #e6e9ee; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45); }
.final-cta .btn { margin-top: 1.2rem; }

.footer {
  padding: 2.4rem 0 1.2rem;
  border-top: 1px solid var(--line);
  background: #07080b;
}

.footer-grid { display: grid; gap: 1.5rem; }

.footer .brand__sub { margin-bottom: 0.75rem; }

.footer-tagline { color: var(--muted); max-width: 28ch; }

.footer-phone {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.socials { display: flex; gap: 0.55rem; align-items: center; }

.social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}

.social svg { width: 18px; height: 18px; }

.social--idle { color: var(--soft); cursor: default; }

.legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.wa-float {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(var(--dock-space) + 12px);
  z-index: 46;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

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

.dock {
  position: fixed;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 16, 0.94);
  backdrop-filter: blur(16px);
}

.dock a {
  min-height: 52px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  text-decoration: none;
  color: #d5dae2;
  font-size: 0.78rem;
  font-weight: 800;
}

.dock svg { width: 18px; height: 18px; }

.dock__wa { background: var(--wa); color: #fff !important; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox__dialog {
  position: relative;
  width: min(1080px, 100%);
  margin: 0;
}

.lightbox__img {
  width: 100%;
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  background: #000;
  border-radius: 12px;
  height: auto;
}

.lightbox__caption {
  margin-top: 0.7rem;
  text-align: center;
  color: #e8ebf0;
  font-size: 0.95rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  display: grid;
  place-items: center;
}

.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 8px; top: 42%; }
.lightbox__next { right: 8px; top: 42%; }
.lightbox__nav svg,
.lightbox__close svg { width: 20px; height: 20px; }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible { opacity: 1; transform: none; }

body.nav-open,
body.lightbox-open { overflow: hidden; }

body.nav-open .dock,
body.nav-open .wa-float,
body.lightbox-open .dock,
body.lightbox-open .wa-float {
  visibility: hidden;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn--red:hover { background: #ff2a24; transform: translateY(-1px); }
  .btn--wa:hover { background: var(--wa-2); transform: translateY(-1px); }
  .btn--ghost:hover { border-color: rgba(255, 90, 90, 0.7); transform: translateY(-1px); }
  .service-card:hover { border-color: rgba(225, 6, 0, 0.55); transform: translateY(-3px); }
  .service-card:hover::after { background: linear-gradient(165deg, rgba(10, 12, 16, 0.62), rgba(8, 10, 14, 0.86)); }
  .shot img { transition: transform 0.45s ease; }
  .shot:hover img { transform: scale(1.04); }
  .footer-links a:hover,
  .nav-list a:hover { color: #fff; }
  .social:hover { border-color: rgba(255, 255, 255, 0.35); }
  .social--idle:hover { border-color: var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Animação controlada (hero + bloco final) ===== */
.hero-media { perspective: 1200px; }

.anim-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 848 / 478;
  overflow: hidden;
  background: #08090d;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.35s ease-out;
  will-change: transform;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.anim-stage__canvas,
.anim-stage__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 62%;
}

.anim-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 60%);
}

.final-cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
