/* =========================================================
   RightR — site institucional (editorial dark)
   Identidade: brand/BRAND.md · refs estudadas: helloupdigital
   ========================================================= */

:root {
  --red: #F43B47;
  --red-dark: #D8313C;
  --indigo: #6048D8;
  --indigo-soft: #a99bf0;

  --bg: #08090C;
  --bg-2: #0D1014;
  --black: #050507;
  --panel: #12161B;
  --panel-2: #181E25;
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.16);

  --text: rgba(255,255,255,.72);
  --text-dim: rgba(255,255,255,.5);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-head: 'Raleway', system-ui, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: #fff; line-height: 1.04; font-weight: 800; letter-spacing: -0.015em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.accent { color: var(--red); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -0.01em; }

.mono-label { font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--red); margin-bottom: 22px; display: inline-block; }
.mono-label.small { font-size: .66rem; letter-spacing: .2em; margin-bottom: 12px; color: var(--text-dim); }
.mono-label.red { color: var(--red); }
.mono-label.indigo { color: var(--indigo-soft); }
.mono-label.light { color: rgba(255,255,255,.7); }

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

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-head); font-weight: 700; font-size: 1rem; padding: 15px 30px; border-radius: 999px; cursor: pointer; border: 2px solid transparent; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(244,59,71,.85); }
.btn-ghost { color: #fff; border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: .92rem; }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }

.link-arrow { font-family: var(--font-head); font-weight: 700; color: var(--red); display: inline-block; margin-top: 6px; transition: transform .2s var(--ease); }
.link-arrow:hover { transform: translateX(5px); }
.link-arrow.indigo { color: var(--indigo-soft); }
.link-arrow.light { color: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 22px 0; transition: background .3s var(--ease), padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(8,9,12,.82); backdrop-filter: blur(14px); padding: 13px 0; border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { height: 32px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav > a { font-family: var(--font-head); font-weight: 600; color: rgba(255,255,255,.82); font-size: .96rem; position: relative; transition: color .2s; }
.nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--red); transition: width .25s var(--ease); }
.nav > a:not(.nav-cta):hover { color: #fff; }
.nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; gap: 5px; justify-content: center; align-items: center; z-index: 110; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO — full-bleed photo, headline à esquerda
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: 0; background: url("../img/photo-studio.jpg") center/cover no-repeat; }
.hero-veil { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(8,9,12,.95) 0%, rgba(8,9,12,.82) 38%, rgba(8,9,12,.22) 70%, rgba(8,9,12,.55) 100%),
  linear-gradient(0deg, rgba(8,9,12,.9) 0%, transparent 35%); }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero-title { font-size: clamp(3rem, 8.5vw, 6.6rem); font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: -0.025em; line-height: .9; margin-bottom: 28px; }
.hero-title .serif { display: block; font-size: .56em; color: var(--red); margin-bottom: .08em; }
.hero-title .line { display: block; }
.hero-title .serif.accent { display: inline; font-size: 1em; }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: rgba(255,255,255,.86); max-width: 560px; margin-bottom: 38px; }
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { position: absolute; right: 0; bottom: 40px; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding-right: 28px; text-align: right; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; color: rgba(255,255,255,.4); }

/* =========================================================
   STATS BAND (vermelho, hierárquico)
   ========================================================= */
.stats-band { background: linear-gradient(100deg, var(--red) 0%, var(--red-dark) 100%); }
.stats-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; }
.stat { padding: 42px 32px; border-right: 1px solid rgba(255,255,255,.22); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; font-size: clamp(2rem,3vw,2.8rem); }
.stat-num small { font-size: .5em; font-weight: 700; }
.stat-lead .stat-num { font-size: clamp(2.6rem,5vw,4.4rem); }
.stat-label { font-size: .92rem; color: rgba(255,255,255,.85); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 120px 0; position: relative; }
.section-black { background: var(--black); }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; line-height: 1.02; }
.section-head h2 .serif { font-size: 1.1em; text-transform: none; }
.section-lead { margin-top: 20px; font-size: 1.08rem; color: var(--text-dim); max-width: 560px; }
.section-head.left .section-lead { margin-left: 0; }
.section-lead.light { color: rgba(255,255,255,.7); }

/* ---------- Produtos (linhas com foto) ---------- */
.prod-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; margin-bottom: 90px; }
.prod-row:last-child { margin-bottom: 0; }
.prod-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.prod-row.reverse .prod-media { order: 2; }
.prod-media { position: relative; }
.prod-img { aspect-ratio: 4/5; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.img-studio { background-image: url("../img/photo-portrait.jpg"); filter: grayscale(1) contrast(1.05); }
.img-wave { background: var(--panel) url("../img/dj-wave.png") center/72% no-repeat; }
.prod-index { position: absolute; top: -22px; left: -14px; font-family: var(--font-head); font-weight: 900; font-size: 5rem; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); line-height: 1; }
.prod-row.reverse .prod-index { left: auto; right: -14px; }
.prod-icon { width: 50px; height: 50px; margin-bottom: 18px; }
.prod-body h3 { font-size: clamp(1.7rem,3vw,2.4rem); text-transform: uppercase; margin-bottom: 18px; }
.prod-body > p { color: var(--text); margin-bottom: 22px; max-width: 460px; }
.ticks { margin-bottom: 24px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 11px; color: rgba(255,255,255,.8); font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--red); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks.indigo li::before { background: var(--indigo); }

/* ---------- Timeline (como funciona) ---------- */
.timeline { position: relative; max-width: 760px; margin-top: 10px; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--line-2), rgba(244,59,71,.6)); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding-bottom: 44px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-n { width: 64px; height: 64px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-2); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; position: relative; z-index: 1; }
.timeline li.accent .tl-n { background: var(--red); border-color: var(--red); }
.timeline h4 { font-size: 1.35rem; margin-bottom: 6px; padding-top: 14px; }
.timeline p { color: var(--text-dim); }

/* ---------- Bento diferenciais ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.bento-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.bento-card:hover { transform: translateY(-5px); border-color: rgba(244,59,71,.4); background: var(--panel-2); }
.bento-card.big { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(135deg, #1a1014, var(--panel)); }
.bento-card.big h4 { font-size: 1.7rem; }
.bento-card.indigo:hover { border-color: rgba(96,72,216,.5); }
.bento-icon { width: 46px; height: 46px; margin-bottom: 18px; }
.bento-card h4 { font-size: 1.22rem; margin-bottom: 10px; }
.bento-card p { color: var(--text-dim); font-size: .96rem; }
.bento-card.photo { padding: 0; position: relative; overflow: hidden; grid-row: span 2; min-height: 280px; }
.bento-photo { position: absolute; inset: 0; background: url("../img/singer.png") center/contain no-repeat var(--black); }
.bento-card.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,7,.85), transparent 55%); }
.bento-tag { position: absolute; left: 24px; bottom: 22px; right: 24px; z-index: 1; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: #fff; }

/* ---------- Cases rail ---------- */
.cases-rail { overflow-x: auto; padding: 8px 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cases-rail::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: 20px; padding: 0 max(28px, calc((100vw - var(--maxw))/2 + 28px)); width: max-content; }
.case-card { flex: 0 0 320px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; min-height: 220px; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.case-card:hover { transform: translateY(-5px); border-color: rgba(244,59,71,.5); }
.case-kicker { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; color: var(--red); margin-bottom: 16px; }
.case-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.case-sub { color: rgba(255,255,255,.75); margin-bottom: auto; }
.case-proof { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-dim); }
.case-card.more { background: var(--red); border-color: var(--red); justify-content: center; }
.case-card.more h3 { font-size: 3rem; line-height: 1; }
.case-card.more p { color: rgba(255,255,255,.92); margin: 6px 0 14px; }
.cases-note { text-align: center; margin-top: 24px; font-size: .82rem; color: var(--text-dim); }

/* ---------- eMotion (full-bleed) ---------- */
.emotion-band { position: relative; padding: 120px 0; overflow: hidden; }
.emotion-photo { position: absolute; inset: 0; z-index: 0; background: url("../img/photo-wide.jpg") center/cover no-repeat; filter: grayscale(1); }
.emotion-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,9,12,.9), rgba(8,9,12,.82)), radial-gradient(circle at 80% 30%, rgba(244,59,71,.35), transparent 50%); }
.emotion-inner { position: relative; z-index: 2; }
.emotion-figures { display: flex; align-items: flex-end; gap: 50px; flex-wrap: wrap; margin-bottom: 44px; }
.big-stat .bs-num { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(3.4rem, 8vw, 6.4rem); color: var(--red); line-height: .9; letter-spacing: -0.03em; }
.big-stat .bs-label { color: rgba(255,255,255,.78); font-size: 1.05rem; }
.mini-stats { display: grid; grid-template-columns: repeat(2, auto); gap: 22px 48px; }
.mini-stats strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; line-height: 1; }
.mini-stats span { font-size: .85rem; color: var(--text-dim); }
.emotion-portfolio { padding-top: 36px; border-top: 1px solid var(--line); }
.portfolio-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.portfolio-chips li { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 20px; }

/* ---------- Liderança ---------- */
.leaders { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.leader-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.leader-card.feature { display: grid; grid-template-columns: 230px 1fr; align-items: center; }
.leader-photo { height: 100%; min-height: 230px; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card .leader-info { padding: 34px; }
.leader-card.studio { display: flex; flex-direction: column; justify-content: center; padding: 40px 34px; }
.leader-emotion { height: 30px; width: auto; margin-bottom: 24px; opacity: .95; }
.leader-info h3 { font-size: 1.7rem; margin-bottom: 4px; }
.leader-bio { color: var(--text-dim); font-size: .96rem; margin-top: 12px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 140px 0; text-align: center; overflow: hidden; }
.cta-photo { position: absolute; inset: 0; z-index: 0; background: url("../img/photo-duotone-red.jpg") center/cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,9,12,.86), rgba(8,9,12,.78)); }
.cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); text-transform: uppercase; letter-spacing: -0.025em; line-height: .95; margin-bottom: 18px; }
.cta h2 .serif { color: var(--red); font-size: .92em; text-transform: none; }
.cta p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: 64px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-logo { height: 30px; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; max-width: 240px; color: var(--text-dim); }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a { font-family: var(--font-head); font-weight: 600; color: rgba(255,255,255,.8); transition: color .2s; }
.footer-nav a:hover { color: var(--red); }
.footer-powered { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-emotion { height: 26px; opacity: .9; }
.footer-mail { font-family: var(--font-head); font-weight: 700; color: #fff; }
.footer-mail:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; font-size: .85rem; color: var(--text-dim); }
.footer-bottom .mono-label { margin: 0; }

/* =========================================================
   REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.big { grid-column: span 2; }
  .bento-card.photo { grid-row: span 1; min-height: 240px; }
  .leaders { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-lead { grid-column: span 2; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .emotion-figures { gap: 32px; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 0 0 auto 0; flex-direction: column; align-items: flex-start; background: rgba(8,9,12,.98); backdrop-filter: blur(14px); padding: 104px 32px 42px; gap: 22px; transform: translateY(-100%); transition: transform .4s var(--ease); border-bottom: 1px solid var(--line); }
  .nav.open { transform: translateY(0); }
  .nav > a { font-size: 1.25rem; }
  .nav-cta { margin-top: 6px; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 0; }
  .prod-row, .prod-row.reverse { grid-template-columns: 1fr; gap: 30px; margin-bottom: 64px; }
  .prod-row.reverse .prod-media { order: 0; }
  .prod-img { aspect-ratio: 16/10; }
  .leader-card.feature { grid-template-columns: 1fr; }
  .leader-photo { min-height: 280px; }
  .hero-meta { display: none; }
  .footer-inner { flex-direction: column; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .bento, .stats-inner { grid-template-columns: 1fr; }
  .stat-lead { grid-column: span 1; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .stat:last-child { border-bottom: 0; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .case-card { flex-basis: 80vw; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.6rem); }
}
