/* DHM Studio — paleta e tipografia do manual da marca */
:root {
  --black: #0d0d0d;
  --ink: #07090f;
  --navy: #071a3d;
  --blue: #0d4fa0;
  --sky: #1f7fc4;
  --cyan: #29c6dc;
  --violet: #2a1f5c;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .12);
  --card: rgba(255, 255, 255, .035);
  --radius: 18px;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--cyan); color: var(--black); }

/* textura de ruído, como nos gradientes do manual */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* tipografia */
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); max-width: 16ch; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; font-weight: 700; }
.eyebrow {
  font-size: .82rem; font-weight: 400; letter-spacing: .28em; text-transform: lowercase;
  color: var(--muted); margin-bottom: 1.4rem;
}
.accent {
  background: linear-gradient(90deg, #5aa9ff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.7em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: var(--white); color: var(--black);
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--cyan); box-shadow: 0 10px 40px -10px rgba(41, 198, 220, .6); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--cyan); box-shadow: none; }
.btn--small { padding: .6em 1.2em; font-size: .85rem; }
.btn--full { width: 100%; }
.link { color: var(--cyan); font-weight: 600; font-size: .92rem; transition: opacity .2s; }
.link:hover { opacity: .75; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 9, 15, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding-block: 12px; border-color: var(--line);
}
.nav__logo img { width: 132px; height: auto; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: .92rem; color: var(--muted); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--white); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; padding: .45em .8em;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: color .2s, border-color .2s;
}
.lang:hover { color: var(--white); border-color: var(--cyan); }
.burger { display: none; width: 36px; height: 36px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--white); transition: transform .3s; }
.burger span:first-child { top: 14px; } .burger span:last-child { top: 21px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px var(--pad) 100px; overflow: hidden;
  background:
    radial-gradient(120% 70% at 40% 120%, #5fc4d3 0%, #1f7fc4 22%, #0d4fa0 42%, #071a3d 66%, var(--ink) 88%);
}
.hero__glow {
  position: absolute; width: 70vw; height: 70vw; right: -15vw; top: -10vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 31, 92, .55), transparent 65%);
  filter: blur(20px); animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-8vw, 6vw) scale(1.1); } }
.hero__inner { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; }
.hero__motto { display: flex; gap: 2.2em; letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; }
.hero__title { font-size: clamp(2.8rem, 7.4vw, 7rem); max-width: 13ch; margin-bottom: 2rem; }
.hero__lead { max-width: 54ch; font-size: clamp(1rem, 1.3vw, 1.18rem); color: rgba(255,255,255,.78); margin-bottom: 2.4rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__symbol {
  position: absolute; z-index: 1; right: clamp(-60px, 4vw, 8vw); bottom: -4vh;
  width: clamp(260px, 34vw, 520px); opacity: .9; pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(41, 198, 220, .25));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 24px; height: 38px; margin-left: -12px;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: var(--white); animation: scroll 1.8s ease-in-out infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* MARQUEE */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink); }
.marquee__track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; color: rgba(255,255,255,.85); }
.marquee i { color: var(--cyan); font-style: normal; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SEÇÕES */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 12vw, 160px) var(--pad); }
.section--tight { padding-top: 40px; }
.section__head { margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px; }
.section__lead { margin-top: 1.4rem; max-width: 58ch; color: var(--muted); font-size: 1.08rem; }

/* SERVIÇOS */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  position: relative; padding: 40px 34px 46px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .4s;
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(80% 80% at 0% 100%, rgba(13, 79, 160, .35), transparent 70%);
}
.service:hover::before { opacity: 1; }
.service > * { position: relative; }
.service__num { display: block; font-size: .8rem; color: var(--cyan); letter-spacing: .2em; margin-bottom: 56px; }
.service h3 { margin-bottom: .8rem; }
.service p { color: var(--muted); font-size: .97rem; }
.services__markets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; color: var(--muted); font-size: .9rem; }
.services__markets span { margin-right: 6px; }
.services__markets b { font-weight: 500; color: var(--white); padding: .4em 1em; border: 1px solid var(--line); border-radius: 999px; }

/* FLIGHT SIM */
.fs { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 180px) var(--pad); }
.fs__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 85% 50%, rgba(41,198,220,.28), transparent 60%),
    linear-gradient(115deg, var(--ink) 15%, var(--navy) 45%, var(--blue) 80%, var(--sky));
}
.fs__bg::after { /* linhas de horizonte, referência a instrumentos de voo */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,.035) 46px 47px);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.fs__inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.fs__text h2 { margin-bottom: 1.6rem; }
.fs__text p:not(.eyebrow) { color: rgba(255,255,255,.78); margin-bottom: 1.1rem; max-width: 56ch; }
.fs__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.fs__stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.fs__stats li { background: rgba(7, 9, 15, .55); backdrop-filter: blur(10px); padding: 30px 26px; }
.fs__stats strong { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .4rem; }
.fs__stats span { color: var(--muted); font-size: .9rem; line-height: 1.4; display: block; }

/* PLACEHOLDERS de imagem (substituir por renders reais) */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 220px;
  background:
    radial-gradient(70% 90% at 70% 110%, rgba(41,198,220,.35), transparent 60%),
    linear-gradient(160deg, #0b1630, #0a0f1d 60%);
}
.ph::after {
  content: attr(data-label); position: absolute; left: 18px; top: 16px;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35);
}
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
img.ph-img { width: 100%; height: 100%; object-fit: cover; }

/* PRODUTOS */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.product:hover { transform: translateY(-6px); border-color: rgba(41,198,220,.45); }
.product__img { aspect-ratio: 16 / 10; min-height: 0; }
.product__body { padding: 24px 24px 28px; }
.product h3 { margin: .9rem 0 .5rem; }
.product p { color: var(--muted); font-size: .94rem; margin-bottom: 1.2rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(41,198,220,.4); border-radius: 999px; padding: .3em .9em; }

/* PORTFÓLIO */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font-size: .88rem; padding: .55em 1.15em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: all .25s; }
.filter:hover { color: var(--white); }
.filter.is-active { background: var(--white); color: var(--black); border-color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 18px; }
.work { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: opacity .4s, transform .4s var(--ease); }
.work--wide { grid-column: span 2; }
.work .ph, .work img { transition: transform .8s var(--ease); }
.work:hover .ph, .work:hover img { transform: scale(1.04); }
.work figcaption {
  position: absolute; inset: auto 0 0; padding: 22px 22px 20px; display: flex; flex-direction: column;
  background: linear-gradient(transparent, rgba(7,9,15,.85));
}
.work figcaption b { font-size: 1.1rem; }
.work figcaption span { font-size: .85rem; color: var(--muted); }
.work.is-hidden { display: none; }

/* PROCESSO */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: p; }
.process li { padding-top: 26px; border-top: 1px solid var(--line); position: relative; }
.process li::before { content: ""; position: absolute; top: -1px; left: 0; width: 42px; height: 1px; background: var(--cyan); }
.process span { font-size: .8rem; color: var(--cyan); letter-spacing: .2em; }
.process h3 { margin: 1rem 0 .6rem; }
.process p { color: var(--muted); font-size: .95rem; }

/* MÍDIAS */
.media { padding: 0 var(--pad); }
.media__inner {
  max-width: var(--max); margin: 0 auto; border-radius: 28px; padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
  background:
    radial-gradient(80% 120% at 100% 100%, rgba(41,198,220,.4), transparent 55%),
    linear-gradient(135deg, var(--violet), #1d3a8a 60%, var(--sky));
}
.media h2 { margin-bottom: 1.2rem; }
.media p:not(.eyebrow) { color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 52ch; }
.media .eyebrow { color: rgba(255,255,255,.7); }
.socials { display: grid; gap: 12px; }
.social {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 14px;
  background: rgba(7,9,15,.35); border: 1px solid rgba(255,255,255,.14); font-weight: 600;
  transition: background .3s, transform .3s var(--ease);
}
.social:hover { background: rgba(7,9,15,.6); transform: translateX(6px); }
.social svg { width: 24px; height: 24px; fill: currentColor; }

/* SOBRE */
.about { padding: clamp(100px, 13vw, 180px) var(--pad); background: linear-gradient(180deg, var(--black), var(--ink) 50%, #061433); }
.about__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.about__motto { display: flex; gap: 1.6em; font-weight: 600; letter-spacing: .02em; margin-bottom: 1.6rem; }
.about__lead { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 1.6rem; max-width: 22ch; }
.about__text p:not(.eyebrow):not(.about__lead):not(.about__motto) { color: var(--muted); max-width: 58ch; margin-bottom: 1rem; }
.about__sign { margin-top: 1.4rem; }
.about__sign em { color: var(--white) !important; }
.about__symbol { justify-self: center; width: min(360px, 70%); filter: drop-shadow(0 0 80px rgba(41,198,220,.2)); }

/* CONTATO */
.contact { padding: clamp(90px, 12vw, 160px) var(--pad); background: radial-gradient(100% 80% at 50% 130%, #1f7fc4 0%, #0d4fa0 30%, #061433 60%, var(--ink) 85%); }
.contact__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); }
.contact h2 { margin-bottom: 1.4rem; }
.contact__text > p:not(.eyebrow) { color: var(--muted); max-width: 44ch; }
.contact__list { list-style: none; margin-top: 2.4rem; display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 2px; }
.contact__list span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font-size: 1.2rem; font-weight: 600; }
.contact__list a:hover { color: var(--cyan); }
.form { display: grid; gap: 18px; padding: clamp(26px, 4vw, 40px); border-radius: 22px; background: rgba(7,9,15,.55); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .85rem; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--white); background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: 12px; padding: .85em 1em; outline: none; transition: border-color .2s, background .2s;
  resize: vertical;
}
.form select option { background: var(--black); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cyan); background: rgba(255,255,255,.07); }
.form .is-invalid { border-color: #ff6b6b; }
.form__note { font-size: .88rem; color: var(--cyan); min-height: 1.4em; }

/* FOOTER */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 36px var(--pad); border-top: 1px solid var(--line); background: var(--ink); font-size: .88rem; color: var(--muted); }
.footer img { width: 104px; height: auto; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* RESPONSIVO */
@media (max-width: 1080px) {
  .services, .products { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .fs__inner, .about__inner, .contact__inner, .media__inner { grid-template-columns: 1fr; }
  .about__symbol { width: 240px; justify-self: start; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    font-size: 1.5rem; color: var(--white); background: rgba(7,9,15,.97);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__actions { position: relative; z-index: 2; }
  .nav__actions .btn { display: none; }
  .burger { display: block; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .hero__symbol { opacity: .25; right: -20vw; width: 80vw; }
}
@media (max-width: 600px) {
  .services, .products, .process, .gallery, .form__row { grid-template-columns: 1fr; }
  .work--wide { grid-column: auto; }
  .hero__motto { gap: 1.2em; font-size: .7rem; }
  .fs__stats { grid-template-columns: 1fr 1fr; }
  .footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================== PARCEIROS =================== */
.partners { padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); background: var(--ink); border-top: 1px solid var(--line); }
.partners__head {
  max-width: var(--max); margin: 0 auto clamp(48px, 6vw, 72px); padding: 0 var(--pad);
  display: grid; grid-template-columns: auto 1fr minmax(220px, 320px); gap: clamp(24px, 4vw, 60px); align-items: end;
}
.partners__head .eyebrow { margin: 0 0 .9rem; color: var(--cyan); }
.partners__head h2 { max-width: none; font-size: clamp(2.2rem, 5.4vw, 4.6rem); text-transform: uppercase; letter-spacing: -.04em; }
.partners__head p:not(.eyebrow) { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.logos { border-top: 1px solid var(--line); }
.logos__row { overflow: hidden; border-bottom: 1px solid var(--line); }
.logos__track { display: flex; width: max-content; animation: logos 60s linear infinite; }
.logos__row--rev .logos__track { animation-direction: reverse; animation-duration: 70s; }
.logos:hover .logos__track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(-50%); } }
.logo-cell {
  width: clamp(170px, 15.6vw, 224px); height: clamp(130px, 12vw, 184px); flex: none;
  display: grid; place-items: center; padding: 28px; border-right: 1px solid var(--line);
  transition: background .3s;
}
.logo-cell:hover { background: rgba(255,255,255,.03); }
.logo-cell img { max-width: 100%; max-height: 64px; object-fit: contain; opacity: .6; filter: grayscale(1) brightness(1.6); transition: opacity .3s, filter .3s; }
.logo-cell:hover img { opacity: 1; filter: none; }
.wordmark {
  font-weight: 800; font-size: clamp(1rem, 1.3vw, 1.25rem); letter-spacing: -.02em; line-height: 1.1; text-align: center;
  color: rgba(255,255,255,.55); text-transform: uppercase; transition: color .3s;
}
.logo-cell:hover .wordmark { color: var(--white); }

/* =================== CARDS DE PROJETO =================== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.pcard:hover { transform: translateY(-6px); border-color: rgba(41,198,220,.45); box-shadow: 0 24px 60px -30px rgba(41,198,220,.45); }
.pcard__btn { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__meta { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.pcard h3 { margin: .9rem 0 .5rem; font-size: 1.15rem; }
.pcard p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin-bottom: 1.1rem; flex: 1; }
.media { position: relative; aspect-ratio: 311 / 153; overflow: hidden; background: #0b1630; }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,9,15,.55)); pointer-events: none; }
.media__sprite { position: absolute; max-width: none; height: auto; transition: transform .8s var(--ease); transform-origin: 0 0; }
.media__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .media__img { transform: scale(1.05); }
.media .ph { min-height: 0; }

/* =================== PÁGINA DE PROJETOS =================== */
.nav__links a.is-current { color: var(--white); }
.nav__links a.is-current::after { transform: scaleX(1); }
.page-hero {
  padding: 170px var(--pad) 40px;
  background: radial-gradient(90% 120% at 80% -20%, rgba(13,79,160,.55), transparent 60%), var(--black);
}
.page-hero__inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
.page-hero .filters { margin-top: 2.4rem; }
.cta-band { padding: 40px var(--pad) clamp(90px, 11vw, 140px); }
.cta-band__inner {
  max-width: var(--max); margin: 0 auto; border-radius: 28px; padding: clamp(40px, 6vw, 72px); text-align: center;
  background: radial-gradient(100% 140% at 50% 130%, #5fc4d3 0%, #1f7fc4 30%, #0d4fa0 55%, #071a3d 85%);
}
.cta-band h2 { margin: 0 auto 1rem; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 52ch; margin: 0 auto 2rem; }

/* =================== JANELA DE DETALHES =================== */
.modal {
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--white);
  width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: visible;
}
.modal::backdrop { background: rgba(4,6,12,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal[open] { animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__box {
  position: relative; max-height: calc(100dvh - 32px); overflow: auto; border-radius: 24px;
  background: #0a0e18; border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(0,0,0,.9);
}
.modal__close {
  position: absolute; z-index: 3; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(7,9,15,.7); border: 1px solid var(--line); font-size: .95rem; transition: background .2s, border-color .2s;
}
.modal__close:hover { background: var(--black); border-color: var(--cyan); }
.media--modal { aspect-ratio: 311 / 153; }
.media--modal::after { background: linear-gradient(180deg, transparent 50%, #0a0e18); }
.modal__body { padding: 8px clamp(24px, 4vw, 48px) clamp(24px, 4vw, 40px); }
.modal__body h2 { max-width: none; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: .8rem 0 1rem; }
.modal__desc { color: rgba(255,255,255,.78); max-width: 66ch; font-size: 1.04rem; }
.modal__body h4 { margin: 1.8rem 0 .8rem; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.modal__feats { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.modal__feats li { padding: 12px 16px 12px 36px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); position: relative; font-size: .93rem; }
.modal__feats li::before { content: "✦"; position: absolute; left: 14px; color: var(--cyan); font-size: .8rem; top: 13px; }
.modal__info { display: flex; flex-wrap: wrap; gap: 32px; margin: 1.8rem 0; }
.modal__info dt { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.modal__info dd { font-weight: 600; }
.modal__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.modal__note { font-size: .9rem; color: var(--cyan); padding-right: 8px; }
.modal__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.modal__nav button { color: var(--muted); transition: color .2s; }
.modal__nav button:hover { color: var(--cyan); }

@media (max-width: 1080px) {
  .cards, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .partners__head { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  .cards, .cards--3 { grid-template-columns: 1fr; }
}
.pcard__meta { flex-wrap: wrap; row-gap: 6px; }
.tag { white-space: nowrap; }

/* =================== v3: fotos reais, galeria e logos =================== */
.media { aspect-ratio: 16 / 9; }
.media__count {
  position: absolute; z-index: 2; right: 12px; bottom: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  padding: .3em .7em; border-radius: 999px; background: rgba(7,9,15,.6); backdrop-filter: blur(6px); color: rgba(255,255,255,.85);
}
.pcard__client { font-size: .85rem !important; margin-bottom: .5rem !important; flex: 0 !important; }
.pcard__client b { color: var(--white); font-weight: 600; }

/* logos dos parceiros */
.logo-cell .logo-img { max-width: 78%; max-height: 54px; object-fit: contain; transition: opacity .3s, filter .3s; filter: none; }
.logo-cell .logo-img--tall { max-height: 92px; }
.logo-img--white { filter: brightness(0) invert(1) !important; opacity: .6; }
.logo-img--gray { filter: grayscale(1) contrast(1.1) !important; opacity: .55; }
.logo-cell:hover .logo-img { opacity: 1; }

/* galeria dentro da janela */
.modal { width: min(1120px, calc(100vw - 32px)); }
.modal__gallery { background: #05070c; }
.stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #05070c; }
.stage__img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: .2; } }
.stage__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  background: rgba(7,9,15,.55); border: 1px solid rgba(255,255,255,.2); font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; padding-bottom: 4px; backdrop-filter: blur(6px); transition: background .2s, border-color .2s;
}
.stage__arrow:hover { background: rgba(7,9,15,.85); border-color: var(--cyan); }
.stage__arrow--prev { left: 16px; } .stage__arrow--next { right: 16px; }
.stage__count { position: absolute; left: 16px; bottom: 14px; font-size: .8rem; padding: .3em .8em; border-radius: 999px; background: rgba(7,9,15,.6); }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.thumb { flex: none; width: 120px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; opacity: .45; border: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .8; }
.thumb.is-active { opacity: 1; border-color: var(--cyan); }
.modal__body { padding-top: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .88rem; padding: .45em 1em; border-radius: 999px; background: rgba(41,198,220,.1); border: 1px solid rgba(41,198,220,.35); }
@media (max-width: 600px) {
  .stage__arrow { width: 38px; height: 38px; font-size: 1.4rem; }
  .thumb { width: 88px; }
}

/* =================== v4: abertura com vitrine de produtos =================== */
.hero { background: var(--ink); align-items: flex-end; padding: 150px var(--pad) 210px; min-height: max(100svh, 720px); }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,9,15,.92) 0%, rgba(7,9,15,.7) 32%, rgba(7,9,15,.15) 62%, transparent 80%),
    linear-gradient(0deg, rgba(7,9,15,.98) 0%, rgba(7,9,15,.55) 22%, transparent 45%),
    linear-gradient(180deg, rgba(7,9,15,.6) 0%, transparent 18%),
    radial-gradient(80% 60% at 20% 110%, rgba(13,79,160,.35), transparent 70%);
}
.hero__inner { z-index: 2; }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 6rem); text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.hero__lead { color: rgba(255,255,255,.82); }

/* produto em destaque (canto direito) */
.hero__now {
  position: absolute; z-index: 2; right: var(--pad); bottom: 190px; max-width: 340px; text-align: right;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.hero__now-label { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); }
.hero__now-type { font-size: .82rem; color: rgba(255,255,255,.7); }
.hero__now strong { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero__now .link { margin-top: 6px; }
.hero__now > * { animation: nowIn .6s var(--ease) both; }
.hero__now > *:nth-child(2) { animation-delay: .05s; } .hero__now > *:nth-child(3) { animation-delay: .1s; } .hero__now > *:nth-child(4) { animation-delay: .15s; }
@keyframes nowIn { from { opacity: 0; transform: translateY(10px); } }

/* seletor de produtos (rodapé da abertura) */
.hero__picker {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 36px;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
}
.hpick {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; text-align: left; overflow: hidden;
  border-radius: 14px; background: rgba(7,9,15,.5); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .3s, border-color .3s;
}
.hpick:hover { background: rgba(7,9,15,.75); border-color: rgba(255,255,255,.28); }
.hpick img { width: 64px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; flex: none; opacity: .7; transition: opacity .3s; }
.hpick__txt { display: flex; flex-direction: column; font-size: .82rem; font-weight: 600; line-height: 1.25; min-width: 0; color: rgba(255,255,255,.75); }
.hpick__txt small { font-size: .66rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpick.is-active { border-color: rgba(41,198,220,.55); background: rgba(7,9,15,.72); }
.hpick.is-active img { opacity: 1; }
.hpick.is-active .hpick__txt { color: var(--white); }
.hpick__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.hpick.is-active .hpick__bar { animation: hbar var(--dur) linear forwards; }
@keyframes hbar { to { transform: scaleX(1); } }

@media (max-width: 1280px) {
  .hero__picker { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 230px; overflow-x: auto; scrollbar-width: none; }
  .hero__picker::-webkit-scrollbar { display: none; }
}
@media (max-width: 860px) {
  .hero { padding-bottom: 250px; align-items: flex-end; }
  .hero__now { left: var(--pad); right: auto; bottom: 120px; text-align: left; align-items: flex-start; }
  .hero__now-label, .hero__now-type { display: none; }
  .hero__now strong { font-size: 1.05rem; }
  .hero__picker { bottom: 24px; grid-auto-columns: 190px; }
  .hpick img { width: 52px; }
  .hero__shade { background: linear-gradient(0deg, rgba(7,9,15,.97) 0%, rgba(7,9,15,.75) 45%, rgba(7,9,15,.35) 75%, rgba(7,9,15,.6) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero__slide img { transform: none !important; } }

/* =================== v5: quadro de clientes, social media e rodapé =================== */
.partners--v5 { padding: clamp(90px, 11vw, 150px) var(--pad); background:
  radial-gradient(60% 50% at 0% 0%, rgba(13, 79, 160, .22), transparent 70%),
  radial-gradient(50% 50% at 100% 100%, rgba(42, 31, 92, .35), transparent 70%), var(--ink); }
.clients-wrap { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(260px, 1fr) 2.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.clients-head { position: sticky; top: 110px; }
.clients-head .eyebrow { color: var(--cyan); margin-bottom: .9rem; }
.clients-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; margin-bottom: 1.1rem; }
.clients-head p:not(.eyebrow) { color: var(--muted); font-size: .97rem; margin-bottom: 2rem; }
.clients-filter { display: grid; gap: 6px; }
.cfilter { display: flex; align-items: baseline; gap: 14px; text-align: left; padding: .7em 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; transition: color .25s, padding .25s; }
.cfilter b { font-size: .78rem; letter-spacing: .15em; color: var(--cyan); font-weight: 600; min-width: 2ch; }
.cfilter:hover { color: var(--white); padding-left: 6px; }
.cfilter.is-active { color: var(--white); padding-left: 6px; border-bottom-color: var(--cyan); }
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.client {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 34px 26px;
  border-radius: 14px; background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.07); overflow: hidden;
  transition: transform .45s var(--ease), border-color .35s, background .35s, opacity .35s, filter .35s;
}
.client::before, .client::after { content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--cyan); border-style: solid; opacity: 0; transition: opacity .3s, transform .4s var(--ease); }
.client::before { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; transform: translate(6px, 6px); }
.client::after { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; transform: translate(-6px, -6px); }
.client:hover { transform: translateY(-4px); border-color: rgba(41, 198, 220, .35); background: linear-gradient(160deg, rgba(41,198,220,.10), rgba(13,79,160,.08)); }
.client:hover::before, .client:hover::after { opacity: 1; transform: none; }
.client.is-dim { opacity: .18; filter: blur(1px); transform: scale(.97); }
.client__no { position: absolute; top: 12px; left: 16px; font-size: .7rem; letter-spacing: .18em; color: rgba(255,255,255,.35); transition: opacity .3s; }
.client__tag { position: absolute; top: 12px; right: 14px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.client:hover .client__no { opacity: 0; }
.client__name { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: .78rem; color: var(--cyan); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.client:hover .client__name { opacity: 1; transform: none; }
.client .logo-img { max-width: 72%; max-height: 50px; object-fit: contain; transition: opacity .3s, transform .45s var(--ease); }
.client .logo-img--tall { max-height: 80px; }
.client:hover .logo-img { opacity: 1; transform: scale(1.04); }
.client .wordmark { font-weight: 600; color: var(--muted); }

.service__more { display: inline-block; margin-top: 1.2rem; font-size: .9rem; }

/* página Social Media */
.social-hero { background: radial-gradient(70% 70% at 85% 10%, rgba(13, 79, 160, .45), transparent 70%), radial-gradient(50% 60% at 10% 100%, rgba(42, 31, 92, .5), transparent 70%); }
.social-hero__ctas { margin-top: 2rem; }
.platforms { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(40px, 6vw, 70px); }
.platforms li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.platforms svg { grid-row: span 2; width: 30px; height: 30px; fill: var(--cyan); }
.platforms b { font-size: 1.05rem; }
.platforms span { color: var(--muted); font-size: .88rem; }

/* redes da DHM (acima do rodapé) */
.follow { border-top: 1px solid var(--line); background: var(--ink); padding: 0 var(--pad); }
.follow:empty { display: none; }
.follow__inner { max-width: var(--max); margin: 0 auto; padding: 44px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.follow h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.follow p { color: var(--muted); font-size: .92rem; }
.follow__links { display: flex; flex-wrap: wrap; gap: 10px; }
.follow__link { display: inline-flex; align-items: center; gap: 10px; padding: .75em 1.2em; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; transition: border-color .25s, background .25s, color .25s; }
.follow__link svg { width: 18px; height: 18px; fill: currentColor; }
.follow__link:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(41, 198, 220, .06); }

@media (max-width: 1024px) {
  .clients-wrap { grid-template-columns: 1fr; }
  .clients-head { position: static; }
  .clients-filter { grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
}
@media (max-width: 760px) {
  .clients { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .client { padding: 28px 16px; }
  .client__tag { display: none; }
  .platforms { grid-template-columns: 1fr; }
}
.client .logo-img--white { opacity: .82; }
.client .logo-img--gray { opacity: .75; }
.client--cta { align-content: center; gap: 10px; text-align: center; border-style: dashed; border-color: rgba(41,198,220,.35); background: transparent; color: var(--muted); font-size: .95rem; }
.client--cta b { color: var(--cyan); font-size: 1.4rem; font-weight: 400; transition: transform .3s; }
.client--cta:hover { color: var(--white); }
.client--cta:hover b { transform: translateX(6px); }
.filters__sep { width: 1px; align-self: stretch; margin: 4px 6px; background: var(--line); }

/* =================== v6: faixas cruzadas de clientes =================== */
.logos { border-top: 0; position: relative; overflow: hidden; padding: clamp(50px, 6vw, 80px) 0; }
.band { position: relative; width: 110%; margin-left: -5%; overflow: hidden; }
.band__track { display: flex; align-items: center; width: max-content; animation: logos 70s linear infinite; }
.band--logos {
  transform: rotate(-2.5deg); z-index: 2;
  background: linear-gradient(90deg, var(--navy), var(--blue) 50%, var(--navy));
  border-top: 1px solid rgba(41,198,220,.4); border-bottom: 1px solid rgba(41,198,220,.4);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.band--logos:hover .band__track { animation-play-state: paused; }
.band--logos .logo-cell { width: auto; min-width: 0; height: 120px; padding: 0 clamp(26px, 3vw, 44px); border: 0; background: none; }
.band--logos .logo-cell:hover { background: none; }
.band--logos .logo-img { max-width: 170px; max-height: 46px; }
.band--logos .logo-img--tall { max-height: 74px; }
.band--logos .logo-img--white { opacity: .9; }
.band--logos .logo-img--gray { opacity: .85; }
.band--logos .logo-cell:hover .logo-img { opacity: 1; transform: scale(1.06); transition: transform .3s; }
.logo-sep { font-style: normal; color: var(--cyan); font-size: .9rem; opacity: .8; }
.band--text {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%) rotate(3deg); z-index: 1;
  background: rgba(255,255,255,.04); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band--text .band__track { animation-direction: reverse; animation-duration: 55s; padding: 14px 0; }
.band--text span { font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); padding: 0 26px; white-space: nowrap; }
.band--text i { font-style: normal; color: var(--cyan); font-size: .7rem; }
@media (max-width: 760px) {
  .band--logos .logo-cell { height: 90px; padding: 0 22px; }
  .band--logos .logo-img { max-width: 120px; max-height: 34px; }
  .band--logos .logo-img--tall { max-height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .band__track { animation: none; } }
.band--text { position: relative; top: auto; transform: rotate(1.8deg); margin-top: -6px; background: rgba(7,9,15,.9); }

/* =================== v7: linha única e simples de clientes =================== */
.logos { padding: 10px 0 0; overflow: hidden; }
.band { width: 100%; margin: 0; transform: none; background: none; border: 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.band:hover .band__track { animation-play-state: paused; }
.band .logo-cell { width: auto; height: 110px; padding: 0 clamp(30px, 3.5vw, 56px); border: 0; background: none; }
.band .logo-cell:hover { background: none; }
.band .logo-img { max-width: 160px; max-height: 44px; }
.band .logo-img--tall { max-height: 70px; }
.band .logo-img--white { opacity: .55; }
.band .logo-img--gray { opacity: .5; }
.band .logo-cell:hover .logo-img { opacity: 1; }
@media (max-width: 760px) {
  .band .logo-cell { height: 84px; padding: 0 22px; }
  .band .logo-img { max-width: 110px; max-height: 32px; }
  .band .logo-img--tall { max-height: 50px; }
}
