/* ==========================================================================
   Intuition — Brand Studio
   Folha de estilo principal
   --------------------------------------------------------------------------
   01. Design tokens
   02. Base
   03. Primitivas de layout
   04. Botões e pills
   05. Cabeçalho e navegação
   06. Hero
   07. Faixa de marcas (marquee)
   08. Vantagens
   09. Serviços
   10. Portfólio + lightbox
   11. Método
   12. Time
   13. FAQ
   14. Contato
   15. Rodapé + voltar ao topo
   16. Animações de entrada e utilitários
   ========================================================================== */

/* 01. Design tokens ======================================================== */

:root {
  /* Cor — base */
  --ink-950: #05011a;
  --ink-900: #08032099;
  --ink-850: #0b0428;
  --ink-800: #120735;
  --ink-700: #1c0a43;

  /* Cor — marca */
  --rose-500: #ff2c5e;
  --rose-600: #ed294d;
  --crimson: #cd064f;
  --magenta: #ad007c;
  --plum: #591256;
  --wine: #a51f50;

  /* Cor — texto */
  --text: #f1f3f9;
  --text-soft: #c6c2d8;
  --text-muted: #8e88a8;

  /* Superfícies */
  --surface: rgb(255 255 255 / 4%);
  --surface-strong: rgb(255 255 255 / 7%);
  --line: rgb(255 255 255 / 10%);
  --line-strong: rgb(255 255 255 / 18%);

  /* Gradientes */
  --grad-brand: linear-gradient(120deg, var(--rose-500), var(--magenta));
  --grad-text: linear-gradient(100deg, #ff5c7a 0%, #ff2c5e 40%, #c4189a 100%);
  --grad-surface: linear-gradient(160deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%));

  /* Tipografia */
  --font-display: "Google Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Google Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.18vw, 1.06rem);
  --step-1: clamp(1.1rem, 1.03rem + 0.35vw, 1.32rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.75vw, 1.85rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.5vw, 2.7rem);
  --step-4: clamp(2.1rem, 1.55rem + 2.7vw, 4.1rem);

  /* Espaço e forma */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 78rem;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 6px 20px rgb(2 0 12 / 35%);
  --shadow-md: 0 18px 50px rgb(2 0 12 / 45%);
  --shadow-glow: 0 12px 40px rgb(237 41 77 / 32%);

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;

  --header-h: 4.75rem;
  --focus: #ff5c7a;

  color-scheme: dark;
}

/* 02. Base ================================================================= */

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  overflow-x: hidden;
}

/* Aura de fundo fixa: dá profundidade sem custo de imagem */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 78% -10%, rgb(173 0 124 / 32%), transparent 65%),
    radial-gradient(50rem 38rem at 8% 12%, rgb(89 18 86 / 38%), transparent 62%),
    radial-gradient(70rem 50rem at 50% 108%, rgb(205 6 79 / 20%), transparent 60%);
}

/* Malha sutil por cima da aura */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 100%);
}

::selection {
  background: var(--rose-500);
  color: #fff;
}

/* 03. Primitivas de layout ================================================= */

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section__head {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-500);
}

.kicker::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section__head--center .kicker::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.title--hero {
  font-size: var(--step-4);
  font-weight: 800;
}

.lead {
  color: var(--text-soft);
  font-size: var(--step-1);
  line-height: 1.6;
  max-width: 46ch;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card {
  position: relative;
  background: var(--grad-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

/* Brilho que segue o cursor nos cards */
.card--interactive::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  background: radial-gradient(
    16rem 16rem at var(--mx, 50%) var(--my, 0%),
    rgb(255 44 94 / 16%),
    transparent 70%
  );
}

.card--interactive:hover::after,
.card--interactive:focus-within::after {
  opacity: 1;
}

/* 04. Botões e pills ======================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

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

.btn:active {
  transform: translateY(0);
}

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

.btn--primary:hover {
  box-shadow: 0 16px 46px rgb(255 44 94 / 45%);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface-strong);
  border-color: var(--rose-500);
}

.btn--block {
  width: 100%;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text-soft);
}

/* 05. Cabeçalho e navegação ================================================ */

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  translate: -50% -150%;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--rose-500);
  color: #fff;
  font-weight: 600;
  transition: translate 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  translate: -50% 0;
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  transform-origin: 0 50%;
  scale: var(--progress, 0) 1;
  background-image: var(--grad-brand);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out), backdrop-filter var(--dur);
}

/* Também opaco com o menu aberto, para o painel não vazar por trás da barra */
.header.is-stuck,
.header:has(.nav__menu.is-open) {
  background: rgb(5 1 26 / 72%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}


.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.045em;
}

.brand__logo {
  width: auto;
  height: 2.6rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.75rem);
}

.nav__link {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--dur) var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1.5px;
  background-image: var(--grad-brand);
  scale: 0 1;
  transform-origin: 0 50%;
  transition: scale var(--dur) var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="true"] {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  scale: 1 1;
}

.nav__cta {
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
}

.nav__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.nav__toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--text);
  transition: translate var(--dur) var(--ease-out),
    rotate var(--dur) var(--ease-out), opacity 0.15s linear;
}

.nav__toggle span + span {
  margin-top: 4px;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  translate: 0 5.5px;
  rotate: 45deg;
}

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

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  translate: 0 -5.5px;
  rotate: -45deg;
}

@media (max-width: 61.9375em) {
  .nav__toggle {
    display: grid;
  }

  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: rgb(5 1 26 / 96%);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    /* Abre com fade + deslize curto: nunca cobre a barra durante a transição */
    opacity: 0;
    translate: 0 -0.75rem;
    visibility: hidden;
    transition:
      opacity 0.3s var(--ease-out),
      translate 0.3s var(--ease-out),
      visibility 0.3s;
  }

  .nav__menu.is-open {
    opacity: 1;
    translate: 0 0;
    visibility: visible;
  }

  .nav__link {
    padding: 1rem 0;
    font-size: 1.1rem;
    font-family: var(--font-display);
    border-bottom: 1px solid var(--line);
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* 06. Hero ================================================================= */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: clip;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 62em) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hero__content {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--1);
  color: var(--text-muted);
}

.hero__note::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #37d67a;
  box-shadow: 0 0 0 4px rgb(55 214 122 / 18%);
  animation: pulse 2.4s ease-in-out infinite;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: 100%;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.stats__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats__label {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Composição visual do hero */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.12;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero__halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(205 6 79 / 45%), transparent 68%);
  filter: blur(28px);
  z-index: -1;
}

.hero__compass {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 108%;
  max-width: none;
  translate: -50% -50%;
  opacity: 0.75;
  animation: spin 34s linear infinite;
  z-index: -1;
}

.hero__ring {
  position: absolute;
  inset: 4%;
  border: 1px dashed rgb(255 255 255 / 14%);
  border-radius: 50%;
  animation: spin 60s linear infinite reverse;
  z-index: -1;
}

.hero__bust,
.hero__glow {
  grid-area: 1 / 1;
  width: min(78%, 22rem);
}

.hero__bust {
  filter: drop-shadow(0 30px 60px rgb(0 0 0 / 55%));
}

.hero__glow {
  opacity: 0;
  mix-blend-mode: screen;
  animation: flare 5s ease-in-out infinite;
  pointer-events: none;
}

/* 07. Faixa de marcas ====================================================== */

.marquee {
  position: relative;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-block: 1px solid var(--line);
  background: rgb(255 255 255 / 2%);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__caption {
  display: block;
  margin-bottom: 1.25rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 2rem);
  width: max-content;
  min-width: 100%;
}

/* Só anima depois que o JS duplica a lista — sem isso o loop daria salto */
.marquee__track.is-ready {
  animation: slide 38s linear infinite;
}

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

.brandmark {
  display: block;
  width: clamp(6.5rem, 11vw, 9rem);
  aspect-ratio: 1;
  background-image: url("../assets/cases/cases.png");
  background-repeat: no-repeat;
  /* Sprite 4×2: cada célula é 1/4 da largura e 1/2 da altura */
  background-size: 400% 200%;
  background-position: calc(var(--col) * 33.3333%) calc(var(--row) * 100%);
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease-out), scale var(--dur) var(--ease-out);
}

.brandmark:hover {
  opacity: 0.95;
  scale: 1.06;
}

/* 08. Vantagens ============================================================ */

.benefits {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.benefit {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.benefit:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.benefit__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--rose-500);
}

.benefit__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.benefit__text {
  color: var(--text-soft);
  font-size: var(--step--1);
  line-height: 1.7;
}

.benefit__proof {
  margin-top: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.benefits__aside {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 55em) {
  .benefits__aside {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.benefits__figure {
  justify-self: center;
  width: min(100%, 22rem);
  filter: drop-shadow(0 24px 48px rgb(205 6 79 / 30%));
}

/* 09. Serviços ============================================================= */

.services {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.service {
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.service:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.service__media {
  aspect-ratio: 1000 / 443;
  overflow: hidden;
  background: var(--ink-800);
}

.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.6s var(--ease-out);
}

.service:hover .service__media img {
  scale: 1.05;
}

.service__body {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
}

.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.service__pitch {
  color: var(--text-soft);
  font-size: var(--step--1);
  line-height: 1.65;
}

.service__list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.service__list li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.65rem;
  align-items: start;
  line-height: 1.5;
}

.service__list li::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background-image: var(--grad-brand);
}

/* 10. Portfólio ============================================================ */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.filter {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  transition: all var(--dur) var(--ease-out);
}

.filter:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.filter[aria-pressed="true"] {
  background-image: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}

.gallery {
  --row-unit: 22vw;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: var(--row-unit);
  grid-auto-flow: dense;
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

@media (min-width: 62em) {
  .gallery {
    --row-unit: 10.4vw;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 100em) {
  .gallery {
    --row-unit: 9.6rem;
  }
}

.shot {
  position: relative;
  grid-row: span 2;
  display: block;
  /* botões não esticam sozinhos em grid: forçamos o preenchimento da célula */
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--line);
  cursor: zoom-in;
  isolation: isolate;
  transition: border-color var(--dur) var(--ease-out);
}

.shot--tall {
  grid-row: span 4;
}

.shot--wide {
  grid-column: span 2;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.7s var(--ease-out), filter 0.5s var(--ease-out);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(5 1 26 / 92%) 0%, rgb(5 1 26 / 25%) 45%, transparent 75%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}

.shot__meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
  padding: clamp(0.85rem, 2vw, 1.25rem);
  translate: 0 0.75rem;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out), translate var(--dur) var(--ease-out);
}

.shot__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  letter-spacing: -0.02em;
}

.shot__kind {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-500);
}

.shot:hover,
.shot:focus-visible {
  border-color: var(--line-strong);
}

.shot:hover img,
.shot:focus-visible img {
  scale: 1.07;
}

.shot:hover::after,
.shot:focus-visible::after,
.shot:hover .shot__meta,
.shot:focus-visible .shot__meta {
  opacity: 1;
}

.shot:hover .shot__meta,
.shot:focus-visible .shot__meta {
  translate: 0 0;
}

.shot[hidden] {
  display: none;
}

/* Lightbox --------------------------------------------------------------- */

.lightbox {
  width: min(100% - 2rem, 62rem);
  margin: auto;
}

.lightbox::backdrop {
  background: rgb(3 0 14 / 88%);
  backdrop-filter: blur(6px);
}

.lightbox__inner {
  position: relative;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.lightbox img {
  max-height: 76svh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.lightbox__caption {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}

.lightbox__nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  transition: background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.icon-btn:hover {
  background: var(--surface-strong);
  border-color: var(--rose-500);
}

.icon-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgb(5 1 26 / 70%);
}

/* 11. Método =============================================================== */

.steps {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad-surface);
  counter-increment: step;
  transition: transform var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--rose-500);
}

.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.step__text {
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.6;
}

.method__banner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(28rem 18rem at 88% 20%, rgb(205 6 79 / 28%), transparent 70%),
    var(--grad-surface);
}

@media (min-width: 55em) {
  .method__banner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.method__banner h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.method__banner p {
  color: var(--text-soft);
  max-width: 48ch;
}

/* 12. Time ================================================================= */

.team {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  max-width: 52rem;
}

.member {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: transform var(--dur) var(--ease-out);
}

.member:hover {
  transform: translateY(-6px);
}

.member__photo {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  background: var(--ink-800);
}

.member__role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-500);
}

.member__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: -0.025em;
  margin-top: 0.35rem;
}

.member__name span {
  color: var(--text-muted);
  font-weight: 400;
}

.member__bio {
  font-size: var(--step--1);
  color: var(--text-soft);
  line-height: 1.65;
}

.member__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--text-soft);
  transition: all var(--dur) var(--ease-out);
}

.chip img,
.chip svg {
  width: 1rem;
  height: 1rem;
}

.chip img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.chip:hover {
  border-color: var(--rose-500);
  color: var(--text);
  background: var(--surface-strong);
}

/* 13. FAQ ================================================================== */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad-surface);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out);
}

.faq__item[open] {
  border-color: var(--line-strong);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1.1rem, 2.5vw, 1.75rem);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "";
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  border-right: 1.5px solid var(--rose-500);
  border-bottom: 1.5px solid var(--rose-500);
  rotate: 45deg;
  translate: 0 -0.15rem;
  transition: rotate var(--dur) var(--ease-out);
}

.faq__item[open] .faq__q::after {
  rotate: -135deg;
  translate: 0 0.15rem;
}

.faq__a {
  padding: 0 clamp(1.1rem, 2.5vw, 1.75rem) clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-soft);
  font-size: var(--step--1);
  line-height: 1.7;
  max-width: 62ch;
}

/* 14. Contato ============================================================== */

.contact {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (min-width: 62em) {
  .contact {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.contact__panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.channels {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all var(--dur) var(--ease-out);
}

.channel:hover {
  border-color: var(--rose-500);
  background: var(--surface-strong);
  transform: translateX(4px);
}

/* Deixa o e-mail longo quebrar em vez de estourar o card */
.channel > span:last-child {
  min-width: 0;
}

.channel__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background-image: var(--grad-brand);
}

.channel__icon img,
.channel__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  filter: brightness(0) invert(1);
}

.channel__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.channel__value {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

/* Formulário -------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 30em) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field > span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgb(5 1 26 / 55%);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--rose-500) 50%),
    linear-gradient(135deg, var(--rose-500) 50%, transparent 50%);
  background-position: right 1.15rem center, right 0.85rem center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.field select option {
  background: var(--ink-800);
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--rose-500);
  background: rgb(5 1 26 / 80%);
}

.field:has(:user-invalid) input,
.field:has(:user-invalid) textarea {
  border-color: #ff6b6b;
}

.form__hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form__status {
  min-height: 1.2rem;
  font-size: 0.82rem;
  color: var(--rose-500);
}

/* 15. Rodapé + voltar ao topo ============================================== */

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  background: rgb(5 1 26 / 60%);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__logo {
  width: 10rem;
  height: auto;
}

.footer__meta {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 0.5rem;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease-out);
}

.footer__social img {
  width: 1.1rem;
  height: 1.1rem;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.footer__social a:hover {
  border-color: var(--rose-500);
  background: var(--surface);
}

.footer__social a:hover img {
  opacity: 1;
}

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  opacity: 0;
  translate: 0 1rem;
  visibility: hidden;
  background: rgb(5 1 26 / 80%);
  backdrop-filter: blur(8px);
  transition: opacity var(--dur) var(--ease-out),
    translate var(--dur) var(--ease-out), visibility var(--dur);
}

.to-top.is-visible {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
}

/* 16. Animações e utilitários ============================================== */

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@keyframes flare {
  0%,
  55%,
  100% {
    opacity: 0;
  }
  25% {
    opacity: 0.95;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgb(55 214 122 / 18%);
  }
  50% {
    box-shadow: 0 0 0 8px rgb(55 214 122 / 5%);
  }
}

@keyframes slide {
  to {
    translate: -50% 0;
  }
}

/* Entrada por scroll */
.reveal {
  opacity: 0;
  translate: 0 1.75rem;
  transition:
    opacity 0.7s var(--ease-out),
    translate 0.7s var(--ease-out);
  transition-delay: calc(var(--delay, 0) * 70ms);
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    translate: none;
  }

  .marquee__track,
  .hero__compass,
  .hero__ring,
  .hero__glow {
    animation: none;
  }

  .hero__glow {
    opacity: 0.6;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}
