/* Componentes do site Broccoli. Depende de tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* nenhum estilo de componente pode reexibir algo escondido */
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: var(--t-corpo);
  line-height: 1.55;
  color: var(--tinta);
  background: var(--branco);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
/* cores das partes do logo e dos ícones embutidos (sem estilo inline, por causa da CSP) */
.pinta-roxo { fill: var(--roxo); }
.pinta-verde { fill: var(--verde); }

/* ---------- Foco do teclado (WCAG 2.4.7 e 2.4.11) ----------
   Um contorno que sempre aparece: roxo no claro, verde no escuro. */
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
[data-tema="roxo"], [data-tema="noite"], .topo:not(.topo--claro), .rodape, .menu-celular, .zap { --foco: var(--verde); }

/* campo-isca dos formulários: fora da tela para pessoas e leitores de tela; robôs costumam preencher */
.isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* "Pular para o conteúdo": primeiro item da página, aparece ao receber foco */
.pular { position: absolute; left: 1rem; top: -4rem; z-index: calc(var(--z-aviso) + 1); background: var(--verde); color: var(--roxo); font: 700 var(--t-mini)/1 var(--f-titulo); padding: .9em 1.2em; border-radius: var(--pilula); text-decoration: none; transition: top var(--dur-rapida); }
.pular:focus { top: 1rem; outline: 3px solid var(--roxo); outline-offset: 2px; }

/* Pausar vídeos que tocam sozinhos (WCAG 2.2.2): um botão por seção, a escolha vale para o site todo */
.tem-pausa { position: relative; }
.pausa-video { position: absolute; right: calc(var(--gutter) + 4.2rem); bottom: 1.2rem; z-index: 6; display: inline-flex; align-items: center; gap: .5rem; font: 700 var(--t-mini)/1 var(--f-titulo); color: var(--branco); background: rgb(var(--noite-rgb) / .7); backdrop-filter: blur(6px); border: 1px solid rgb(var(--branco-rgb) / .3); border-radius: var(--pilula); padding: .75em 1em; cursor: pointer; --foco: var(--verde); }
.pausa-video:hover { background: var(--noite); }
.pausa-video svg { width: 14px; height: 14px; fill: currentColor; }
/* fieldset nasce com largura mínima do conteúdo: sem isto, grades de opções estouram no celular */
fieldset { min-width: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.secao { padding-block: var(--secao); }

.kicker {
  font-family: var(--f-titulo); font-size: var(--t-mini); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--verde); margin-bottom: 1.2rem;
}
.kicker--roxo { color: var(--roxo); }

/* título vem do painel: palavra longa demais para a coluna quebra com hífen (pt-BR), sem rolagem para o lado */
.titulo-secao { font-size: var(--t-1); color: var(--roxo); max-width: 16ch; overflow-wrap: break-word; hyphens: auto; }
.titulo-secao--claro { color: var(--branco); }
/* "sublinha": faixa verde atrás das palavras: verde nunca como texto sobre branco */
.sublinha {
  background: linear-gradient(transparent 58%, var(--verde) 58%, var(--verde) 92%, transparent 92%);
  background-size: var(--sub, 100%) 100%; background-repeat: no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.sublinha--verde { background: none; color: var(--verde); }

/* ---------- Sem "flash" antes da animação ----------
   Com JS, o que vai animar já nasce escondido (classe .js posta no <head>).
   Com "reduzir movimento" ou sem GSAP, base.js põe .sem-movimento e tudo aparece. */
.js:not(.sem-movimento) [data-revela],
.js:not(.sem-movimento) [data-entra],
.js:not(.sem-movimento) [data-obra]:not(.is-visto) { opacity: 0; }
.js:not(.sem-movimento) [data-revela] .sublinha { --sub: 0%; }

/* ---------- Temas de cor por seção (data-tema) ---------- */
[data-tema="roxo"]  { --bg: var(--roxo);  --fg: var(--branco); --destaque: var(--verde); --linha: rgb(var(--branco-rgb) / .22); }
[data-tema="noite"] { --bg: var(--noite); --fg: var(--branco); --destaque: var(--verde); --linha: rgb(var(--branco-rgb) / .18); }
[data-tema="claro"] { --bg: var(--branco); --fg: var(--tinta); --destaque: var(--roxo); --linha: rgb(var(--roxo-rgb) / .2); }
[data-tema="nevoa"] { --bg: var(--nevoa); --fg: var(--tinta); --destaque: var(--roxo); --linha: rgb(var(--roxo-rgb) / .2); }
[data-tema="verde"] { --bg: var(--verde); --fg: var(--roxo); --destaque: var(--roxo); --linha: rgb(var(--roxo-rgb) / .3); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--roxo); --fg: var(--branco);
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-titulo); font-weight: 600; font-size: var(--t-legenda);
  padding: 1em 1.6em; border-radius: var(--pilula); border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  transition: transform var(--dur-lenta) var(--ease), background-color var(--dur), color var(--dur);
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
.btn--verde { --bg: var(--verde); --fg: var(--roxo); }
.btn--vazado-roxo { --bg: transparent; --fg: var(--roxo); border-color: var(--roxo); }
.btn--vazado-roxo:hover { --bg: var(--roxo); --fg: var(--verde); }
.btn--grande { padding: 1.15em 1.9em; font-size: 1rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn--roxo { --bg: var(--roxo); --fg: var(--branco); }
.btn--roxo:hover { --bg: var(--roxo-escuro); }
.btn--vazado { background: transparent; border-color: currentColor; color: var(--branco); }
.btn--p { padding: .7em 1.2em; font-size: var(--t-mini); }

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-topo);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter); color: var(--branco);
  transition: background-color var(--dur-lenta), backdrop-filter var(--dur-lenta), padding var(--dur-lenta);
}
.topo.is-solido { background: color-mix(in srgb, var(--roxo) 88%, transparent); backdrop-filter: blur(12px); padding-block: .6rem; }
.topo__nav { display: flex; gap: 2rem; font-weight: 600; }
.topo__nav a { text-decoration: none; position: relative; }
.topo__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--verde); transition: right var(--dur) var(--ease); }
.topo__nav a:hover::after { right: 0; }
.marca { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; }
.marca__logo { display: block; height: 42px; width: auto; overflow: visible; }


/* ---------- Topo: submenus, área do cliente, menu do celular ---------- */
.topo__nav { align-items: center; }
.menu-grupo { position: relative; }
.menu-grupo__botao { font: inherit; font-weight: 600; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.menu-grupo__botao::after { content: ""; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -.15em; transition: rotate var(--dur) var(--ease), translate var(--dur) var(--ease); }
.menu-grupo:hover .menu-grupo__botao::after, .menu-grupo.is-aberto .menu-grupo__botao::after { rotate: 225deg; translate: 0 .1em; }
.submenu {
  position: absolute; left: 50%; top: calc(100% + 1rem); translate: -50% 8px; min-width: 300px; z-index: 5;
  display: grid; gap: .2rem; padding: .6rem; border-radius: 20px; background: var(--branco); color: var(--tinta);
  box-shadow: var(--sombra-flutua); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease), visibility 0s var(--dur);
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; } /* ponte para o mouse não perder o menu */
.menu-grupo:hover .submenu, .menu-grupo.is-aberto .submenu, .menu-grupo:focus-within .submenu { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
.submenu a { display: grid; gap: .15rem; padding: .8rem 1rem; border-radius: 14px; text-decoration: none; }
.submenu a::after { display: none; }
.submenu a strong { font-family: var(--f-titulo); font-size: var(--t-legenda); color: var(--roxo); }
.submenu a span { font-size: var(--t-mini); font-weight: 500; color: var(--texto-2); }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--nevoa); }
.topo__nav a[aria-current="page"]::after { right: 0; }
.topo__aovivo { display: inline-flex; align-items: center; gap: .45rem; }
.topo__aovivo i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .45; }
/* com transmissão acontecendo agora (no PHP: classe posta pelo servidor), a bolinha fica vermelha e pulsa */
.tem-live .topo__aovivo i { opacity: 1; background: var(--vivo); box-shadow: 0 0 0 0 rgb(var(--vivo-rgb) / .6); animation: pulso-vivo 1.8s infinite; }
@keyframes pulso-vivo { 70% { box-shadow: 0 0 0 8px rgb(var(--vivo-rgb) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--vivo-rgb) / 0); } }
@media (prefers-reduced-motion: reduce) { .topo__aovivo i { animation: none; } }
.menu-grupo__botao[aria-current="page"] { color: var(--verde); }
.topo__acoes { display: flex; align-items: center; gap: .8rem; }
.topo__cliente { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: var(--t-legenda); text-decoration: none; opacity: .9; }
.topo__cliente svg { width: 20px; fill: currentColor; }
.topo__cliente:hover { color: var(--verde); }
.topo__menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--branco); cursor: pointer; place-content: center; gap: 5px; padding: 0; }
.topo__menu span { display: block; width: 18px; height: 2px; background: var(--roxo); border-radius: 2px; transition: translate var(--dur-lenta) var(--ease), rotate var(--dur-lenta) var(--ease); }
.topo__menu[aria-expanded="true"] span:first-child { translate: 0 3.5px; rotate: 45deg; }
.topo__menu[aria-expanded="true"] span:nth-child(2) { translate: 0 -3.5px; rotate: -45deg; }
.menu-celular {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--roxo); color: var(--branco); overflow-y: auto;
  padding: 6.5rem var(--gutter) 2rem; display: grid; align-content: space-between; gap: 2rem;
}
.menu-celular[hidden] { display: none; }
.menu-celular nav { display: grid; justify-items: start; }
.menu-celular nav a { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.5rem, 1rem + 3vw, 2.2rem); line-height: 1.25; text-decoration: none; padding: .1rem 0; }
.menu-celular nav a:hover { color: var(--verde); }
.menu-celular__grupo { font: 600 var(--t-rotulo)/1 var(--f-titulo); letter-spacing: var(--espaco-rotulo); text-transform: uppercase; color: var(--verde); margin: 1.4rem 0 .5rem; }
.menu-celular__grupo:first-child { margin-top: 0; }
.menu-celular__acoes { display: flex; flex-wrap: wrap; gap: .6rem; }
body.menu-aberto { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Rodapé em colunas ---------- */
.rodape__grade { grid-template-columns: 1.6fr repeat(4, 1fr); }
.rodape nav p { font: 600 var(--t-rotulo)/1 var(--f-titulo); letter-spacing: var(--espaco-rotulo); text-transform: uppercase; color: var(--verde); margin-bottom: .5rem; }
.rodape__base a { color: var(--verde); }

@media (max-width: 1100px) {
  .topo__cliente span { display: none; }
  .topo__nav { gap: 1.4rem; }
}
@media (max-width: 900px) {
  .topo__menu { display: grid; }
  .topo__cliente { display: none; }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
}

/* ---------- Primeira tela (comum) ---------- */
.hero { position: relative; height: 260vh; background: var(--noite); }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veu { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--noite-rgb) / .25), rgb(var(--noite-rgb) / .75)); opacity: 0; }
.hero__texto {
  position: absolute; inset: auto var(--gutter) clamp(2.5rem, 8vh, 6rem); max-width: 60rem;
  color: var(--branco);
}
/* só esconde para animar quando há JS e movimento; sem JS, o título aparece */
.js:not(.sem-movimento) .hero__texto { opacity: 0; }
.hero__titulo { font-size: var(--t-mega); font-weight: 800; letter-spacing: -0.03em; }
.hero__titulo em { font-style: normal; color: var(--verde); }
.hero__sub { margin-top: 1.4rem; max-width: 36rem; font-size: var(--t-3); line-height: 1.45; }
.hero__portas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__role {
  position: absolute; left: 50%; bottom: 1.6rem; translate: -50% 0; margin: 0;
  font-family: var(--f-titulo); font-size: var(--t-mini); letter-spacing: var(--espaco-rotulo); text-transform: uppercase; color: var(--verde);
}
.hero__role span { display: inline-block; animation: quica 1.6s var(--ease) infinite; }
@keyframes quica { 50% { transform: translateY(6px); } }

/* frase da primeira tela: aparece já no início e some quando o texto principal entra (home.js) */
.hero__assinatura { display: none; position: absolute; left: 50%; bottom: 4.6rem; translate: -50% 0; width: min(36rem, calc(100% - 2 * var(--gutter))); text-align: center; color: var(--branco); font-weight: 600; font-size: var(--t-3); line-height: 1.35; margin: 0; }
.js:not(.sem-movimento) .hero__assinatura { display: block; }
.hero__reel { position: absolute; top: clamp(5.5rem, 13vh, 7rem); right: var(--gutter); z-index: 3; display: inline-flex; align-items: center; gap: .5rem; font: 700 var(--t-mini)/1 var(--f-titulo); color: var(--roxo); background: var(--verde); border: 0; border-radius: var(--pilula); padding: .85em 1.2em; cursor: pointer; --foco: var(--branco); }
.hero__reel svg { width: 12px; height: 12px; fill: currentColor; }
.reel { width: min(1100px, calc(100% - 2rem)); padding: 0; border: 0; background: var(--preto); border-radius: var(--raio-p); overflow: hidden; }
.reel::backdrop { background: var(--veu); }
.reel video { width: 100%; height: auto; display: block; }
.reel__fechar { position: absolute; top: .6rem; right: .6rem; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(var(--branco-rgb) / .15); color: var(--branco); font-size: 1.6rem; cursor: pointer; --foco: var(--verde); }

body[data-hero="mascara"] .hero--nome,
body[data-hero="nome"] .hero--mascara { display: none; }

/* ---------- A, Máscara ---------- */
.hero__mascara {
  position: absolute; inset: 0;
  --m: 50vmin;
  -webkit-mask: url("../img/icone-mascara.svg") center 46% / auto var(--m) no-repeat;
          mask: url("../img/icone-mascara.svg") center 46% / auto var(--m) no-repeat;
}
.hero__digitando {
  position: absolute; left: 50%; top: 46%; width: 9vmin; translate: -50% -175%;
  fill: var(--verde); pointer-events: none;
}
/* os pontos são animados em site.js (pensando, digitando, enviada); sem JS ficam parados */
.hero__digitando { overflow: visible; }

/* ---------- B, Nome ---------- */
.hero--nome { background: var(--branco); }
.letreiro {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--branco); color: var(--preto); mix-blend-mode: screen; /* preto vira "janela" para o vídeo */
  transform-origin: 50% 50%; will-change: transform;
}
.letreiro__palavra {
  font-family: var(--f-titulo); font-weight: 900; font-size: 17.5vw; letter-spacing: -0.045em; line-height: 1;
}
.letreiro__kicker { position: absolute; left: 50%; top: calc(50% + 11vw); translate: -50% 0; color: var(--roxo); white-space: nowrap; }
.hero__role--escuro { color: var(--roxo); }
.hero--nome .hero__texto { z-index: 2; }

/* ---------- Faixa de clientes ---------- */
.faixa { background: var(--roxo); color: var(--verde); padding-block: 1.6rem; overflow: hidden; }
.faixa__linha { display: flex; white-space: nowrap; }
.faixa__linha + .faixa__linha { margin-top: .4rem; color: var(--branco); }
.faixa__trilho { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; font-family: var(--f-titulo); font-weight: 600; font-size: var(--t-2); flex-shrink: 0; }
.faixa__trilho i { width: .5em; height: .5em; border-radius: 50%; background: currentColor; opacity: .6; }

/* ---------- Portas ---------- */
.portas__grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.porta { position: relative; border-radius: var(--raio); overflow: hidden; display: grid; grid-template-rows: auto 1fr; isolation: isolate; scroll-margin-top: 6rem; }
.porta--roxo { background: var(--roxo); color: var(--branco); }
.porta--verde { background: var(--verde); color: var(--roxo); }
.porta__midia { aspect-ratio: 4 / 3; overflow: hidden; }
.porta__midia video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.porta:hover .porta__midia video { transform: scale(1); }
.porta__conteudo { padding: clamp(1.5rem, 3vw, 2.6rem); display: grid; gap: 1rem; align-content: start; }
.porta h3 { font-size: var(--t-2); }
.pilulas { list-style: none; padding: 0; margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pilulas a {
  display: inline-block; padding: .55em 1.1em; border-radius: var(--pilula); border: 1.5px solid currentColor;
  text-decoration: none; font-weight: 700; transition: background-color var(--dur), color var(--dur);
}
.porta--roxo .pilulas a:hover { background: var(--verde); color: var(--roxo); border-color: var(--verde); }
.porta--verde .pilulas a:hover { background: var(--roxo); color: var(--branco); border-color: var(--roxo); }

/* ---------- Trabalhos ---------- */
.trabalhos { background: var(--noite); color: var(--branco); padding-top: var(--secao); }
.trabalhos__cabeca { margin-bottom: clamp(2rem, 5vw, 4rem); }
.pilha { padding: 0 var(--gutter) var(--secao); }
.cartao {
  position: sticky; top: 9vh; height: 82vh; max-width: var(--max); margin: 0 auto 6vh;
  border-radius: var(--raio); overflow: hidden; transform-origin: 50% 0;
}
.cartao img { width: 100%; height: 100%; object-fit: cover; }
.cartao::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(var(--tinta-rgb) / .85)); }
.cartao__info { position: absolute; z-index: 1; left: clamp(1.2rem, 3vw, 2.8rem); right: 1.2rem; bottom: clamp(1.2rem, 3vw, 2.6rem); display: grid; gap: .5rem; justify-items: start; }
.cartao h3 { font-size: var(--t-1); max-width: 18ch; }
.cartao__link { font-family: var(--f-titulo); font-weight: 600; color: var(--verde); text-decoration: none; margin-top: .4rem; padding-block: .5rem; }
.tag { font-family: var(--f-titulo); font-size: var(--t-rotulo); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; background: var(--roxo); padding: .45em .9em; border-radius: var(--pilula); }
.tag--verde { background: var(--verde); color: var(--roxo); }

/* ---------- Frentes (os cinco serviços na home) ---------- */
.frentes { background: var(--nevoa); }
.frentes__lista { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.frente a { height: 100%; display: grid; align-content: start; gap: .6rem; padding: 1.4rem; border-radius: var(--raio-p); background: var(--branco); color: var(--tinta); text-decoration: none; box-shadow: var(--sombra-linha); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.frente a:hover { transform: translateY(-4px); box-shadow: var(--sombra-cartao); }
.frente b { font: 700 1.15rem/1.15 var(--f-titulo); color: var(--roxo); }
.frente small { color: var(--texto-2); font-size: var(--t-legenda); font-weight: 500; }
.frente__ver { margin-top: auto; padding-top: .4rem; font: 700 var(--t-mini)/1 var(--f-titulo); color: var(--roxo); }
.frente--destaque { grid-row: span 2; }
.frente--destaque a { background: var(--roxo); color: var(--branco); padding: clamp(1.6rem, 3vw, 2.4rem); --foco: var(--verde); }
.frente--destaque b { color: var(--verde); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.frente--destaque small { color: rgb(var(--branco-rgb) / .9); font-size: var(--t-corpo); }
.frente--destaque .frente__ver { color: var(--verde); }
.frente__rotulo { justify-self: start; font: 700 var(--t-rotulo)/1 var(--f-titulo); letter-spacing: var(--espaco-rotulo); text-transform: uppercase; background: var(--verde); color: var(--roxo); padding: .5em .8em; border-radius: var(--pilula); }
@media (max-width: 1100px) { .frentes__lista { grid-template-columns: 1fr 1fr; } .frente--destaque { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .frentes__lista { grid-template-columns: 1fr; } .frente--destaque { grid-column: auto; } }

/* ---------- Números ---------- */
.numeros { background: var(--nevoa); }
.numeros__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.numero strong { display: block; font-family: var(--f-titulo); font-weight: 800; font-size: var(--t-mega); color: var(--roxo); line-height: 1; letter-spacing: -0.04em; }
.numero span { font-weight: 600; font-size: var(--t-3); }
.numeros__nota, .provisorio { grid-column: 1 / -1; font-size: var(--t-mini); color: var(--texto-3); }
.provisorio { display: block; margin-top: .4rem; }

/* ---------- Bastidores ---------- */
.bastidores { background: var(--verde); color: var(--roxo); overflow: hidden; }
.bastidores__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(2.5rem, 7vh, 5rem) clamp(3.5rem, 9vh, 6rem); gap: clamp(1.5rem, 4vh, 3rem); }
.bastidores .sublinha { background: linear-gradient(transparent 58%, var(--branco) 58%, var(--branco) 92%, transparent 92%); }
.bastidores__texto { margin-top: 1rem; max-width: 34rem; font-size: var(--t-3); font-weight: 500; }
.bastidores__trilho { display: flex; gap: clamp(1rem, 2vw, 1.8rem); padding-inline: var(--gutter); width: max-content; }
.foto { margin: 0; position: relative; flex-shrink: 0; }
.foto img { height: clamp(220px, 44vh, 440px); width: auto; max-width: none; border-radius: var(--raio-p); }
.foto:nth-child(even) { translate: 0 2.5rem; }
.foto:nth-child(3n) { rotate: 1.5deg; }
.foto:nth-child(3n+1) { rotate: -1.2deg; }
/* "adesivo": o mesmo recurso que a Broccoli já usa nos carrosséis */
.adesivo {
  position: absolute; left: .8rem; bottom: -.9rem; max-width: calc(100% - 1.6rem);
  font-family: var(--f-titulo); font-weight: 600; font-size: var(--t-rotulo); line-height: 1.25;
  background: var(--roxo); color: var(--verde); padding: .6em .9em; border-radius: 10px; rotate: -2deg;
  box-shadow: var(--sombra-cartao);
}

/* ---------- Depoimento ---------- */
.depoimento { background: var(--roxo); color: var(--branco); }
.depoimento blockquote { margin: 0; max-width: 62rem; position: relative; padding-top: 4rem; }
.depoimento blockquote::before { content: "“"; position: absolute; top: -1rem; left: -.3rem; font-family: var(--f-titulo); font-weight: 800; font-size: 9rem; line-height: 1; color: var(--verde); }
.depoimento p { font-family: var(--f-titulo); font-weight: 300; font-size: var(--t-2); line-height: 1.3; }
.depoimento footer { margin-top: 1.6rem; font-weight: 700; color: var(--verde); }
.depoimento .provisorio { color: rgb(var(--branco-rgb) / .6); font-weight: 400; }

/* ---------- Processo + FAQ ---------- */
.passos { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 4rem) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.passos li { background: var(--nevoa); border-radius: var(--raio); padding: 1.8rem 1.5rem 2rem; display: grid; gap: .7rem; align-content: start; }
.passos span { font-family: var(--f-titulo); font-weight: 800; font-size: 2.2rem; color: var(--roxo); }
.passos h3 { font-size: var(--t-3); color: var(--roxo); }
.faq { max-width: 52rem; border-top: 2px solid var(--roxo); }
.faq details { border-bottom: 1px solid rgb(var(--roxo-rgb) / .25); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; font-family: var(--f-titulo); font-weight: 600; font-size: var(--t-3); color: var(--roxo); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; translate: 0 -50%; font-size: 1.6rem; transition: rotate var(--dur) var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 1.4rem; max-width: 44rem; }

/* ---------- Orçamento ---------- */
.cta { background: var(--verde); color: var(--roxo); padding-block: var(--secao); }
.cta__grade { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cta__titulo { font-size: var(--t-1); font-weight: 800; }
.cta__titulo em { font-style: normal; background: var(--roxo); color: var(--verde); padding: 0 .15em; border-radius: .15em; }
.cta__texto { margin: 1.4rem 0 2rem; font-size: var(--t-3); font-weight: 500; max-width: 30rem; }
.form { background: var(--branco); border-radius: var(--raio); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; box-shadow: var(--sombra-cartao); }
.form__lgpd { font-size: var(--t-mini); color: var(--texto-3); }
.form__lgpd a { color: var(--roxo); font-weight: 700; }
/* resposta do envio no site em PHP (base.js): "Recebido!" ou o que corrigir */
.form__aviso { margin: 0; font-weight: 700; color: var(--roxo); }
.form__aviso:empty { display: none; }
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: var(--t-legenda); color: var(--roxo); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 500; color: var(--tinta); padding: .8em 1em; border-radius: var(--raio-p);
  border: 1.5px solid rgb(var(--roxo-rgb) / .3); background: var(--branco);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--roxo); box-shadow: var(--sombra-foco); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--noite); color: var(--branco); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.rodape__grade { display: grid; gap: 2rem; align-items: start; }
.rodape nav { display: grid; gap: .1rem; }
.rodape nav a { padding-block: .45rem; }
.rodape nav a { text-decoration: none; font-weight: 600; }
.rodape nav a:hover { color: var(--verde); }
.marca--grande .marca__logo { height: 104px; }
.rodape__base { grid-column: 1 / -1; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(var(--branco-rgb) / .15); font-size: var(--t-mini); opacity: .7; }

/* ---------- WhatsApp flutuante ---------- */
.zap {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: var(--z-zap); width: 60px; height: 60px; border-radius: 50%;
  background: var(--verde); color: var(--roxo); display: grid; place-items: center;
  box-shadow: var(--sombra-flutua); transform: scale(0); visibility: hidden; transition: transform var(--dur-lenta) var(--ease), visibility var(--dur-lenta);
}
.zap.is-visivel { transform: scale(1); visibility: visible; }
.zap svg { width: 30px; fill: currentColor; }

/* ---------- Seletor do protótipo ---------- */
.proto-switch {
  position: fixed; left: 1rem; bottom: 1rem; z-index: var(--z-flutua); display: flex; align-items: center; gap: .3rem;
  background: rgb(var(--tinta-rgb) / .85); backdrop-filter: blur(8px); color: var(--branco); padding: .35rem; border-radius: var(--pilula);
  font: 600 var(--t-rotulo) var(--f-texto);
}
.proto-switch span { padding: 0 .6rem; opacity: .7; }
.proto-switch button { font: inherit; color: inherit; background: transparent; border: 0; padding: .5em .9em; border-radius: var(--pilula); cursor: pointer; }
.proto-switch button[aria-pressed="true"] { background: var(--verde); color: var(--roxo); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .topo__nav { display: none; }
  .portas__grade, .cta__grade { grid-template-columns: 1fr; }
  .passos { grid-template-columns: 1fr 1fr; }
  .numeros__grade { grid-template-columns: 1fr; gap: 1.2rem; }
  .rodape__grade > .marca { grid-column: 1 / -1; }
  .cartao { height: 70vh; top: 12vh; }
  .bastidores__trilho { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 2rem; }
  .foto { scroll-snap-align: center; }
  .foto img { height: 46vh; }
  .letreiro__kicker { top: calc(50% + 14vw); }
}
@media (max-width: 560px) {
  .passos { grid-template-columns: 1fr; }
  .hero__portas .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero { height: auto; }
  .hero__pin { position: relative; }
  .hero__mascara { -webkit-mask: none; mask: none; }
  .hero__digitando, .hero__role, .letreiro, .letreiro__kicker { display: none; }
  .hero__veu, .hero__texto { opacity: 1; }
  .cartao { position: relative; top: 0; }
}
body.menu-aberto .proto-switch, body.menu-aberto .zap { display: none; }

/* botão vazado e topo sobre fundos claros */
[data-tema="claro"] .btn--vazado, [data-tema="nevoa"] .btn--vazado, [data-tema="verde"] .btn--vazado { color: var(--roxo); }
.topo.topo--claro:not(.is-solido) { color: var(--roxo); }
.topo.topo--claro:not(.is-solido) .topo__menu { background: var(--roxo); }
.topo.topo--claro:not(.is-solido) .topo__menu span { background: var(--branco); }
.topo.topo--claro:not(.is-solido) .btn--verde { --bg: var(--roxo); --fg: var(--branco); }
[data-tema="roxo"] .cta__titulo em, [data-tema="noite"] .cta__titulo em { background: var(--verde); color: var(--roxo); }
[data-tema="roxo"] .cta__titulo, [data-tema="noite"] .cta__titulo { color: var(--branco); }

/* ---------- Segmentos e aviso curto (usados na área do cliente, ao vivo, formulários) ---------- */
.segmentos { display: inline-flex; background: var(--nevoa); border-radius: var(--pilula); padding: 4px; }
.segmentos button { font: 700 var(--t-mini)/1 var(--f-titulo); color: var(--roxo); background: none; border: 0; padding: .7em 1.1em; border-radius: var(--pilula); cursor: pointer; }
.segmentos button b { margin-left: .3rem; }
.segmentos button[aria-pressed="true"] { background: var(--roxo); color: var(--verde); }
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 1.6rem; translate: -50% 140%; z-index: var(--z-aviso); background: var(--noite); color: var(--branco); padding: .9em 1.3em; border-radius: var(--pilula); font-weight: 700; box-shadow: var(--sombra-foto); transition: translate var(--dur-lenta) var(--ease), visibility var(--dur-lenta); pointer-events: none; }
.toast.is-visivel { visibility: visible; translate: -50% 0; }
.toast::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--verde); margin-right: .6rem; }

/* ---------- Formulários (orçamento, área do cliente, trabalhe com a gente, depoimento) ---------- */
.campo { display: grid; gap: .4rem; min-width: 0; font-weight: 700; color: var(--roxo); }
.campo input, .campo textarea, .campo select { width: 100%; min-width: 0; font: inherit; font-weight: 500; color: var(--tinta); padding: .85em 1em; border-radius: var(--raio-p); border: 2px solid rgb(var(--roxo-rgb) / .2); background: var(--branco); }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--roxo); box-shadow: var(--sombra-foco); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; gap: .7rem; align-items: start; font-weight: 600; color: var(--texto-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--roxo); flex-shrink: 0; }
.opcao { position: relative; cursor: pointer; }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao span { display: grid; gap: .25rem; padding: 1.2rem 1.2rem 1.25rem; border-radius: var(--raio-p); border: 2px solid rgb(var(--roxo-rgb) / .18); background: var(--branco); transition: border-color var(--dur-rapida), background-color var(--dur-rapida), transform var(--dur) var(--ease), box-shadow var(--dur); height: 100%; }
.opcao strong { font: 700 1.05rem/1.2 var(--f-titulo); color: var(--roxo); }
.opcao small { font-size: var(--t-mini); color: var(--texto-3); font-weight: 500; }
.opcao:hover span { border-color: var(--roxo); transform: translateY(-2px); }
.opcao input:checked + span { background: var(--roxo); border-color: var(--roxo); box-shadow: var(--sombra-roxa); }
.opcao input:checked + span strong { color: var(--verde); }
.opcao input:checked + span small { color: rgb(var(--branco-rgb) / .8); }
.opcao input:focus-visible + span { outline: 3px solid var(--foco); outline-offset: 2px; }
.opcao--linha { max-width: 360px; }
.check a { color: var(--roxo); }
@media (max-width: 640px) { .campos { grid-template-columns: 1fr; } }

/* ---------- Aviso de cookies (LGPD) ---------- */
.cookies { position: fixed; left: 1rem; bottom: 1rem; z-index: var(--z-cookies); width: min(460px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); overflow-y: auto;
  display: grid; grid-template-columns: auto 1fr; gap: .9rem 1rem; padding: 1.3rem 1.3rem 1.2rem; border-radius: var(--raio);
  background: var(--branco); color: var(--tinta); box-shadow: var(--sombra-flutua), 0 0 0 1px rgb(var(--roxo-rgb) / .08); }
.cookies__icone svg { width: 42px; height: 42px; }
.cookies__titulo { font: 700 1.05rem/1.2 var(--f-titulo); color: var(--roxo); margin-bottom: .35rem; }
.cookies__texto p:not(.cookies__titulo) { font-size: var(--t-legenda); line-height: 1.5; color: var(--texto-2); }
.cookies__texto a { color: var(--roxo); font-weight: 700; }
.cookies__opcoes { grid-column: 1 / -1; display: grid; gap: .5rem; }
.cookies__opcoes[hidden] { display: none; }
.cookies__opcao { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; border-radius: var(--raio-p); background: var(--nevoa); cursor: pointer; }
.cookies__opcao span { display: grid; gap: .15rem; }
.cookies__opcao b { color: var(--roxo); font-size: var(--t-legenda); }
.cookies__opcao small { color: var(--texto-3); font-size: var(--t-mini); }
/* chave liga/desliga */
.cookies__opcao input { appearance: none; flex-shrink: 0; width: 46px; height: 26px; border-radius: 99px; background: var(--desligado); position: relative; cursor: pointer; transition: background var(--dur-rapida); }
.cookies__opcao input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--branco); box-shadow: var(--sombra-pino); transition: translate var(--dur-rapida) var(--ease); }
.cookies__opcao input:checked { background: var(--roxo); }
.cookies__opcao input:checked::after { translate: 20px 0; }
.cookies__opcao input:disabled { opacity: .55; cursor: not-allowed; }
.cookies__opcao input:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; }
.cookies__acoes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cookies__escolher { margin-left: auto; background: none; border: 0; padding: .4em .2em; font: 700 var(--t-mini) var(--f-texto); color: var(--roxo); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rodape__cookies { background: none; border: 0; padding: 0; font: inherit; color: var(--verde); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .cookies { left: .75rem; right: .75rem; bottom: .75rem; width: auto; grid-template-columns: 1fr; padding: 1.1rem; }
  .cookies__icone { display: none; }
  .cookies__acoes .btn { flex: 1 1 auto; justify-content: center; }
  body.cookies-aberto .zap { display: none; }
}

/* Prévia do rascunho (?previa=1, aberta pelo painel): a página ainda não está no site */
.faixa-previa { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: var(--z-aviso); max-width: calc(100% - 2rem); margin: 0; padding: .7em 1.2em; border-radius: var(--pilula); background: var(--roxo); color: var(--verde); font: 700 var(--t-rotulo)/1.3 var(--f-titulo); letter-spacing: var(--espaco-rotulo); text-align: center; box-shadow: var(--sombra-flutua); pointer-events: none; }
