/* Base compartilhada: tipografia, fluxo, foco e componentes nas duas páginas. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--stage); color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.container { width: calc(100% - var(--gutter) * 2); max-width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: white; color: var(--stage); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.arrow { width: 24px; height: 24px; flex-shrink: 0; transition: transform .35s var(--ease); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 13px 28px; border: 1px solid white; border-radius: 999px; color: var(--stage); background: white; font-size: 16px; font-weight: 500; line-height: 1.4; transition: background .25s, border-color .25s, transform .35s var(--ease); }
.pill:hover { background: #e8e8e8; border-color: #e8e8e8; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; font-size: 17px; font-weight: 500; }
.text-link:hover .arrow { transform: translateY(4px); }

/* Abertura: uma composição cinematográfica, sem impedir rolagem das outras seções. */
.hero { position: relative; isolation: isolate; min-height: 740px; height: 100svh; max-height: 1200px; overflow: clip; background: var(--stage); }
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-media { overflow: hidden; }
.hero-poster, .hero-video { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-poster { transform: scale(1.025) translate3d(var(--pan-x, 0px), var(--pan-y, 0px), 0); }
.hero-video { opacity: 0; transition: opacity .8s; }
.video-ready .hero-video { opacity: 1; }
/* Mantém contraste sobre o enquadramento mais claro do vídeo, sem editar a mídia original. */
.hero-shade { background: linear-gradient(90deg, rgb(5 5 5 / 90%) 0%, rgb(5 5 5 / 75%) 35%, rgb(5 5 5 / 45%) 58%, transparent 80%), linear-gradient(180deg, rgb(5 5 5 / 75%) 0%, transparent 25%), linear-gradient(0deg, var(--stage) 0%, rgb(5 5 5 / 35%) 8%, transparent 27%); }
.topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: clamp(28px, calc(32 * var(--hero-unit)), 40px); }
.brand { width: 195px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 34px); margin-left: auto; }
.desktop-nav a, .footer-links a { color: #b6b5b5; font-size: 15px; white-space: nowrap; transition: color .2s; }
.desktop-nav a:hover, .footer-links a:hover { color: white; }
.header-actions { display: flex; align-items: center; gap: 32px; }
.nav-cta { min-height: 49px; padding: 12px 25px; font-size: 15px; }
.language-switch { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); font-size: 14px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 24px; }
.language-switch [aria-current] { color: white; }
.language-switch a:hover { color: white; }
.hero-content { position: absolute; top: clamp(190px, calc(239 * var(--hero-unit)), 285px); left: 0; right: 0; }
.headline { font-size: clamp(52px, calc(90 * var(--hero-unit)), 100px); line-height: 1.13; letter-spacing: -.045em; }
.headline span { display: block; }
.hero-description { margin-top: clamp(24px, calc(25 * var(--hero-unit)), 32px); color: var(--muted); font-size: clamp(17px, calc(22 * var(--hero-unit)), 23px); line-height: 1.5; max-width: 740px; }
.hero-description span { display: block; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: clamp(32px, calc(44 * var(--hero-unit)), 48px); }
.hero-bottom { position: absolute; bottom: 42px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-categories { display: flex; gap: 42px; font-size: 14px; color: #c0c0bf; }
.motion-toggle { display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%; background: rgb(5 5 5 / 28%); width: 44px; height: 44px; flex-shrink: 0; }
.motion-toggle svg { width: 24px; height: 24px; }
.motion-toggle .play-icon, .motion-paused .motion-toggle .pause-icon { display: none; }
.motion-paused .motion-toggle .play-icon { display: block; }
.motion-toggle:disabled { opacity: .45; }

/* Faixas abertas e listas; conteúdo comercial separado nos módulos de idiomas. */
.section-band { padding-block: 110px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 6vw, 90px); }
h2 { font-size: clamp(36px, 4.85vw, 72px); line-height: 1.18; letter-spacing: -.045em; }
h2 span { display: block; }
.section-label { margin-bottom: 24px; color: #b6b5b5; font-size: 16px; }
.section-description { margin-top: 36px; color: var(--muted); font-size: 19px; max-width: 480px; line-height: 1.65; }
.solutions, .about { background: var(--graphite); }
.solutions-list { margin-top: -24px; }
.solution-row { display: grid; grid-template-columns: 34px 1fr 28px; gap: 22px; padding: 29px 0 32px; border-bottom: 1px solid var(--line); }
.solutions-list li:last-child .solution-row { border-bottom: 0; padding-bottom: 0; }
.item-number { font-size: 15px; color: var(--orange); font-variant-numeric: tabular-nums; }
.solution-row .item-number { margin-top: 8px; }
.solution-row h3 { font-size: 32px; letter-spacing: -.025em; line-height: 1.25; }
.solution-row p { margin-top: 17px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.solution-row .arrow { width: 27px; height: 27px; margin-top: 4px; }
.solution-row:hover .arrow { transform: translate(3px, -3px); }
.solution-row:hover h3 { color: white; }
.process-layout { display: grid; grid-template-columns: .9fr 1.5fr; gap: 56px; align-items: center; }
.process h2 { font-size: clamp(32px, 3vw, 45px); }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-left: 1px solid var(--line); padding-left: 44px; }
.process-list h3 { font-size: 25px; line-height: 1.3; margin-block: 18px; }
.process-list p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.about-copy { color: #b6b5b5; font-size: 19px; line-height: 1.65; }
.about-copy > p + p { margin-top: 28px; }
.about-copy .location { margin-top: 36px; font-size: 15px; color: var(--muted); }
.contact { border-bottom: 1px solid var(--line); }
.contact h2 { font-size: clamp(40px, 4.2vw, 64px); }
.contact-links { min-width: 0; }
.email-link { display: inline-block; max-width: 100%; font-size: clamp(30px, 3.75vw, 57px); line-height: 1.16; letter-spacing: -.045em; overflow-wrap: anywhere; }
.email-link span { display: block; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.email-link:hover { color: #d8d8d8; }
.phone-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.035em; }
.phone-link:hover .arrow { transform: translate(3px, -3px); }
.footer { padding-block: 46px 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 32px; }
.brand-footer { display: inline-block; width: 158px; }
.footer-top p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.footer-links { display: flex; align-items: center; gap: 38px; }
.footer-links > nav:first-child { display: flex; gap: 24px; }
.footer-links .language-switch { font-size: 14px; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* O menu usa dialog nativo para foco modal e fechamento por Escape. */
.menu-toggle, .menu-close { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgb(255 255 255 / 5%); position: relative; }
.menu-toggle span, .menu-close span { width: 18px; height: 1px; background: var(--ink); position: absolute; left: 14px; top: 20px; }
.menu-toggle span + span { top: 27px; }
.menu-close { display: block; }
.menu-close span { top: 23px; transform: rotate(45deg); }
.menu-close span + span { transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 30px var(--gutter) max(30px, env(safe-area-inset-bottom)); border: 0; background: rgb(5 5 5 / 97%); color: var(--ink); overflow-y: auto; }
.mobile-menu::backdrop { background: var(--stage); }
.menu-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 16px; }
.mobile-nav { display: flex; flex-direction: column; margin-block: 48px; }
.mobile-nav a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: clamp(26px, 6vw, 38px); letter-spacing: -.035em; }
.mobile-menu > .pill { width: 100%; }
.mobile-menu > .language-switch { margin-top: 26px; }

/* Aprimoramentos progressivos: conteúdo permanece visível quando JS não executa. */
@media (prefers-reduced-motion: no-preference) {
  .motion-enabled .hero-poster { animation: camera-drift 24s ease-in-out infinite alternate; }
  .motion-paused .hero-poster { animation-play-state: paused; }
  .motion-enabled .headline { animation: rise .95s .06s var(--ease) both; }
  .motion-enabled .hero-description { animation: rise .95s .14s var(--ease) both; }
  .motion-enabled .hero-actions { animation: rise .95s .22s var(--ease) both; }
  .motion-enabled .topbar { animation: rise .8s var(--ease) both; }
  .motion-enabled .hero-bottom { animation: fade 1.1s .34s both; }
  .reveal-ready .reveal { transition: opacity .85s var(--ease), transform .85s var(--ease); }
  .reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(20px); }
  .mobile-menu[open] .mobile-nav { animation: rise .5s var(--ease) both; }
}
@keyframes camera-drift {
  from { transform: scale(1.025) translate3d(var(--pan-x, 0px), var(--pan-y, 0px), 0); }
  to { transform: scale(1.065) translate3d(var(--pan-x, 0px), var(--pan-y, 0px), 0); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1600px) { .headline { font-size: clamp(90px, 5.7vw, 110px); } }
@media (max-width: 1100px) {
  .desktop-nav { gap: 18px; }
  .header-actions { gap: 20px; }
  .brand { width: 165px; }
  .nav-cta { display: none; }
  .two-columns { gap: 45px; }
  .process-layout { grid-template-columns: 1fr; gap: 38px; }
  .process-list { border-left: 0; border-top: 1px solid var(--line); padding: 32px 0 0; }
  .about h2 { font-size: 44px; }
  .footer-links { gap: 24px; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 16px; }
  .hero { min-height: 780px; height: 100svh; max-height: 1100px; }
  .topbar { padding-top: max(24px, env(safe-area-inset-top)); gap: 12px; }
  .brand { width: 155px; }
  .desktop-nav { position: absolute; top: 88px; left: 0; right: 0; display: flex; justify-content: space-between; gap: 12px; }
  .desktop-nav a { font-size: 12px; }
  .js-ready .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { gap: 15px; }
  .language-switch { gap: 3px; font-size: 12px; }
  .hero-content { top: 180px; }
  .headline { font-size: clamp(40px, 8.5vw, 62px); line-height: 1.17; letter-spacing: -.045em; max-width: 620px; }
  .hero-description { font-size: 16px; max-width: 450px; margin-top: 28px; color: #d6d6d4; }
  .hero-description span { display: inline; }
  .hero-description span + span::before { content: ' '; }
  .hero-actions { gap: 24px; margin-top: 32px; flex-wrap: wrap; }
  .hero-actions .pill { font-size: 15px; padding-inline: 24px; min-height: 50px; }
  .text-link { font-size: 15px; }
  .hero-poster, .hero-video { object-position: 77% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(5 5 5 / 72%) 0%, rgb(5 5 5 / 70%) 88%, rgb(5 5 5 / 35%) 100%), linear-gradient(0deg, var(--stage) 0%, rgb(5 5 5 / 30%) 22%, transparent 52%, rgb(5 5 5 / 18%) 100%); }
  .hero-bottom { bottom: 27px; align-items: flex-end; padding-top: 18px; }
  .hero-categories { flex-direction: column; gap: 5px; font-size: 12px; }
  .section-band { padding-block: 70px; }
  .two-columns { grid-template-columns: 1fr; gap: 38px; }
  h2, .about h2 { font-size: clamp(35px, 7.6vw, 46px); }
  .section-label { margin-bottom: 18px; font-size: 14px; }
  .section-description { margin-top: 25px; font-size: 17px; }
  .solutions-list { margin-top: 0; }
  .solution-row { grid-template-columns: 26px 1fr 24px; gap: 14px; padding-block: 26px; }
  .solutions-list li:first-child .solution-row { padding-top: 0; }
  .solution-row h3 { font-size: 23px; }
  .solution-row p { font-size: 15px; margin-top: 14px; }
  .solution-row .arrow { width: 24px; }
  .process h2 { font-size: 36px; }
  .process-list { grid-template-columns: 1fr; gap: 30px; }
  .process-list li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; }
  .process-list .item-number { grid-row: span 2; padding-top: 3px; }
  .process-list h3 { margin: 0 0 12px; font-size: 24px; }
  .process-list p { font-size: 15px; }
  .about-copy { font-size: 17px; }
  .contact h2 { font-size: 43px; }
  .email-link { font-size: clamp(29px, 8vw, 48px); }
  .phone-link { font-size: 26px; margin-top: 30px; padding-top: 25px; }
  .footer { padding-block: 38px 25px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 25px; }
  .footer-links { flex-wrap: wrap; gap: 16px 26px; }
  .footer-links a { font-size: 13px; }
  .footer-links > nav:first-child { gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 11px; }
}
@media (max-width: 380px) {
  :root { --gutter: 20px; }
  .brand { width: 135px; }
  .header-actions { gap: 8px; }
  .headline { font-size: 38px; }
  .hero-actions { gap: 12px; }
  .hero { min-height: 740px; }
  .hero-content { top: 155px; }
  .contact h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .hero-poster { transform: none; }
}

/* Expansão: catálogo editorial em linhas, prévia de UI real e perguntas nativas. */
.projects { padding-block: 58px 70px; }
.projects > .container { border-top: 1px solid var(--orange); }
.project-head { display: grid; grid-template-columns: 2.55fr 1fr; gap: 60px; padding-top: 78px; }
.project-head h2 { font-size: clamp(38px, 4.3vw, 64px); }
.project-head .section-label { color: var(--orange); }
.project-head > p { padding-top: 46px; font-size: 23px; line-height: 1.5; }
.projects-empty { display: grid; grid-template-columns: 90px 1fr auto; gap: 50px; align-items: center; min-height: 520px; }
.empty-arrow { color: var(--purple); }
.empty-arrow .arrow { width: 70px; height: 70px; }
.projects-empty p:first-child { font-size: 30px; line-height: 1.35; letter-spacing: -.025em; }
.projects-empty p + p { margin-top: 12px; font-size: 19px; color: var(--muted); }
.projects-empty .pill { padding-inline: 26px; }
.project-note { border-top: 1px solid var(--orange); padding-top: 18px; font-size: 15px; color: var(--muted); }
.project-note .pill { margin-top: 22px; }
.project-list { margin-block: 55px 60px; }
.project-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding-block: 36px; border-top: 1px solid var(--line); }
.project-row h3 { margin-block: 12px; font-size: 34px; letter-spacing: -.035em; }
.project-row h3 a:hover { text-decoration: underline; text-underline-offset: .16em; }
.project-row > div > p:last-child { color: var(--muted); max-width: 720px; }
.project-row .text-link { border: 0; background: transparent; color: var(--ink); }
.project-fallback { grid-column: 1 / -1; }
.project-fallback summary { cursor: pointer; min-height: 44px; }
.projects-ready .project-fallback { display: none; }
.project-dialog { width: min(850px, calc(100% - 40px)); max-height: 88dvh; border: 1px solid var(--line); border-radius: 16px; padding: 48px; background: var(--graphite); color: var(--ink); overflow-y: auto; }
.project-dialog::backdrop { background: rgb(0 0 0 / 78%); }
.project-dialog-toolbar { position: sticky; top: 0; z-index: 1; padding-bottom: 22px; background: var(--graphite); }
.project-dialog .menu-close { margin-left: auto; }
[data-project-detail-body] h3 { font-size: 42px; line-height: 1.15; letter-spacing: -.04em; }
[data-project-detail-body] h4 { font-weight: 500; margin: 32px 0 12px; font-size: 18px; color: var(--orange); }
[data-project-detail-body] > p { margin-top: 20px; color: #c7c6c9; line-height: 1.7; }
[data-project-detail-body] .project-lead { color: var(--ink); font-size: 22px; line-height: 1.5; }
.project-features { list-style: disc; padding-left: 20px; color: #c7c6c9; }
.project-features li { padding-left: 5px; line-height: 1.65; }
.project-features li + li { margin-top: 14px; }
.project-features li::marker { color: var(--purple); }
.project-cover { display: block; width: 100%; height: 200px; object-fit: contain; margin-top: 32px; border-radius: 8px; }


.faq h2 { font-size: clamp(38px, 4.2vw, 62px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; padding-block: 24px; cursor: pointer; font-size: 24px; line-height: 1.35; list-style: none; letter-spacing: -.025em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { display: grid; place-items: center; border: 1px solid var(--muted); width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; }
.faq-list svg { width: 24px; height: 24px; }
.faq-list details[open] summary > span { color: var(--orange); border-color: var(--orange); }
.faq-list details[open] .faq-plus { display: none; }
.faq-list details > p { margin-bottom: 32px; max-width: 650px; color: #b6b5b5; font-size: 19px; }
summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.faq-cta { border-top: 1px solid var(--line); margin-top: 92px; padding-top: 60px; }
.faq-cta::before { content: ''; display: block; width: 44px; height: 2px; background: var(--purple); margin-bottom: 25px; }
.faq-cta h3 { font-size: clamp(32px, 3.5vw, 52px); letter-spacing: -.035em; line-height: 1.25; }
.faq-cta p { margin-block: 16px 30px; color: var(--muted); }
.reading-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 3px; background: var(--purple); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 20; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--graphite); box-shadow: 0 4px 16px rgb(0 0 0 / 20%); }
.back-to-top .arrow { transform: rotate(180deg); }
.footer-links > nav:first-child { flex-wrap: wrap; }
.animations-paused *, .animations-paused *::before, .animations-paused *::after { animation: none !important; transition: none !important; }
.animations-paused .reveal { opacity: 1 !important; transform: none !important; }
html.animations-paused { scroll-behavior: auto; }

@media (max-width: 1200px) {
  .projects-empty { grid-template-columns: 60px 1fr; gap: 30px; }
  .projects-empty .pill { grid-column: 2; justify-self: start; margin-top: -100px; }
  .project-head { grid-template-columns: 1.7fr 1fr; gap: 35px; }
}
@media (max-width: 1024px) {
  .desktop-nav { position: absolute; top: 88px; left: 0; right: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  .js-ready .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .faq .two-columns { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .project-head { grid-template-columns: 1fr; padding-top: 45px; gap: 25px; }
  .project-head h2 { font-size: 39px; }
  .project-head > p { padding-top: 0; font-size: 18px; max-width: 450px; color: #b6b5b5; }
  .projects-empty { display: flex; flex-direction: column; align-items: flex-start; min-height: auto; gap: 24px; padding-block: 58px; }
  .empty-arrow .arrow { width: 48px; height: 48px; }
  .projects-empty p:first-child { font-size: 25px; }
  .projects-empty p + p { font-size: 16px; }
  .projects-empty .pill { margin-top: 0; font-size: 14px; padding-inline: 20px; }
  .project-note { font-size: 13px; }
  .project-row { grid-template-columns: 1fr; gap: 18px; }
  .project-row h3 { font-size: 28px; }
  .project-dialog { padding: 24px; }
  [data-project-detail-body] h3 { font-size: 32px; }
  [data-project-detail-body] .project-lead { font-size: 19px; }
  .faq h2 { font-size: 39px; }
  .faq-list summary { font-size: 20px; min-height: 90px; gap: 18px; }
  .faq-list details > p { font-size: 16px; }
  .faq-cta { margin-top: 55px; padding-top: 38px; }
  .faq-cta h3 { font-size: 34px; }
  .back-to-top { right: 16px; bottom: 16px; }
}
