/* Estrutura completa (27/10/2026): Marketing, Audiovisual, Trabalhos e Processo.
   A HAWL, Contato e rodapé têm CSS próprio em sections/. Mesma linguagem das
   seções React; refinamento por seção com Alisson. Movimento: transform/opacity. */

.hs-section {
  --hs-text: #f0f1f4;
  --hs-body: #bac1cd;
  --hs-muted: #8994a7;
  --hs-line: #2a3444;
  --hs-panel: #0e1320;
  position: relative;
  padding: clamp(64px, 8vw, 128px) 0 clamp(72px, 8vw, 120px);
  color: var(--hs-text);
}
/* A heading sized by the height of the screen too: on a low window it gives way first.
   Tecnologia (.ht-section, technology/technology.css) takes the same scale. */
.hs-section, .ht-section { --hs-title: clamp(34px, min(4.2vw, 7.6vh), 70px); }
.hs-section h2, .hs-section h3, .hs-section p, .hs-section ul, .hs-section ol, .hs-section dl, .hs-section dd { margin: 0; }
.hs-section ul, .hs-section ol { padding: 0; list-style: none; }
.hs-intro { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.hs-intro h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--hs-title); line-height: 1.06; letter-spacing: -.045em; }
.hs-stop { color: var(--blue); }
.hs-lead { margin-top: 24px !important; max-width: 540px; color: var(--hs-body); font-size: 17px; line-height: 1.7; }
.hs-section h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }

/* Revelação ao rolar, ativada pelo script (sem JS o conteúdo já aparece). Os blocos de uma
   seção entram em cascata, um depois do outro: o título, e então o que vem abaixo dele. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--hs-step, 0) * 70ms); }
.js-reveal [data-reveal] ~ [data-reveal] { --hs-step: 1; }
.js-reveal [data-reveal] ~ [data-reveal] ~ [data-reveal] { --hs-step: 2; }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* Audiovisual: the banner comes later, in its own module. Its room is reserved
   here, so loading it moves nothing; with no script, the noscript copy stands.
   One screen, like the sections around it: the stage is the screen less the page's
   margins, and the heading lies on it. Closed, the folders start under the heading;
   an open folder rises over it and has the whole stage. --av-foot is the margin the
   page stack keeps under a sheet, so the section is exactly what the stack fits. */
/* The floor of --av-head keeps the heading clear of the fixed logo on a low window. */
.hs-audiovisual { --av-inset: 24px; --av-foot: 24px; --av-head: clamp(58px, 7vh, 88px); display: grid; grid-template-columns: minmax(0, 1fr); padding-top: var(--av-inset); padding-bottom: 0; }
@supports (height: 100svh) { .hs-audiovisual { padding-bottom: calc(100lvh - 100svh); } }
.hs-audiovisual > .hs-intro, .hs-audiovisual > .av-root { grid-area: 1 / 1; }
.hs-audiovisual .hs-intro { align-self: start; margin: calc(var(--av-head) - var(--av-inset)) 0 clamp(18px, 3.4vh, 40px); }
.av-root { position: relative; height: max(calc(100vh - var(--av-inset) - var(--av-foot)), 320px); scroll-margin-top: calc(var(--av-inset) - 32px); }
@supports (height: 100svh) { .av-root { height: max(calc(100svh - var(--av-inset) - var(--av-foot)), 320px); } }
/* The stage lies over the heading: only the folders take the pointer. */
.av-root:not([data-failed]) { pointer-events: none; }
/* Should the module not come, the section stands on the noscript copy, under the heading. */
.av-root[data-failed] { grid-area: auto; height: auto; padding-bottom: clamp(72px, 8vw, 120px); }
@media (scripting: none) { .av-root { display: none; } .hs-audiovisual { padding-bottom: clamp(72px, 8vw, 120px); } }
.av-noscript { display: grid; gap: 22px; margin: 0; max-width: 640px; }
.av-noscript dt { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.av-noscript dd { margin: 6px 0 0; color: var(--hs-body); line-height: 1.6; }

@media (max-width: 760px) { .hs-section, .ht-section { --hs-title: clamp(32px, 10.2vw, 46px); } }
@media (max-width: 600px) { .hs-audiovisual { --av-inset: 16px; --av-foot: 16px; } }
@media (max-height: 480px) { .hs-audiovisual { --av-inset: 6px; } }
@media (max-width: 520px) {
  .hs-lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hs-section *, .hs-section *::before, .hs-section *::after { animation: none !important; transition-duration: 0s !important; }
}
