:root {
  --blue: #0a289c;
  --blue-alt: #08238d;
  --blue-deep: #051a75;
  --blue-hi: #1a3fc4;
  --line: rgba(255, 255, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.86);
  --muted: #8fa6f5;
  --faint: rgba(255, 255, 255, 0.62);
  --ph: rgba(255, 255, 255, 0.10);

  --display: "Fraunces", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --gutter: 40px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--blue);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: #fff; color: var(--blue); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* Tipografia */
.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 5.6vw, 5rem);
  text-wrap: balance;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  margin: 24px 0 28px;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.lead {
  color: var(--text-2);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: 40px;
}
.body-copy {
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 30rem;
  margin: 28px 0 36px;
}
.small { font-size: 13px; color: var(--faint); }
.small a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.badge {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 4px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease;
  white-space: nowrap;
}
.btn span { transition: transform .25s ease; }
.btn:hover span { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-lg { padding: 19px 30px; font-size: 16px; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: #eaf0ff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(10, 40, 156, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand img { height: 26px; width: auto; }
.nav {
  display: flex;
  gap: 40px;
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
}
.nav a { transition: color .2s ease, opacity .2s ease; }
.nav a:hover { color: #fff; }
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s ease, top .3s ease;
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 28px;
  background: var(--blue);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 17px;
}
.mobile-menu .btn { margin-top: 24px; }

/* Hero */
.hero {
  position: relative;
  padding: 176px 0 112px;
  overflow: hidden;
  isolation: isolate;
}
/* Brand reference image as backdrop, softened so copy stays readable */
.bg-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/img/bg-brand.jpg") center 30% / cover no-repeat;
}
.bg-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,40,156,.82) 0%, rgba(10,40,156,.62) 50%, rgba(10,40,156,.4) 100%),
    linear-gradient(180deg, rgba(10,40,156,0) 60%, var(--blue) 100%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}
.hero-copy { grid-column: span 7; }
.mosaic { grid-column: span 5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mosaic-col { display: flex; flex-direction: column; gap: 12px; }
.mosaic-col.offset { margin-top: -76px; }

.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 16;
}
.tile video, .tile img { width: 100%; height: 100%; object-fit: cover; }

.tile { background: rgba(255,255,255,.1); box-shadow: 0 24px 48px -24px rgba(2, 10, 60, .8); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  pointer-events: none;
}

/* Seções */
.section {
  padding: 128px 0;
  border-top: 1px solid var(--line-soft);
}
.alt { background: var(--blue-alt); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 72px;
}
.section-intro {
  color: var(--text-2);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 30rem;
}

/* Serviços */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.service {
  padding: 32px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background-color .3s ease;
  min-height: 240px;
}
.service:nth-child(4n) { border-right: 0; }
.service:hover { background: rgba(255, 255, 255, .06); }
.num {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}
.service h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.service p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

/* Trabalhos */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.work-item { position: relative; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.1); }
.work-item video, .work-item img { width: 100%; height: 100%; object-fit: cover; }
.work-item.wide { grid-column: span 8; aspect-ratio: 16 / 9; }
.work-item.tall { grid-column: span 4; }
.work-item.tall img { position: absolute; inset: 0; }
.work-item.half { grid-column: span 6; aspect-ratio: 16 / 9; }
.work-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(3, 14, 72, .6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.sound-btn {
  position: absolute;
  right: 16px; bottom: 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 14px;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.sound-btn:hover { background: #eaf0ff; }
.sound-btn:active { transform: scale(.96); }

/* Regra */
.rule { padding: 144px 0; position: relative; isolation: isolate; overflow: hidden; }
.rule.bg-brand::before { background-position: center 78%; }
.rule.bg-brand::after { background: rgba(10,40,156,.62); }
.rule .badge { margin-bottom: 28px; }

/* Perguntas */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 52px 22px 0;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  width: 28px; height: 28px;
  margin-top: -14px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 400;
  font-size: 16px;
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.faq[open] summary::after {
  transform: rotate(45deg);
  background: #fff;
  border-color: #fff;
  color: var(--blue);
}
.faq p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  padding: 0 52px 26px 0;
}

/* Comunidade */
.list-label { font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.perks {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}
.perks li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.perks .num { margin: 0; }

/* Contato */
.contact {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: end;
}
.contact-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.contact .body-copy { margin-bottom: 0; }

/* Criativos */
.strip { padding: 64px 0; border-top: 1px solid var(--line-soft); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.strip .eyebrow { margin-bottom: 12px; }
.strip-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Rodapé */
.footer { border-top: 1px solid var(--line-soft); padding: 64px 0; font-size: 13px; color: var(--faint); }
.footer-logo { height: 30px; width: auto; margin-bottom: 28px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-links a { color: var(--text-2); }
.footer-links a:hover { color: #fff; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsivo */
@media (max-width: 1180px) {
  .nav { gap: 26px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 32px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 136px 0 88px; }
  .hero-copy, .mosaic { grid-column: 1 / -1; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .mosaic { max-width: 520px; padding-top: 40px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(4n) { border-right: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: 0; }
  .section { padding: 96px 0; }
  .split, .contact, .section-head { grid-template-columns: 1fr; gap: 40px; }
  .work-item.wide, .work-item.half { grid-column: 1 / -1; }
  .work-item.tall { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .bg-brand::after { background: linear-gradient(180deg, rgba(10,40,156,.84) 0%, rgba(10,40,156,.76) 60%, var(--blue) 100%); }
  .section-head { margin-bottom: 56px; }
  .contact-cta { align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .header-inner { height: 64px; }
  .brand img { height: 22px; }
  .hero { padding: 120px 0 72px; }
  .section { padding: 80px 0; }
  .rule { padding: 96px 0; }
  .work-grid { gap: 12px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; border-right: 0 !important; padding: 28px 0; }
  .service:hover { background: none; }
  .perks { grid-template-columns: 1fr; }
  .strip-inner { flex-direction: column; align-items: flex-start; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .mosaic, .mosaic-col { gap: 8px; }
  .mosaic-col.offset { margin-top: -40px; }
  .faq summary, .faq p { padding-right: 44px; }
}

/* ============ Página de solicitação de projeto ============ */
.inq-header .header-inner { max-width: 848px; }
.inq-top-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-2); }
.inq-top-links a:hover { color: #fff; }
.inq-page { position: relative; isolation: isolate; min-height: 100vh; }
.inq-page.bg-brand::before { position: fixed; background-position: center 40%; }
.inq-page.bg-brand::after { position: fixed; background: rgba(10,40,156,.78); }
.inq {
  max-width: 848px;
  margin: 0 auto;
  padding: 144px var(--gutter) 96px;
  min-height: 100vh;
}
.inq .display { font-size: clamp(2.6rem, 6vw, 4.5rem); margin: 24px 0 24px; }
.inq .lead { margin-bottom: 56px; }
.progress-meta { font-size: 12px; color: var(--faint); margin-bottom: 12px; }
.progress {
  height: 2px;
  background: var(--line);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.progress i {
  position: absolute; inset: 0 auto 0 0;
  background: #fff;
  width: 20%;
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
.step { display: none; animation: stepIn .5s cubic-bezier(.2,.7,.2,1); }
.step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.step .hint { color: var(--faint); font-size: 15px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: rgba(255,255,255,.55); }
.chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--blue); font-weight: 600; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field small { font-size: 12px; color: var(--faint); }
.field input, .field textarea {
  font: inherit;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.45); }
.field input:focus, .field textarea:focus { border-color: #fff; background: rgba(255,255,255,.1); }
.field.invalid input, .field.invalid textarea { border-color: #ffd0d0; }
.privacy { font-size: 12.5px; color: var(--faint); margin: 36px 0 28px; }
.step-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-soft); padding-top: 28px; }
.step-nav .right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.enter-hint { font-size: 12px; color: var(--faint); }
.back-btn { background: none; border: 0; color: var(--text-2); font-size: 14px; cursor: pointer; padding: 8px 0; }
.back-btn:hover { color: #fff; }
.back-btn[hidden] { display: none; }
.alt-contact { margin-top: 56px; font-size: 13px; color: var(--faint); }
.alt-contact a { display: inline-block; margin-top: 6px; color: #fff; font-size: 15px; font-weight: 600; }
.done h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 16px; }
.done p { color: var(--text-2); font-size: 1.0625rem; margin-bottom: 32px; max-width: 32rem; }
.done .actions { margin-top: 8px; }
@media (max-width: 640px) {
  .inq { padding-top: 112px; }
  .fields { grid-template-columns: 1fr; }
  .enter-hint, .inq-top-links .hide-sm { display: none; }
}
fieldset.step { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.step legend { padding: 0; }
