/* =========================================================
   Threex Incorporações — site estático
   Tokens de design + componentes. Mobile-first, sem !important.
   ========================================================= */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f4f6f9;
  --ink: #0a1623;
  --ink-2: #102a41;
  --text: #0d1b2a;
  --text-soft: #3f4856;
  --text-muted: #6b7280;
  --brand: #f7901e;
  --brand-strong: #e07d0a;
  --brand-deep: #c96a05;
  --brand-soft: #fff1e0;
  --brand-grad: linear-gradient(135deg, #ff9d2e 0%, #f26a0a 100%);
  --line: rgba(13, 27, 42, 0.1);
  --shadow-sm: 0 6px 18px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 22px 50px rgba(13, 27, 42, 0.12);
  --shadow-brand: 0 16px 34px rgba(242, 106, 10, 0.28);
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* Bloqueia o efeito elástico/arrasto ao puxar a página, sem virar container de scroll.
     IMPORTANTE: não usar overflow-x:hidden aqui (junto com o do body, trava a rolagem). */
  overscroll-behavior: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior: none;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto;
  }
}

/* Reveal ao rolar — só ativo com JS (.js-reveal), garantindo conteúdo visível sem JS. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  color: #fff;
  transition: background 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand-logo {
  display: grid;
  width: clamp(150px, 16vw, 200px);
}

.brand-logo img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  transition: opacity 200ms ease;
}

.logo-dark {
  opacity: 0;
}

.site-header.is-scrolled .logo-white {
  opacity: 0;
}

.site-header.is-scrolled .logo-dark {
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding-block: 4px;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 220ms ease;
}

.site-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 11px 22px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(247, 144, 30, 0.32);
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: var(--header-h);
  color: #fff;
  background:
    linear-gradient(102deg, rgba(8, 18, 30, 0.94) 0%, rgba(8, 18, 30, 0.6) 46%, rgba(8, 18, 30, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 18, 30, 0.7) 0%, rgba(8, 18, 30, 0) 40%),
    url("../img/EC_T01/01-R9_resultado.webp") center / cover no-repeat;
}

.hero-content {
  max-width: 720px;
}

.hero-content > * {
  animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > .eyebrow { animation-delay: 0.05s; }
.hero-content > h1 { animation-delay: 0.16s; }
.hero-content > .hero-text { animation-delay: 0.28s; }
.hero-content > .hero-actions { animation-delay: 0.4s; }

.hero .eyebrow {
  color: var(--brand);
}

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  font-weight: 800;
  margin-block: 0.5rem 1.2rem;
}

.hero-text {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

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

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background-image: radial-gradient(circle, #fff 0 3px, transparent 3px);
  background-repeat: no-repeat;
  background-position: center 7px;
  animation: scroll-cue 1.7s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%, 100% { background-position: center 7px; }
  50% { background-position: center 16px; }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.button-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(242, 106, 10, 0.36);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.button-ghost:hover {
  background: #fff;
  color: var(--text);
}

/* ---------- Section primitives ---------- */
.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section-muted {
  background: var(--surface-muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading.narrow {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 0.8rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.section-heading.narrow .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.section-heading p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ---------- Projetos ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.05);
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.tag-done {
  background: #1f9d55;
}

.tag-launch {
  background: var(--brand);
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.6rem;
  flex: 1;
}

.project-body h3 {
  font-size: 1.3rem;
}

.project-body p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 0.6rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-strong);
}

.project-link span[aria-hidden] {
  transition: transform 200ms ease;
}

.project-link:hover span[aria-hidden] {
  transform: translateX(4px);
}

/* ---------- Sobre ---------- */
.about-feature {
  margin: 0 auto 2.5rem;
  max-width: 960px;
}

.about-feature img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin-inline: auto;
}

.about-card figure {
  margin-bottom: 1.2rem;
}

.about-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* Mantém cabeças/topo visíveis em fotos em retrato (ex.: prêmio Band). */
  object-position: center top;
  border-radius: var(--radius-sm);
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--text-soft);
}

/* ---------- Números ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card dd {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-card strong {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
}

.stat-card span {
  color: var(--text-soft);
  font-weight: 500;
}

/* ---------- Serviços / features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* ---------- Depoimentos ---------- */
.reviews-container {
  max-width: 880px;
}

.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-track {
  flex: 1;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.review-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.8rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.review-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author cite {
  display: block;
  font-style: normal;
  font-weight: 700;
}

.review-author span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.reviews-control {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: background 180ms ease, color 180ms ease;
}

.reviews-control:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.8rem;
}

.reviews-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.reviews-dots button.is-active {
  background: var(--brand);
  transform: scale(1.2);
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.contact-copy p {
  color: var(--text-soft);
}

.lead-form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.lead-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(247, 144, 30, 0.18);
}

.form-button {
  justify-content: center;
  margin-top: 0.4rem;
}

.form-button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.is-success {
  color: #1f9d55;
}

.form-status.is-error {
  color: #d23b3b;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  width: 170px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-grid p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-grid nav a:hover {
  color: var(--brand);
}

.footer-grid address {
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-grid address a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
  transition: transform 200ms ease;
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
}

/* Onda/pulso contínuo ao redor do botão (igual à LP I.Studios). */
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  animation: whatsapp-pulse 1.8s ease-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes whatsapp-pulse {
  from {
    opacity: 0.6;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.9);
  }
}

/* ---------- Lightbox / Galeria (dialog) ---------- */
.lightbox {
  width: min(100% - 32px, 1180px);
  height: min(92vh, 860px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #0d1b2a;
  color: #fff;
  overflow: hidden;
}

.lightbox[open] {
  display: grid;
  grid-template-columns: 1fr clamp(108px, 12vw, 148px);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "bar bar"
    "stage thumbs";
}

.lightbox-bar {
  grid-area: bar;
}

.lightbox-stage {
  grid-area: stage;
}

.lightbox-thumbs {
  grid-area: thumbs;
}

.lightbox::backdrop {
  background: rgba(8, 14, 24, 0.9);
  backdrop-filter: blur(6px);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 14px 16px 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.lightbox-counter {
  margin-left: auto;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
}

.lightbox-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.lightbox-close:hover {
  background: var(--brand);
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 18px;
}

.lightbox-figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.lightbox-arrow:hover {
  background: var(--brand);
}

.lightbox-arrow-prev {
  left: 18px;
}

.lightbox-arrow-next {
  right: 18px;
}

.lightbox-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  /* Mantém o scroll dentro da tira — não vaza para a página. */
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.lightbox-thumbs button {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.lightbox-thumbs button:hover {
  opacity: 0.85;
}

.lightbox-thumbs button.is-active {
  opacity: 1;
  border-color: var(--brand);
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* ---------- Números (faixa escura premium) ---------- */
.stats-section {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 144, 30, 0.22), transparent 65%);
  pointer-events: none;
}

.stats-section .container {
  position: relative;
}

.stats-section .eyebrow {
  color: var(--brand);
}

.stats-section h2 {
  color: #fff;
}

.stats-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.stats-section .stat-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.stats-section .stat-card span {
  color: rgba(255, 255, 255, 0.72);
}

.stat-num {
  display: block;
  font-size: clamp(2.6rem, 5.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

/* ---------- Como investir (passos) ---------- */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 1.4rem;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand);
  margin-bottom: 0.6rem;
}

.step-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.step-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 1.3rem;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.faq-list details[open] {
  box-shadow: var(--shadow-sm);
  border-color: rgba(247, 144, 30, 0.4);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--brand);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 220ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 0 1.15rem;
  color: var(--text-soft);
}

/* ---------- Profundidade extra dos cards ---------- */
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 18, 30, 0.4));
  opacity: 0;
  transition: opacity 320ms ease;
}

.project-card:hover .project-media::after {
  opacity: 1;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 1rem 20px 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    color: var(--text);
    padding: 12px 4px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .hero {
    background-attachment: scroll;
  }

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

  .review-card {
    padding: 1.8rem;
  }

  .lead-form {
    padding: 1.5rem;
  }

  .lightbox {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .lightbox[open] {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "bar"
      "stage"
      "thumbs";
  }

  .lightbox-thumbs {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .lightbox-thumbs button {
    width: 72px;
    aspect-ratio: 4 / 3;
  }

  .lightbox-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .lightbox-arrow-prev {
    left: 8px;
  }

  .lightbox-arrow-next {
    right: 8px;
  }
}
