/* ───────────── Tokens ───────────── */
:root {
  --orange: #FF7844;
  --orange-deep: #DA502D;
  --graphite: #544C46;
  --ink: #2A2421;
  --ink-2: #1F1A18;
  --paper: #F0EDE6;
  --white: #fff;

  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;

  --gutter: 24px;
  --maxw: 1200px;
  --pad-y: clamp(72px, 10vw, 140px);
  --cut: 0 28px 0 0; /* o "canto cortado" da marca */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--paper);
  background: var(--ink-2);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: var(--ink); padding: 8px 14px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ───────────── Tipografia ───────────── */
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.h2--big { font-size: clamp(1.8rem, 4.4vw, 3.6rem); max-width: 18ch; }
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.eyebrow .arrow { width: 1.3em; height: 1.3em; fill: var(--orange); }
.eyebrow--dark { color: var(--graphite); }
.eyebrow--onorange { color: var(--ink); }
.eyebrow--onorange .arrow { fill: var(--ink); }

/* ───────────── Botões ───────────── */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-display);
  font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 1.6em;
  background: var(--orange); color: var(--ink);
  border: 1.5px solid var(--orange);
  border-radius: 0 18px 0 0;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; transition: transform .25s ease; flex: none; }
.btn:hover { background: var(--paper); border-color: var(--paper); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(240,237,230,.45); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--small { padding: .8em 1.2em; font-size: .7rem; }

/* ───────────── Nav ───────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s ease, backdrop-filter .3s ease; }
.nav.is-solid { background: rgba(31,26,24,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav__links a:not(.btn) {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; opacity: .85; position: relative; padding: 6px 0;
}
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--orange); transition: width .3s ease; }
.nav__links a:not(.btn):hover { opacity: 1; }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--paper); transition: transform .3s ease, top .3s ease; }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ───────────── Hero ───────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  background: var(--graphite) url("../assets/img/bg-wave-dark.jpg") center / cover no-repeat;
  isolation: isolate;
}
/* linhas-guia do layout da marca */
.hero::before, .hero::after { content: ""; position: absolute; background: rgba(240,237,230,.4); z-index: -1; }
.hero::before { top: 0; bottom: 0; left: clamp(14px, 3.6vw, 72px); width: 1px; }
.hero::after { left: 0; right: 0; bottom: 56px; height: 1px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.3rem, 5.6vw, 5rem);
  line-height: 1.08; letter-spacing: .05em;
  margin-bottom: 2rem;
}
.roles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.4rem; }
.roles li {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .6em 1.1em; border: 1px solid rgba(240,237,230,.4); border-radius: 0 12px 0 0;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; justify-self: end; width: min(100%, 460px); padding-bottom: 36px; }
.halo {
  position: absolute; inset: -12% -22% -6% -22%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,120,68,.75), rgba(255,120,68,.25) 55%, transparent 75%);
  filter: blur(24px);
}
.portrait { border-radius: 0 72px 0 0; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* tag card (eco do cartão da marca) */
.tag { position: absolute; left: -12%; bottom: 0; width: min(78%, 300px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.tag__body { background: var(--orange); color: var(--paper); padding: 20px 22px; border-radius: 0 26px 0 0; display: flex; align-items: flex-end; gap: 14px; }
.tag__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: .02em; }
.tag__label { font-family: var(--font-display); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; padding-bottom: 4px; }
.tag__foot { display: flex; align-items: center; gap: 10px; background: var(--graphite); padding: 12px 22px; text-decoration: none; font-family: var(--font-display); font-size: .72rem; letter-spacing: .12em; }
.tag__foot img { height: 16px; width: auto; }

/* ───────────── Marquee ───────────── */
.marquee { background: var(--orange); color: var(--ink); overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 2.2rem; animation: slide 38s linear infinite; padding-left: 2.2rem; }
.marquee span, .marquee i { font-family: var(--font-display); font-weight: 600; font-style: normal; font-size: clamp(.9rem, 1.6vw, 1.2rem); letter-spacing: .12em; text-transform: uppercase; }
.marquee i { opacity: .55; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────────── Seções ───────────── */
.section { position: relative; padding: var(--pad-y) 0; overflow: hidden; }
.section--ink { background: var(--ink); padding-top: 0; }
.section--ink2 { background: var(--ink-2); }
.section--orange { background: var(--orange) url("../assets/img/bg-orange.jpg") center / cover no-repeat; color: var(--paper); }

/* ───────────── Trajetória ───────────── */
.trajetoria__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.trajetoria__photo { border-radius: 0 72px 0 0; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.trajetoria__photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 60% 20%; }
.trajetoria__copy p:not(.eyebrow) { max-width: 60ch; opacity: .92; }
.trajetoria__copy p + p { margin-top: 1.2rem; }
.trajetoria__lead { font-size: 1.05rem; }
.trajetoria__copy strong { font-weight: 600; color: var(--orange); }
.trajetoria__stages { border-radius: 0 40px 0 0; overflow: hidden; }
.trajetoria__stages img { width: 100%; }

/* ───────────── Audiência ───────────── */
.banner { position: relative; height: clamp(180px, 28vw, 360px); overflow: hidden; margin-bottom: clamp(40px, 6vw, 72px); }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.banner__fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(42,36,33,0) 40%, var(--ink) 100%); }
.audiencia { padding-bottom: var(--pad-y); }
.audiencia::after {
  content: ""; position: absolute; right: -15%; bottom: -25%; width: 60vw; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,120,68,.22), transparent);
}
.audiencia > .container { position: relative; z-index: 1; }
.h2--chips { display: flex; flex-wrap: wrap; gap: .4em .7em; align-items: center; font-weight: 500; font-size: clamp(1.3rem, 3vw, 2.4rem); margin-bottom: clamp(36px, 5vw, 64px); }
.h2--chips i { font-style: normal; color: var(--orange); }

.charts { display: grid; grid-template-columns: 1.3fr .9fr 1.1fr; gap: 20px; }
.card { background: rgba(240,237,230,.05); border: 1px solid rgba(240,237,230,.12); border-radius: var(--cut); padding: 28px 28px 24px; }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.6rem; }

/* barras verticais */
.bars { display: flex; align-items: flex-end; gap: clamp(6px, 1.2vw, 14px); height: 220px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar b { font-size: .72rem; font-weight: 600; opacity: 0; transition: opacity .4s ease .9s; }
.bar__fill { width: 100%; height: 0; min-height: 0; background: rgba(255,120,68,.5); border-radius: 3px 3px 0 0; transition: height 1.1s cubic-bezier(.2,.8,.2,1); }
.bar--peak .bar__fill { background: var(--orange); }
.bar em { font-style: normal; font-size: .68rem; opacity: .7; letter-spacing: .04em; }
.is-in .bar b { opacity: 1; }
.is-in .bar__fill { height: calc(var(--v) * 1.7%); min-height: 3px; }
.bar { --scale: 1.7; }

/* donut */
.donut { display: grid; gap: 22px; justify-items: center; }
.donut svg { width: min(100%, 190px); transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 18; }
.donut__bg { stroke: rgba(240,237,230,.08); }
.donut__f, .donut__m { stroke-dasharray: 0 100; transition: stroke-dasharray 1.2s cubic-bezier(.2,.8,.2,1); }
.donut__m { stroke: var(--orange); }
.donut__f { stroke: var(--paper); stroke-dashoffset: -71; }
.is-in .donut__m { stroke-dasharray: calc(var(--v) * 1) 100; }
.is-in .donut__f { stroke-dasharray: calc(var(--v) * 1) 100; }
.donut__legend { display: flex; gap: 28px; font-family: var(--font-display); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.donut__legend p { display: grid; gap: 2px; }
.donut__legend strong { font-size: 1.6rem; color: var(--orange); font-weight: 600; }
.donut__legend .alt strong { color: var(--paper); }

/* barras horizontais */
.hbars { display: grid; gap: 18px; }
.hbars li { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; font-size: .82rem; }
.hbars b { font-weight: 600; }
.hbars i { grid-column: 1 / -1; height: 6px; background: rgba(240,237,230,.1); border-radius: 3px; position: relative; overflow: hidden; }
.hbars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--orange); border-radius: 3px; transition: width 1.1s cubic-bezier(.2,.8,.2,1) .15s; }
.is-in .hbars i::after { width: calc(var(--v) * 1%); }
.hbars li { --v-pct: 1; }

/* ───────────── Parcerias ───────────── */
.parcerias__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.parcerias__copy { display: grid; gap: clamp(36px, 5vw, 64px); }
.block p { max-width: 52ch; opacity: .92; }
.block p + p { margin-top: 0; }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.reel { position: relative; overflow: hidden; border-radius: 4px 4px 4px 4px; aspect-ratio: 9 / 14; background: var(--graphite); }
.reel:nth-child(2) { margin-top: 28px; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.reel:hover img { transform: scale(1.05); }
.reel::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); pointer-events: none; }
.reel figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: flex; align-items: center; gap: 6px; font-size: .78rem; }
.reel figcaption svg { width: 16px; height: 16px; fill: var(--paper); }
.reel figcaption b { font-weight: 600; }
.set { border-radius: 0 40px 0 0; overflow: hidden; }
.set img { width: 100%; }

/* ───────────── Marcas ───────────── */
.marcas .h2 { margin-bottom: clamp(36px, 5vw, 64px); text-shadow: 0 2px 30px rgba(120,40,10,.25); }
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.2vw, 14px); }
.brands li { overflow: hidden; border-radius: 4px; aspect-ratio: 9 / 16; background: var(--graphite); box-shadow: 0 14px 30px rgba(120,40,10,.3); }
.brands li:nth-child(even) { transform: translateY(0); }
.brands img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.brands li:hover img { transform: scale(1.06); }
.brands a { display: block; width: 100%; height: 100%; cursor: pointer; }
.brands a:focus-visible { outline: 3px solid var(--paper); outline-offset: -3px; }

/* ───────────── Contato ───────────── */
.contato {
  position: relative; text-align: center; color: var(--paper);
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--graphite) url("../assets/img/bg-wave-dark.jpg") center / cover no-repeat;
}
.contato__inner { display: grid; justify-items: center; gap: 1.6rem; }
.contato__mark { width: clamp(64px, 8vw, 96px); height: auto; }
.contato__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 0; }

.footer { background: var(--ink-2); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer img { height: 28px; width: auto; }
.footer__tag { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-display); font-size: .75rem; letter-spacing: .14em; }
.footer__tag .arrow { width: 1.4em; height: 1.4em; fill: var(--orange); }
.footer__copy { font-size: .78rem; opacity: .6; }

/* ───────────── Revelar ao rolar ───────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ───────────── Responsivo ───────────── */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; width: min(86%, 420px); margin-top: 24px; }
  .tag { left: -6%; }
  .parcerias__grid { grid-template-columns: 1fr; }
  .trajetoria__grid { grid-template-columns: 1fr; }
  .charts { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(31,26,24,.97); padding: 12px var(--gutter) 28px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { font-size: .85rem; padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(240,237,230,.1); }
  .nav__links .btn { margin-top: 14px; }
  .hero { padding-top: 104px; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .reel:nth-child(2) { margin-top: 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: space-between; }
  .hero__cta .btn, .contato__links .btn { width: 100%; }
}
@media (max-width: 420px) {
  .card { padding: 22px 18px; }
  .bars { height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
