/*
Theme Name: DuoBis
Theme URI: https://duobis.com
Author: DuoBis
Description: Tema oficial da DuoBis – banda de rock de São Paulo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: duobis
Tags: music, band, dark, one-page
*/

:root {
  --yellow: #f6c400;
  --yellow-deep: #b88900;
  --ink: #030303;
  --panel: #080808;
  --panel-soft: #101010;
  --cream: #eee6d5;
  --muted: #aaa79d;
  --line: rgba(246, 196, 0, 0.2);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "Montserrat", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 2% 42%, rgba(246, 196, 0, 0.25), transparent 12rem),
    radial-gradient(circle at 98% 70%, rgba(246, 196, 0, 0.18), transparent 15rem),
    #030303;
}

body::after {
  content: "";
  position: fixed;
  inset: -80px;
  z-index: 9999;
  pointer-events: none;
  background-image: url("assets/images/film-grain.png");
  background-size: 220px 220px;
  opacity: 0.34;
  mix-blend-mode: overlay;
  animation: film-grain 850ms steps(2) infinite;
}

@keyframes film-grain {
  0%   { transform: translate3d(0, 0, 0); }
  20%  { transform: translate3d(-22px, 16px, 0); }
  40%  { transform: translate3d(18px, -18px, 0); }
  60%  { transform: translate3d(-12px, -26px, 0); }
  80%  { transform: translate3d(26px, 10px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

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

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

/* ── Header ──────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(18px, 4vw, 52px);
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand img,
.brand .custom-logo {
  width: 154px;
  height: auto;
}

/* WordPress custom-logo-link reset */
.brand .custom-logo-link {
  display: block;
  line-height: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
}

.main-nav a,
.social-links a,
.site-footer a {
  font-size: 12px;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.social-links a:hover,
.site-footer a:hover {
  color: var(--yellow);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--yellow);
}

.social-links a,
.footer-social a {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.social-links img,
.footer-social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(246, 196, 0, 0.55);
  background: rgba(0, 0, 0, 0.72);
  color: var(--yellow);
  cursor: pointer;
}

.nav-toggle span {
  display: none;
  width: 20px;
  height: 2px;
  margin: 2px auto;
  background: currentColor;
  grid-column: 1;
}

.nav-toggle::before {
  content: "";
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
  grid-column: 1;
  grid-row: 1;
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 120px 18px 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: contrast(1.08) saturate(1.1);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(3, 3, 3, 0.86) 96%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 24%, transparent 78%, rgba(0, 0, 0, 0.32));
}

.hero-content {
  width: min(920px, 94vw);
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
  transform: translateY(clamp(76px, 13vh, 150px));
}

.hero-logo {
  width: min(820px, 95vw);
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.55));
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: -8px 0 10px;
  color: var(--yellow);
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: clamp(34px, 9vw, 92px);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

/* ── Buttons ─────────────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 56px;
  padding: 0 34px;
  border: 0;
  background: transparent url("assets/images/background-brush-button-transparent.png") center / 100% 100% no-repeat;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #070707;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-primary {
  box-shadow: none;
}

.btn-secondary {
  color: #050505;
}

.play-dot {
  position: relative;
  width: 18px;
  height: 18px;
  margin-left: 12px;
  border-radius: 50%;
  background: #060606;
}

.play-dot::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 7px;
  border-left: 6px solid var(--yellow);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  width: 24px;
  height: 24px;
  border-right: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  transform: rotate(45deg);
  animation: cue 1.5s infinite;
}

@keyframes cue {
  0%, 100% { opacity: 0.35; translate: 0 -4px; }
  50%       { opacity: 1;    translate: 0  4px; }
}

/* ── Section noise overlay ───────────────────────────── */

.section-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(246, 196, 0, 0.32) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.6px);
  background-size: 38px 38px, 61px 61px;
  opacity: 0.16;
  mix-blend-mode: screen;
}

.manifest,
.story,
.watch,
.gallery,
.cta {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Manifest / Sobre ────────────────────────────────── */

.manifest {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(520px, 1.9fr);
  align-items: stretch;
  gap: clamp(8px, 2vw, 28px);
  padding: 78px 0 78px max(7vw, 24px);
  background: linear-gradient(90deg, #050505 0 34%, rgba(0, 0, 0, 0.35));
  overflow: hidden;
}

.manifest-copy,
.story-copy,
.watch-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 13px;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.manifest h1,
.story h2,
.watch h2,
.cta h2 {
  margin: 0;
  color: var(--cream);
  font-family: "Bebas Neue", "Oswald", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(52px, 9vw, 120px);
  line-height: 0.93;
  text-transform: uppercase;
}

strong {
  color: var(--yellow);
  font-weight: inherit;
}

.slashes {
  display: inline-block;
  margin-top: 18px;
  color: var(--yellow);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 32px;
}

.band-silhouette {
  justify-self: stretch;
  align-self: stretch;
  min-height: 100%;
  margin: -78px 0;
}

.band-silhouette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.12);
}

/* ── Story / Nossa Base ──────────────────────────────── */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #050505;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.story-copy {
  display: grid;
  align-content: center;
  padding: clamp(38px, 7vw, 88px);
}

.story h2,
.watch h2,
.cta h2 {
  font-size: clamp(42px, 6.4vw, 86px);
}

.story p:not(.eyebrow),
.watch-copy p:not(.eyebrow),
.cta p {
  max-width: 560px;
  color: #e1ded4;
  font-size: 16px;
  line-height: 1.65;
}

.story .highlight {
  color: var(--yellow);
  font-weight: 950;
  text-transform: uppercase;
}

/* ── Roles / Formação ────────────────────────────────── */

.roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 18px 54px;
}

.roles article {
  min-height: 190px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 8px 28px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.roles article:last-child {
  border-right: 0;
}

.roles p {
  margin: 0;
  color: var(--yellow);
  font-size: 12px;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.roles h3 {
  margin: 0;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roles article > span {
  max-width: 190px;
  color: #d3cfc4;
  font-size: 14px;
  line-height: 1.35;
}

.role-icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
  color: var(--yellow);
}

/* ── Watch / Vídeos ──────────────────────────────────── */

.watch {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: 72px max(7vw, 24px);
  background:
    radial-gradient(circle at left center, rgba(246, 196, 0, 0.16), transparent 20rem),
    #050505;
  overflow: hidden;
}

.watch-copy .btn {
  margin-top: 22px;
}

.video-frame {
  position: relative;
  min-height: 330px;
  background: #111;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.video-frame img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.9) brightness(0.82);
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(64px, 8vw, 88px);
  aspect-ratio: 1;
  border: 3px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  transform: translate(-50%, -50%);
}

.video-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 22px 1fr 90px;
  align-items: center;
  gap: 12px;
}

.video-controls span {
  height: 4px;
  background: rgba(255, 255, 255, 0.82);
}

.video-controls span:first-child {
  width: 0;
  height: 0;
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  background: transparent;
}

.video-controls span:last-child {
  justify-self: end;
  width: 80px;
  background: rgba(255, 255, 255, 0.5);
}

/* ── Gallery ─────────────────────────────────────────── */

@media (min-width: 981px) {
  .nav-toggle {
    display: none;
  }
}

.gallery {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 34px max(6vw, 18px) 58px;
  background: #030303;
}

.gallery .section-label {
  width: min(var(--max), 100%);
}

.gallery-grid {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.1);
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-grid img:hover {
  transform: translateY(-3px);
  filter: saturate(1.2) contrast(1.16);
}

/* ── CTA / Contato ───────────────────────────────────── */

.cta {
  display: grid;
  grid-template-columns: 1fr 1.1fr 230px;
  gap: clamp(24px, 6vw, 90px);
  align-items: center;
  padding: 58px max(8vw, 24px);
  overflow: hidden;
  background:
    radial-gradient(circle at right center, rgba(246, 196, 0, 0.18), transparent 18rem),
    #060606;
}

.cta img {
  width: 230px;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.15) drop-shadow(0 0 34px rgba(246, 196, 0, 0.22));
}

/* ── Footer ──────────────────────────────────────────── */

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 42px;
  padding: 46px max(8vw, 24px) 28px;
  background: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img,
.footer-brand .custom-logo {
  width: 230px;
}

.footer-brand .custom-logo-link {
  display: block;
  line-height: 0;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--yellow);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer nav,
.site-footer address {
  display: grid;
  align-content: start;
  gap: 7px;
  font-style: normal;
}

.footer-social {
  display: flex;
  gap: 18px;
  color: var(--yellow);
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #777;
  text-align: center;
  font-size: 12px;
}

/* ── Responsive: Tablet (≤ 980px) ───────────────────── */

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 150px 1fr auto;
  }

  .nav-toggle {
    display: grid !important;
    position: fixed;
    top: 18px;
    right: 14px;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
    z-index: 30;
    background: var(--yellow);
    color: #050505;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(3, 3, 3, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

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

  .main-nav a {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .social-links {
    display: none;
  }

  .manifest,
  .story,
  .watch,
  .cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .story-image {
    order: 2;
  }

  .roles {
    grid-template-columns: repeat(2, 1fr);
  }

  .roles article:nth-child(2) {
    border-right: 0;
  }

  .roles article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .roles article:nth-child(n+3) {
    border-bottom: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img:first-child {
    grid-column: span 2;
  }

  .cta img {
    display: none;
  }
}

/* ── Responsive: Mobile (≤ 620px) ───────────────────── */

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img,
  .brand .custom-logo {
    width: 126px;
  }

  .hero {
    min-height: 760px;
    padding-top: 96px;
  }

  .hero-logo {
    width: min(76vw, 300px);
  }

  .hero-content {
    transform: translateY(98px);
  }

  .hero-bg {
    background-position: 52% center;
  }

  .manifest,
  .watch,
  .cta {
    padding-block: 48px;
  }

  .band-silhouette {
    margin: 0;
  }

  .manifest h1 {
    font-size: clamp(50px, 18vw, 82px);
  }

  .band-silhouette,
  .video-frame,
  .video-frame img {
    min-height: 250px;
  }

  .story-copy {
    padding-inline: 24px;
  }

  .roles {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .roles article,
  .roles article:nth-child(2),
  .roles article:nth-child(n+3) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .roles article:last-child {
    border-bottom: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img:first-child {
    grid-column: auto;
  }

  .site-footer {
    gap: 28px;
  }
}
