/* ============================================================
   PlayRec Studios — 2026
   ============================================================ */
:root {
  --bg: #0d0d10;
  --surface: #16161c;
  --surface-2: #1d1d25;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eceaee;
  --muted: #9b98a5;
  --accent: #e8743c;
  --accent-2: #58b15c;
  --accent-hover: #f08a55;
  --radius: 14px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h6 { font-size: 1.05rem; margin-bottom: 8px; }
p { color: var(--muted); margin-bottom: 16px; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---- Botões ---- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(232, 116, 60, .35); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: #fff; color: #111; }
.btn-ghost:hover { color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Header ---- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(13, 13, 16, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 54px; width: auto; }
.main-nav ul { display: flex; gap: 6px; list-style: none; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  border-radius: 99px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { background: var(--accent); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; border-radius: 2px; transition: .3s; }

/* ---- Hero (home) ---- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,16,.5) 0%, rgba(13,13,16,.22) 55%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding-top: 76px; }
.hero-text { display: none; }
.hero-text.is-active { display: block; animation: fadeUp 1s ease both; }
.hero-text h1 { margin-bottom: 12px; }
.hero-text p { font-size: 1.2rem; color: #d6d4dc; }
.hero-btn { margin-top: 28px; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 1.4rem; animation: bob 2s infinite; z-index: 2;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---- Page hero (páginas internas) ---- */
.page-hero {
  padding: 170px 0 80px;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(232,116,60,.18), transparent 60%),
    radial-gradient(600px 300px at 10% 10%, rgba(88,177,92,.10), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.page-hero p { font-size: 1.1rem; max-width: 640px; }

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-light { background: #f4f3f6; }
.section-title { margin-bottom: 48px; }

/* ---- Cards de serviços ---- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(232,116,60,.5); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.card-icon { font-size: 1.9rem; display: block; margin-bottom: 14px; }
.card p { margin: 0; font-size: .94rem; }

/* ---- Split (vídeo) ---- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.vcard { padding: 22px 0; border-bottom: 1px solid var(--line); }
.vcard:last-child { border-bottom: none; }
.vcard h6 { color: var(--accent); }
.vcard p { margin: 0; }
.split-media img { filter: drop-shadow(0 24px 48px rgba(0,0,0,.5)); }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  padding: 56px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { color: #fff; letter-spacing: .04em; }

/* ---- Portfólio ---- */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-head); font-size: .85rem; font-weight: 600;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 99px;
  padding: 9px 20px; cursor: pointer; transition: .2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--muted); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 6px;
}
.portfolio-item {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; border-radius: 8px;
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.portfolio-item:hover img { transform: scale(1.07); }
.portfolio-item figcaption {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, transparent 50%, rgba(13,13,16,.85));
  opacity: 0; transition: opacity .3s;
}
.portfolio-item:hover figcaption { opacity: 1; }
.portfolio-item figcaption span { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.portfolio-item.hidden { display: none; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 8, 10, .94);
  display: none; align-items: center; justify-content: center;
  padding: 4vmin;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 18px; right: 26px;
  background: none; border: none; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ---- Feature (estúdios / técnicas) ---- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start; padding: 48px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse .feature-media { order: 2; }
.feature-media > img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.feature-thumbs img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; transition: opacity .2s; }
.feature-thumbs img:hover { opacity: .8; }
.feature-text h6 { color: var(--accent); margin-top: 22px; }

/* ---- Clientes ---- */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client-logo {
  background: #fff; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 30px; min-height: 130px;
  transition: transform .25s, box-shadow .25s;
}
.client-logo:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.client-logo img { max-height: 70px; width: auto; object-fit: contain; }

/* ---- Equipe ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-align: center;
  padding-bottom: 22px;
  transition: transform .25s, border-color .25s;
}
.team-card:hover { transform: translateY(-5px); border-color: rgba(232,116,60,.5); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 16px; filter: grayscale(35%); transition: filter .3s; }
.team-card:hover img { filter: none; }
.team-card p { margin: 0; font-size: .88rem; color: var(--accent); }

/* ---- Contato ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info ul { list-style: none; margin: 24px 0; }
.contact-info li { margin-bottom: 20px; color: var(--muted); }
.contact-info strong { color: var(--text); font-family: var(--font-head); }
.map { width: 100%; height: 280px; border: none; border-radius: var(--radius); filter: grayscale(40%) invert(90%) hue-rotate(180deg); }

/* ---- Forms ---- */
.contact-form input, .contact-form textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 14px 16px;
  margin-bottom: 14px;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---- Footer ---- */
.site-footer { background: #0a0a0d; border-top: 1px solid var(--line); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.2fr; gap: 56px; padding-bottom: 64px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 20px; }
.footer-about p { font-size: .92rem; }
.site-footer h6 {
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text); margin-bottom: 20px;
}
.footer-contact ul { list-style: none; }
.footer-contact li { color: var(--muted); font-size: .92rem; margin-bottom: 12px; display: flex; gap: 10px; }
.footer-socials { display: flex; gap: 16px; margin-top: 22px; }
.footer-socials a {
  font-family: var(--font-head); font-size: .85rem; font-weight: 600;
  color: var(--muted); border: 1px solid var(--line);
  border-radius: 99px; padding: 8px 18px; transition: .2s;
}
.footer-socials a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: .82rem; text-align: center; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .5s; transform: none; }
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid, .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: rgba(13,13,16,.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 50px rgba(0,0,0,.6);
    transform: translateX(100%);
    transition: transform .3s ease;
    padding: 92px 18px 28px;
    display: flex; align-items: flex-start;
  }
  .main-nav.open { transform: none; }
  .main-nav ul {
    flex-direction: column; gap: 4px; width: 100%;
  }
  .main-nav a {
    font-size: 1.05rem; padding: 14px 18px;
    border-radius: 10px;
    background: rgba(255,255,255,.03);
  }
  .main-nav a:hover { background: rgba(255,255,255,.07); }
  .main-nav a.active { background: var(--accent); }
  body.nav-open { overflow: hidden; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .section { padding: 64px 0; }
  .page-hero { padding: 140px 0 56px; }
  .split, .feature, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse .feature-media { order: 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-band .container { justify-content: center; text-align: center; }
}
@media (max-width: 440px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

.rounded { border-radius: var(--radius); }

/* ---- Artistas (clientes) ---- */
.artists-row { display: flex; flex-wrap: wrap; gap: 14px; }
.artist-chip {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 99px; padding: 14px 30px;
  transition: transform .25s, border-color .25s, color .25s;
}
.artist-chip:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }

.team-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 920px; margin: 0 auto; }
@media (max-width: 768px) { .team-grid-3 { grid-template-columns: 1fr; } }

.client-logo img { filter: grayscale(100%); opacity: .75; transition: filter .3s, opacity .3s; }
.client-logo:hover img { filter: none; opacity: 1; }

/* ---- WhatsApp flutuante ---- */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, .6); }

/* ---- Card com bio ---- */
a.team-card { display: block; color: inherit; }
.bio-link { display: inline-block; margin-top: 10px; font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--accent); }

/* ---- Página História ---- */
.historia-assinatura { font-family: var(--font-head); font-size: 1.15rem; color: var(--text); margin: 28px 0; line-height: 1.5; }

/* ---- Figura com legenda ---- */
.figure-legenda figcaption { margin-top: 12px; font-family: var(--font-head); font-size: .85rem; color: var(--muted); text-align: center; font-style: italic; }

/* ---- Botão de idioma ---- */
.header-inner .main-nav { margin-left: auto; }
.lang-toggle {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; letter-spacing: .08em;
  color: var(--muted); border: 1px solid var(--line);
  border-radius: 99px; padding: 7px 15px; margin-left: 22px;
  transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 768px) {
  .lang-toggle { margin-left: auto; margin-right: 14px; }
}
