/* =========================================================
   KEVYN BORGES — Portfólio audiovisual
   Mobile-first. Cores e fontes centralizadas em :root.
   ========================================================= */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-standard-normal.woff2') format('woff2-variations'),
       url('../fonts/archivo-latin-standard-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Paleta — troque aqui para mudar o site inteiro */
  --bg: #0B0D13;
  --bg-2: #11141C;
  --bg-3: #181C26;
  --text: #F5F7FB;
  --muted: #A1A1AA;
  --line: rgba(245, 247, 251, 0.1);
  --line-strong: rgba(245, 247, 251, 0.22);
  --accent: #FF0000;     /* identidade principal (vermelho) */
  --highlight: #FF6A00;  /* destaques estratégicos (laranja) */
  --on-highlight: #0B0D13;

  --font-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 1rem;
  --container: 80rem;
  --header-h: 3.75rem;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--text); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.5rem; left: 0.5rem; z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--highlight); color: var(--on-highlight);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hide-sm { display: none; }

/* ---------- Botões ---------- */
.btn {
  --btn-pad: 0.85rem 1.35rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px;
  padding: var(--btn-pad);
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--highlight); color: var(--on-highlight); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--text);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn-primary:hover::after { transform: translateY(0); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(245, 247, 251, 0.06); }
.btn-lg { --btn-pad: 1rem 1.6rem; font-size: 1rem; }
.btn-icon { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 13, 19, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; min-height: 44px; }
.brand-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent); flex: none; }
.brand-name { font-weight: 800; font-stretch: 115%; letter-spacing: 0.06em; font-size: 0.95rem; }

.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; position: relative; z-index: 2; }
.menu-toggle-bars, .menu-toggle-bars::before {
  display: block; width: 22px; height: 2px; background: var(--text);
  transition: transform 0.4s var(--ease);
}
.menu-toggle-bars { position: relative; transform: translateY(-4px); }
.menu-toggle-bars::before { content: ''; position: absolute; top: 8px; left: 0; }
.menu-toggle[aria-expanded='true'] .menu-toggle-bars { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle-bars::before { transform: translateY(-8px) rotate(-90deg); }

.site-nav {
  position: fixed; inset: 0;
  background: var(--bg);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  visibility: hidden; opacity: 0;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transition: opacity 0.4s var(--ease); }
.site-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }
.site-nav a {
  display: block; padding: 0.5rem 0;
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 700; font-stretch: 110%;
  text-decoration: none; letter-spacing: -0.01em;
}
.site-nav a:hover { color: var(--highlight); }
.site-nav .nav-cta { color: var(--highlight); }
body.menu-open { overflow: hidden; }

/* ---------- Seções ---------- */
.section { padding-block: 5rem; border-top: 1px solid var(--line); position: relative; }
.section::before {
  /* régua de timeline discreta entre seções */
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 8px;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 40px);
  opacity: 0.5; pointer-events: none;
}
.section-head { margin-bottom: 2.5rem; }
.eyebrow { color: var(--muted); display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.eyebrow span { color: var(--accent); }
.eyebrow span::after { content: ''; display: inline-block; width: 1.5rem; height: 1px; background: currentColor; vertical-align: middle; margin-left: 0.75rem; }
h2 {
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 800; font-stretch: 108%;
  line-height: 1; letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 4rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  color: var(--muted);
  padding-bottom: 1rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.rec { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--text); }
.rec-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0.2; } }
.timecode { margin-left: auto; color: var(--text); font-variant-numeric: tabular-nums; }

.hero-title {
  font-size: clamp(2.4rem, 10.4vw, 9.5rem);
  font-weight: 800; font-stretch: 118%;
  line-height: 0.92; letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .line-inner { display: block; }
.hero-title .amp { color: var(--accent); font-weight: 300; font-stretch: 100%; }

.hero-bottom { display: grid; gap: 1.5rem; margin-top: 1.75rem; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 30ch; }
.hero-sub::first-line { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.showreel { margin-top: 3rem; }
.showreel-play, .showreel-frame {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.showreel-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; opacity: 0.9; }
.showreel-play:hover img { transform: scale(1.03); opacity: 1; }
.showreel-frame iframe, .showreel-frame video { width: 100%; height: 100%; border: 0; }
.showreel-label { position: absolute; left: 1rem; bottom: 0.9rem; color: var(--text); }
.showreel-note {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  padding: 0.5rem 0.9rem; border-radius: 999px;
  background: rgba(11, 13, 19, 0.85); color: var(--text);
  font-size: 0.85rem; white-space: nowrap;
}

.play-icon {
  position: absolute; left: 50%; top: 50%;
  width: clamp(3.5rem, 9vw, 6rem); aspect-ratio: 1;
  translate: -50% -50%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--highlight);
  transition: scale 0.5s var(--ease);
}
.play-icon svg { width: 38%; fill: var(--on-highlight); translate: 6% 0; }
.showreel-play:hover .play-icon, .showreel-play:focus-visible .play-icon { scale: 1.1; }

/* cantos de visor de câmera */
.viewfinder { position: absolute; inset: 0.75rem; pointer-events: none; }
.viewfinder i { position: absolute; width: 1.25rem; height: 1.25rem; border: 0 solid rgba(245, 247, 251, 0.7); }
.viewfinder i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- Portfólio ---------- */
.filters {
  display: flex; gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  padding-bottom: 0.25rem;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none;
  min-height: 44px; padding: 0.55rem 1.1rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.9rem; color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 1.5rem 0.75rem;
  align-items: start;
}
.card { grid-column: span 1; }
.card--horizontal { grid-column: span 2; }
.card.is-entering { animation: card-in 0.6s var(--ease) both; animation-delay: var(--delay, 0s); }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } }

.card-btn { display: block; width: 100%; text-align: left; border-radius: var(--radius); }
.card-media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-3);
  aspect-ratio: 16 / 9;
}
.card--vertical .card-media { aspect-ratio: 9 / 16; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.6s var(--ease); }
.card-media::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(11, 13, 19, 0.35);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.card-play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 3.25rem; aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--highlight);
  opacity: 0; scale: 0.7;
  transition: opacity 0.4s var(--ease), scale 0.5s var(--ease);
}
.card-play svg { width: 40%; fill: var(--on-highlight); translate: 6% 0; }
.card-format {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 1;
  padding: 0.2rem 0.45rem; border-radius: 2px;
  background: rgba(11, 13, 19, 0.75); color: var(--text);
  font-size: 0.65rem;
}
.card-badge {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 1;
  padding: 0.2rem 0.45rem; border-radius: 2px;
  background: var(--highlight); color: var(--on-highlight);
  font-size: 0.65rem; font-weight: 500;
}
.card-btn:hover .card-media img, .card-btn:focus-visible .card-media img { transform: scale(1.05); }
.card-btn:hover .card-media::after, .card-btn:focus-visible .card-media::after { opacity: 1; }
.card-btn:hover .card-play, .card-btn:focus-visible .card-play { opacity: 1; scale: 1; }
@media (hover: none) { .card-play { opacity: 1; scale: 0.85; } }

.card-info { padding-top: 0.8rem; display: grid; gap: 0.2rem; }
.card-title { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card-cat { color: var(--muted); font-size: 0.7rem; }
.card-cat::before { content: ''; display: inline-block; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); margin-right: 0.45rem; vertical-align: 0.1em; }
.grid-empty { grid-column: 1 / -1; color: var(--muted); padding: 2rem 0; }
.noscript { color: var(--muted); }

/* ---------- Serviços ---------- */
.service-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service {
  position: relative;
  background: var(--bg);
  padding: 2rem 1.5rem 2.25rem;
  transition: background-color 0.5s var(--ease);
}
.service::before {
  content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.service:hover { background: var(--bg-2); }
.service:hover::before { transform: scaleX(1); }
.service-num { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--muted); }
.service-icon {
  width: 2.25rem; height: 2.25rem; margin-bottom: 2.5rem;
  fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round;
  transition: stroke 0.4s, transform 0.6s var(--ease);
}
.service:hover .service-icon { stroke: var(--highlight); transform: translateY(-4px); }
.service h3 { font-size: 1.5rem; font-weight: 700; font-stretch: 108%; line-height: 1.15; margin-bottom: 0.75rem; }
.service p { color: var(--muted); max-width: 42ch; }

/* ---------- Sobre ---------- */
.about-inner { display: grid; gap: 2.5rem; }
.about-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); max-width: 28rem; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.prose { display: grid; gap: 1.1rem; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.prose strong { color: var(--text); font-weight: 600; }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem; border-top: 1px solid var(--line);
}
.facts div { padding: 1.1rem 0.75rem 0 0; }
.facts div + div { padding-left: 0.75rem; border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.65rem; margin-bottom: 0.35rem; }
.facts dd { font-size: clamp(1.15rem, 4.5vw, 1.75rem); font-weight: 700; font-stretch: 110%; line-height: 1.1; }

/* ---------- Depoimentos ---------- */
.testimonial-list { display: grid; gap: 1rem; }
.testimonial figure {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.4s var(--ease);
}
.testimonial figure:hover { border-color: var(--line-strong); }
.testimonial blockquote { position: relative; padding-top: 2.25rem; }
.testimonial blockquote::before {
  content: '\201C'; position: absolute; top: -0.6rem; left: -0.1rem;
  font-size: 4.5rem; line-height: 1; font-weight: 800; color: var(--accent);
}
.testimonial blockquote p { font-size: 1.1rem; line-height: 1.55; }
.testimonial figcaption { display: grid; gap: 0.2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.testimonial-name { font-weight: 600; }
.testimonial-role { color: var(--muted); font-size: 0.7rem; }
.testimonial .card-badge { top: 1rem; left: auto; right: 1rem; }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; gap: 1rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0;
  font-size: 1.15rem; font-weight: 600;
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; flex: none;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-family: var(--font-mono); font-weight: 400; font-size: 1rem;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--highlight); color: var(--on-highlight); border-color: var(--highlight); }
.faq-list summary:hover { color: var(--highlight); }
.faq-list details p { color: var(--muted); padding: 0 0 1.5rem; max-width: 60ch; }
.faq-list details[open] p { animation: faq-in 0.45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contato ---------- */
.contact { padding-block: 6rem; }
.contact-title {
  font-size: clamp(2.3rem, 9.8vw, 9rem);
  font-weight: 800; font-stretch: 118%;
  line-height: 0.88; letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.contact-title .q { color: var(--accent); }
.contact-sub { color: var(--muted); font-size: 1.1rem; max-width: 40ch; margin-bottom: 2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.social-list, .footer-social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.social-list a, .footer-social a {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px;
  text-decoration: none; color: var(--muted);
  font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  transition: color 0.3s;
}
.social-list a::after, .footer-social a::after { content: '↗'; transition: transform 0.35s var(--ease); }
.social-list a:hover, .footer-social a:hover { color: var(--text); }
.social-list a:hover::after, .footer-social a:hover::after { transform: translate(2px, -2px); }

.page-404 { border-top: 0; min-height: 100svh; display: grid; align-items: center; }
.page-404::before { display: none; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; }
.footer-inner { display: grid; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.footer-role { color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-nav a { display: inline-block; padding: 0.6rem 0; text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.copyright { color: var(--muted); text-transform: none; letter-spacing: 0.02em; }

/* ---------- Player (modal) ---------- */
.player {
  padding: 0; border: 0; background: transparent; color: var(--text);
  max-width: 100vw; max-height: 100svh;
  margin: auto;
  overflow: visible;
}
.player::backdrop { background: rgba(5, 6, 10, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player[open] { animation: player-in 0.5s var(--ease); }
.player[open]::backdrop { animation: fade-in 0.4s var(--ease); }
.player.is-closing { animation: player-out 0.3s var(--ease) forwards; }
.player.is-closing::backdrop { animation: fade-out 0.3s var(--ease) forwards; }
@keyframes player-in { from { opacity: 0; transform: translateY(20px) scale(0.97); } }
@keyframes player-out { to { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.player-inner { width: min(68rem, calc(100vw - 2rem)); }
.player-inner.is-vertical { width: min(calc(min(72svh, 56rem) * 9 / 16), calc(100vw - 2rem)); }
.player-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 0.85rem; }
.player-cat { color: var(--muted); margin-bottom: 0.2rem; }
.player-title { font-size: clamp(1.1rem, 3vw, 1.5rem); font-stretch: 105%; line-height: 1.2; letter-spacing: -0.01em; }
.player-close {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: background-color 0.3s, transform 0.4s var(--ease);
}
.player-close svg { width: 18px; stroke: var(--text); stroke-width: 2; fill: none; }
.player-close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.player-stage {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--radius); overflow: hidden;
}
.is-vertical .player-stage { aspect-ratio: 9 / 16; }
.player-stage iframe, .player-stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-empty {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 0.6rem;
  text-align: center; padding: 1.5rem; color: var(--muted);
  background: var(--bg-2);
}
.player-empty strong { color: var(--text); font-size: 1.1rem; }
.player-desc { color: var(--muted); margin-top: 0.85rem; font-size: 0.95rem; max-width: 60ch; }

/* ---------- Animações de entrada (só com JS ativo) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero-title .line-inner { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hero-title .line:nth-child(3) .line-inner { transition-delay: 0.12s; }
.js.is-loaded .hero-title .line-inner { transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 40em) {
  :root { --gutter: 1.5rem; }
  .hide-sm { display: inline; }
  .grid { gap: 2rem 1rem; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 2.25rem 1.75rem 2.75rem; }
  .testimonial-list { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; }
}

@media (min-width: 56em) {
  :root { --gutter: 2rem; --header-h: 4.5rem; }
  .menu-toggle { display: none; }
  .site-nav {
    position: static; padding: 0; background: none;
    visibility: visible; opacity: 1; transition: none;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: 2rem; }
  .site-nav a { font-size: 0.9rem; font-weight: 500; font-stretch: 100%; padding: 0.5rem 0; position: relative; letter-spacing: 0; }
  .site-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0.3rem; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: right;
    transition: transform 0.45s var(--ease);
  }
  .site-nav a:not(.nav-cta):hover { color: var(--text); }
  .site-nav a:not(.nav-cta):hover::after, .site-nav a[aria-current='true']::after { transform: scaleX(1); transform-origin: left; }
  .site-nav .nav-cta {
    padding: 0.55rem 1.1rem; border: 1px solid var(--highlight); border-radius: 999px;
    transition: background-color 0.3s, color 0.3s;
  }
  .site-nav .nav-cta:hover { background: var(--highlight); color: var(--on-highlight); }

  .section { padding-block: 8rem; }
  .section-head { margin-bottom: 3.5rem; }
  .hero { padding-top: calc(var(--header-h) + 3.5rem); padding-bottom: 6rem; }
  .hero-bottom { grid-template-columns: 1fr auto; align-items: end; margin-top: 2.5rem; }
  .hero-sub { font-size: 1.25rem; }
  .showreel { margin-top: 4.5rem; }

  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.25rem; }
  .card--horizontal { grid-column: span 3; }
  .card-title { font-size: 1.1rem; }

  .about-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .about-photo { position: sticky; top: calc(var(--header-h) + 2rem); max-width: none; }

  .faq-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; }
  .faq-inner .section-head { margin-bottom: 0; }

  .contact { padding-block: 10rem; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; gap: 2rem; }
  .footer-nav { justify-content: flex-end; }
  .copyright { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line); }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .hero-title .line-inner { opacity: 1; transform: none; }
  .rec-dot { animation: none; }
}

/* ---------- Alto contraste forçado (Windows) ---------- */
@media (forced-colors: active) {
  .btn, .filter, .player-close { border: 1px solid ButtonText; }
  .play-icon, .card-play { forced-color-adjust: none; }
}
