/* ---------- Galeria ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  padding: 12px 18px; border: 1px solid var(--line-2); border-radius: 100px; background: none; cursor: pointer;
  font: 600 11.5px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: all .3s;
}
.filter b { color: var(--dim); font-weight: 600; margin-left: 6px; }
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter[aria-pressed="true"] { background: var(--gold-grad); color: #120e04; border-color: transparent; }
.filter[aria-pressed="true"] b { color: rgba(18, 14, 4, .6); }
.collection { margin-bottom: 70px; }
.collection__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.collection__head h2 { margin: 0; font: 800 clamp(22px, 2.6vw, 32px)/1 var(--f-display); font-variation-settings: "wdth" 118; text-transform: uppercase; }
.collection__head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.collection__head span { font: 600 11px/1 var(--f-label); letter-spacing: .18em; color: var(--gold); white-space: nowrap; }
.masonry { columns: 3 300px; column-gap: 14px; }
.shot {
  break-inside: avoid; margin: 0 0 14px; padding: 0; border: 0; width: 100%;
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel); cursor: zoom-in; display: block;
}
.shot img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9); }
.shot:hover img { transform: scale(1.04); filter: saturate(1.05); }
.shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); border-radius: inherit; pointer-events: none; }
.empty {
  display: grid; place-items: center; text-align: center;
  padding: clamp(60px, 10vw, 120px) 24px;
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  background: var(--panel);
}
.empty img { width: 220px; opacity: .8; margin-bottom: 26px; }
.empty h2 { margin: 0 0 10px; font: 800 26px/1.1 var(--f-display); font-variation-settings: "wdth" 115; text-transform: uppercase; }
.empty p { margin: 0; color: var(--muted); max-width: 46ch; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: 70px 1fr 70px; align-items: center;
  background: rgba(3, 3, 4, .96);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; grid-column: 2; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: var(--radius); }
.lightbox figcaption { color: var(--muted); font-size: 14px; }
.lightbox button { background: none; border: 0; color: var(--text); cursor: pointer; font-size: 30px; height: 70px; }
.lightbox button:hover { color: var(--gold-2); }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 50px; }

/* ---------- Contato ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 50% 0%, rgba(201, 161, 59, .12), transparent 70%);
}
.contact__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.contact__title { margin: 0; font: 800 clamp(36px, 5.4vw, 70px)/.95 var(--f-display); font-variation-settings: "wdth" 120; text-transform: uppercase; }
.form {
  display: grid; gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.form label { display: grid; gap: 7px; font: 600 10.5px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 15px 16px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius);
  font: 400 16px/1.3 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--text);
  transition: border-color .3s;
}
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--gold); }
.form .btn { margin-top: 8px; width: 100%; }
.form__ok { display: none; margin: 4px 0 0; color: var(--gold-2); font-size: 15px; }
.form.sent .form__ok { display: block; }
.contact__alt { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact__alt a[hidden] { display: none; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; }
.footer__brand img { width: 230px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer h4 { margin: 0 0 16px; font: 600 11px/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer li, .footer p { margin: 0; color: var(--muted); font-size: 15px; }
.footer a:hover { color: var(--text); }
.footer__bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* ---------- Revelação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1300px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 1100px) {
  /* Corda no mobile: fina, colada na borda e acima das bolinhas flutuantes, sem invadir o conteúdo */
  .rope { right: 1px; width: 22px; top: calc(var(--nav-h) + 6px); bottom: 96px; }
  .rope__line { width: 1.5px; }
  .rope__fill { width: 2.6px; }
  .rope__clip { width: 24px; }
  .rope__label { display: none; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(2) { border-right: 0; }
  .why__item:nth-child(3) { padding-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .subs, .subs--2 { grid-template-columns: 1fr; }
  .also__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 440px; }
  .action__inner { grid-template-columns: 1fr; }
  .action__video { max-width: 320px; margin-inline: auto; }
  .article { grid-template-columns: 1fr; }
  .article__aside { position: static; }
  .toc { display: none; }
  .figures { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .page-hero__art { opacity: .18; width: 60vw; }
  .page-hero__photo { inset: 0; width: 100%; height: 100%; border-radius: 0; opacity: .28; box-shadow: none; mask: linear-gradient(transparent, #000 30%, #000 60%, transparent); -webkit-mask: linear-gradient(transparent, #000 30%, #000 60%, transparent); }
  .strip { grid-template-columns: 1fr 1fr; }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-left: var(--pad);
    min-height: 62svh;
    align-content: start;
    padding-top: calc(var(--nav-h) + 14px);
    padding-bottom: 42px;
  }
  .hero__inner { margin-inline: auto; margin-top: 7vh; }
  .hero__logo { margin-inline: auto; width: min(320px, 78vw); }
  .hero__title { margin: 8px 0 0; font-size: clamp(20px, 5.2vw, 26px); }
  .hero__hud { bottom: 12px; }
  .hero__wall { inset: 0; right: 0; width: 100%; gap: 8px; opacity: .55; }
  .hero__track { gap: 8px; }
  .hero__wall::after {
    background: radial-gradient(circle at center, rgba(6, 6, 7, .4) 0%, rgba(6, 6, 7, .82) 80%, var(--bg) 100%);
  }
}
@media (max-width: 560px) {
  .hero {
    min-height: 56svh;
    padding-top: calc(var(--nav-h) + 10px);
    padding-bottom: 34px;
  }
  .hero__inner { margin-top: 6vh; }
  .hero__logo { width: min(290px, 76vw); }
  .hero__title { margin: 6px 0 0; font-size: 21px; }
  .irata { padding: 36px 0 44px; }
  .also__list { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .brand img { width: 58px; }
  .brand span { font-size: 18px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item { padding: 28px 0 22px; border-right: 0; }
  .why__item:nth-child(n+2) { border-top: 1px solid var(--line); }
  .safety { grid-template-columns: 1fr; padding: 26px 22px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__hud span:first-child, .hero__hud span:last-child { display: none; }
  .hero__hud { justify-content: center; }
  .steps { padding-left: 54px; }
  .step::before { left: -54px; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .collection__head { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .rise, .hero__logo { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- IRATA ---------- */
.irata { padding: clamp(56px, 8vw, 100px) 0; text-align: center; }
.irata__inner { max-width: 860px; }
/* Mesmo tamanho e cor (branco) do texto de "Quem somos" (pedido do cliente) */
.irata .lead { margin: 22px auto 0; max-width: 62ch; font-size: clamp(18px, 1.7vw, 22px); color: var(--text); }

/* ---------- Quem somos ---------- */
.about__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.about__body .lead { margin-top: 0; font-size: clamp(18px, 1.7vw, 22px); color: var(--text); }
.about__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.about__tags li { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); font: 600 11.5px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
/* Primeira linha do texto alinhada com "Adsumus:" (pedido do cliente) */
@media (min-width: 861px) {
  .about__inner { align-items: start; }
  .about__body { padding-top: calc(34px + (clamp(34px, 5.6vw, 72px) * .98 - clamp(18px, 1.7vw, 22px) * 1.65) / 2); }
}
@media (max-width: 860px) { .about__inner { grid-template-columns: 1fr; } }

/* ---------- Trabalhe conosco ---------- */
.careers__list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.careers__list a { color: var(--gold-2); }
.careers__list a:hover { text-decoration: underline; }
.careers__send { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.careers__send .btn { margin-top: 0; width: 100%; padding: 0 14px; }
.form input[type="file"] { padding: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.form input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--panel-2); color: var(--text); font: 600 11px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.form__ok.is-error { color: #ff8a7a; }
.home-careers { margin-top: clamp(40px, 5vw, 60px); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 24px 28px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); }
.home-careers p { margin: 0; color: var(--muted); }
.home-careers b { color: var(--text); }
@media (max-width: 560px) { .careers__send { grid-template-columns: 1fr; } }
