/* ===== Joga Bonito Highlights : estilos ===== */
:root {
  --verde: #0b4a33;         /* Verdão — cor institucional dominante */
  --verde-dark: #082e20;    /* Verdão escurecido, hover/estados */
  --gold: #f2c233;          /* bola / CTAs / destaques */
  --gold-dark: #d9a81e;     /* gold escurecido, hover */
  --areia: #fbf6e8;         /* fundo claro alternativo / cards */
  --noite: #15170e;         /* texto principal / fundo escuro forte */
  --ink: #15170e;
  --muted: #5c6659;         /* texto secundário, viés verde-oliva */
  --bg: #ffffff;
  --bg-alt: #fbf6e8;
  --line: #e7e1d0;
  --azul: #1f427c;          /* Azul Pelé — acento secundário, só conteúdo */
  --verde-campo: #a3b36c;   /* verde-campo — acento secundário, só conteúdo */
  --radius: 16px;
  --maxw: 1120px;
  --display: "Clash Display", sans-serif;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  color-scheme: only light;         /* força modo claro, bloqueia auto-dark do navegador/SO */
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;   /* impede o iOS de reescalar o texto */
  text-size-adjust: 100%;
  touch-action: pan-x pan-y;        /* permite rolar, bloqueia pinça de zoom */
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;

  /* bloqueia seleção e cópia de texto */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;      /* sem menu de copiar no toque longo (iOS) */
}

img { -webkit-user-drag: none; user-drag: none; pointer-events: auto; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verde);
  font-weight: 700;
  margin-bottom: 16px;
}
.kicker--light { color: var(--gold); }

.section__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--noite);
  margin-bottom: 24px;
}
.section__lead { max-width: 620px; color: var(--muted); font-size: 1.08rem; }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--noite); box-shadow: 0 8px 24px rgba(242,194,51,.35); }
.btn--primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(242,194,51,.42); }
.btn--ghost { background: transparent; color: var(--noite); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--verde); color: var(--verde); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* CTA principal do hero: maior presença, pra ficar a escolha óbvia */
.hero .btn--primary {
  padding: 17px 34px;
  font-size: 1.04rem;
  animation: hero-cta-glow 2.6s ease-in-out infinite;
}
.hero .btn--primary:hover { animation-play-state: paused; }
@keyframes hero-cta-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(242,194,51,.35); }
  50% { box-shadow: 0 10px 34px rgba(242,194,51,.6); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .btn--primary { animation: none; }
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,74,51,.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__mark { height: 34px; width: auto; }
.nav__word { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--noite); letter-spacing: -.01em; }
.nav__word em { display: block; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a { font-size: 0.95rem; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav__menu a:hover { color: var(--verde); }
.nav__cta { padding: 9px 20px; background: var(--gold); color: var(--noite) !important; border-radius: 999px; font-weight: 700; }
.nav__cta:hover { background: var(--gold-dark); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--noite); transition: .3s; }

/* ===== Hero ===== */
.hero {
  padding: 168px 0 120px;
  text-align: center;
  background:
    radial-gradient(1000px 560px at 50% -14%, rgba(242,194,51,.20), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__content { max-width: 720px; }
.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--noite);
}
.hero__title em { color: var(--verde); font-style: normal; }
.hero__sub {
  margin: 28px auto 36px; max-width: 560px;
  font-size: 1.18rem; color: var(--muted);
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .btn--ghost { border-color: rgba(21,23,14,.32); }

/* ===== Stats ===== */
.stats {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(242,194,51,.28), transparent 60%),
    var(--verde);
  color: #fff; padding: 56px 0;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 900px; margin: 0 auto; gap: 96px; text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; line-height: 1; color: var(--gold); }
.stat__label { font-size: 0.92rem; color: #d6e4da; letter-spacing: .02em; }

/* ===== Sobre ===== */
.sobre__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.sobre__text p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.sobre__list { list-style: none; background: var(--areia); border-radius: var(--radius); padding: 32px; }
.sobre__list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.sobre__list li:last-child { border-bottom: 0; }
.sobre__list strong { color: var(--verde); }

/* ===== Trabalho ===== */
.video {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px rgba(11,74,51,.18);
  margin: 8px 0 72px;
  background: var(--noite);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trabalho__subtitle { font-family: var(--display); font-size: 1.9rem; color: var(--noite); font-weight: 600; }
.trabalho__subtitle--mt { margin-top: 72px; }
.trabalho__lead { color: var(--muted); margin: 8px 0 32px; }

.capa {
  position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
  background: var(--areia); box-shadow: 0 10px 30px rgba(21,23,14,.08);
}
.capa img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; cursor: zoom-in; }
.capa:hover img { transform: scale(1.05); }
.capa--empty img { cursor: default; }
.capa--empty:hover img { transform: none; }

/* Carrossel das capas de YouTube : mesmo mecanismo do carrossel de CVs,
   sangrando a tela inteira, girando sozinho e dando pra arrastar */
.yt-carousel__viewport {
  margin: 24px 0 8px;
  overflow-x: auto; overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.yt-carousel__viewport::-webkit-scrollbar { display: none; }
.yt-carousel__viewport.dragging { cursor: grabbing; }
.yt-carousel__track {
  display: flex;
  width: max-content;
  padding: 14px 24px;
}
.yt-carousel__img {
  flex: 0 0 400px; width: 400px; margin-right: 20px;
  aspect-ratio: 16 / 9; background: #fff; border: 1px solid var(--line);
}
.yt-carousel__img img { object-fit: contain; }

/* Carrossel das capas de Reels : mesmo mecanismo, formato vertical 9:16 */
.reels-carousel__viewport {
  margin: 24px 0 8px;
  overflow-x: auto; overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.reels-carousel__viewport::-webkit-scrollbar { display: none; }
.reels-carousel__viewport.dragging { cursor: grabbing; }
.reels-carousel__track {
  display: flex;
  width: max-content;
  padding: 14px 24px;
}
.reels-carousel__img { flex: 0 0 220px; width: 220px; margin-right: 20px; }

/* Carrossel de Player CVs : sangra a tela inteira, gira sozinho e também
   arrasta pro lado (mesmo mecanismo de drag do carrossel de cases) */
.cv-carousel__viewport {
  overflow-x: auto; overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.cv-carousel__viewport::-webkit-scrollbar { display: none; }
.cv-carousel__viewport.dragging { cursor: grabbing; }
.cv-carousel__track {
  display: flex;
  width: max-content;
  padding: 14px 24px;
}
.cv-carousel__img {
  flex: 0 0 220px; width: 220px; margin-right: 20px;
  aspect-ratio: 1 / 1.414; background: #fff; border: 1px solid var(--line);
}
.cv-carousel__img img { object-fit: cover; object-position: top; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(9,15,10,.92); padding: 32px;
  opacity: 0; transition: opacity .2s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox__stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lightbox__img {
  max-width: 92vw; max-height: 82vh; border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__close {
  position: absolute; top: 22px; right: 28px;
  background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1;
  cursor: pointer; opacity: .85; transition: opacity .2s;
}
.lightbox__pager { display: flex; align-items: center; gap: 14px; }
.lightbox__pager[hidden] { display: none; }
.lightbox__pager button {
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; transition: background .2s ease, border-color .2s ease;
  display: inline-flex; align-items: center; justify-content: center;
}
.lightbox__pager button:hover { background: var(--gold); border-color: var(--gold); color: var(--noite); }
.lightbox__pager button:disabled { opacity: .3; cursor: default; }
.lightbox__pager button:disabled:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.lightbox__pager span { color: #fff; font-size: .85rem; letter-spacing: .04em; min-width: 52px; text-align: center; }
.lightbox__close:hover { opacity: 1; }
/* placeholder quando a imagem ainda não foi adicionada */
.capa--empty { background: linear-gradient(135deg, #f5f1e4, #ede6d2); }
.capa--empty::after {
  content: "Capa em breve"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--verde); font-size: .85rem; font-weight: 600; letter-spacing: .04em;
}

/* ===== Cases (carrossel deslizante) ===== */
.cases { background: var(--areia); overflow: hidden; }
.cases__viewport {
  margin-top: 36px;
  overflow-x: auto; overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.cases__viewport::-webkit-scrollbar { display: none; }
.cases__viewport.dragging { cursor: grabbing; }
.cases__track {
  display: flex;
  width: max-content;
  padding: 14px 24px;
}
.case {
  flex: 0 0 340px; width: 340px; margin-right: 24px;
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line); transition: box-shadow .2s ease;
  cursor: pointer;
}
.case:hover { box-shadow: 0 18px 40px rgba(21,23,14,.10); }
.case__name { font-family: var(--display); font-size: 1.8rem; color: var(--noite); font-weight: 600; }
.case__role { color: var(--verde); font-size: .9rem; font-weight: 700; margin: 4px 0 16px; }
.case p { color: var(--muted); }
.case strong { color: var(--ink); }

/* Case ampliado : abre um card maior por cima, o carrossel pausa enquanto ele estiver aberto */
.case-zoom {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(21,23,14,.55); padding: 32px;
  opacity: 0; transition: opacity .2s ease;
}
.case-zoom.open { display: flex; opacity: 1; }
.case-zoom__close {
  position: absolute; top: 22px; right: 28px;
  background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1;
  cursor: pointer; opacity: .85; transition: opacity .2s;
}
.case-zoom__close:hover { opacity: 1; }
.case--zoomed {
  cursor: default; width: min(560px, 90vw); flex: none; margin: 0;
  padding: 48px 44px; box-shadow: 0 40px 90px rgba(0,0,0,.4);
  transform: scale(.94); opacity: 0; transition: transform .22s ease, opacity .22s ease;
}
.case-zoom.open .case--zoomed { transform: scale(1); opacity: 1; }
.case--zoomed .case__name { font-size: 2.3rem; }
.case--zoomed .case__role { font-size: 1rem; }
.case--zoomed p { font-size: 1.08rem; line-height: 1.65; }

/* ===== Pacotes ===== */
.pacotes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.plano {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column;
}
.plano--featured { border-color: var(--verde); box-shadow: 0 20px 50px rgba(11,74,51,.16); }
.plano__tag {
  position: absolute; top: -13px; left: 30px; background: var(--verde); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.plano__name { font-family: var(--display); font-size: 1.6rem; color: var(--noite); font-weight: 600; white-space: nowrap; }
.plano__price { color: var(--verde); font-weight: 700; margin: 6px 0 22px; }
.plano__price s { color: var(--muted); font-weight: 500; margin-right: 8px; }
.plano__save {
  display: inline-block; background: var(--verde-campo); color: var(--noite);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 999px; vertical-align: middle;
}

/* Pacote "Best value" — destaque com o acento secundário (azul Pelé) */
.plano--value { border-color: var(--azul); box-shadow: 0 20px 50px rgba(31,66,124,.16); }
.plano__tag--value { background: var(--azul); }
.plano__list { list-style: none; margin-bottom: 28px; flex: 1; }
.plano__list li { padding: 9px 0 9px 26px; position: relative; color: var(--muted); }
.plano__list li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
}

/* ===== Agências ===== */
.agencias {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(242,194,51,.28), transparent 60%),
    var(--verde);
  color: #fff;
}
.agencias__inner { max-width: 720px; }
.agencias .section__title { color: #fff; }
.agencias__text p { color: #d6e4da; font-size: 1.08rem; margin-bottom: 24px; }
.agencias__text strong { color: #fff; }
.agencias__perks { list-style: none; margin-bottom: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.agencias__perks li { padding-left: 26px; position: relative; color: #d6e4da; }
.agencias__perks li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}

/* ===== Footer ===== */
.footer { background: var(--areia); text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; }
.footer__logo { height: 64px; width: auto; margin-bottom: 24px; }
.footer__title { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); color: var(--noite); font-weight: 600; }
.footer__sub { color: var(--muted); margin: 10px 0 32px; font-size: 1.1rem; }
.footer__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }

.socials { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; color: var(--noite);
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social:hover {
  background: var(--verde); color: #fff; border-color: var(--verde);
  transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,74,51,.28);
}
.footer__bottom {
  width: 100%; border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: .9rem;
}
.footer__bottom a { color: var(--muted); transition: color .2s; }
.footer__bottom a:hover { color: var(--verde); }

/* ===== Responsivo ===== */
@media (max-width: 860px) {
  .hero { padding: 116px 0 72px; }
  .hero__sub { font-size: 1.05rem; }
  .sobre__inner { grid-template-columns: 1fr; gap: 36px; }
  .video { margin-bottom: 48px; }
  .trabalho__subtitle { font-size: 1.55rem; }
  .stats__grid { gap: 40px; }
  .case { flex-basis: 300px; width: 300px; margin-right: 16px; }
  .pacotes__grid { grid-template-columns: repeat(2, 1fr); }
  .plano__name { font-size: 1.4rem; }
  .yt-carousel__img { flex-basis: 300px; width: 300px; }
  .reels-carousel__img { flex-basis: 170px; width: 170px; }
  .agencias__perks { grid-template-columns: 1fr; }

  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav__menu.open { max-height: 380px; }
  .nav__menu a { width: 100%; padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .nav__cta { border-radius: 0; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .hero { padding: 104px 0 56px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; text-align: center; }
  .stats__grid { gap: 28px 16px; }
  .stat__num { font-size: 2rem; }
  .pacotes__grid { grid-template-columns: 1fr; }
  .plano { padding: 30px 24px; }
  .plano__name { white-space: normal; }
  .footer__bottom { justify-content: center; text-align: center; }
}
