/* Yellow Ag — cores tiradas das logos oficiais (Ye!!ow ag); fontes do site anterior */
@font-face {
  font-family: "Futura Yellow";
  src: url("../fonts/futura-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* IBM Plex Mono servida pelo próprio site: nenhum dado do visitante vai para o Google */
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --papel: #FAFAF7;
  --sol: #F4A404;
  --sol-escuro: #E09300;
  --ambar: #9A5F00;
  --grafite: #000000;
  --texto: #1E1E1E;
  --pedra: #5F5B54;
  --linha: #E4E1D8;

  --fonte: "IBM Plex Mono", ui-monospace, monospace;
  --titulos: "Futura Yellow", Futura, "Century Gothic", sans-serif;
  --largura: 1240px;
  --margem: clamp(16px, 4vw, 48px);
  --secao: clamp(5rem, 11vw, 9.5rem);
  --raio: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: .97rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* "hidden" sempre esconde, mesmo em elementos com display próprio (ex.: o aviso de cookies) */
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

/* Futura em tudo que é título, nome ou ação; Plex Mono no texto corrido */
h1, h2, h3, dt, .inclui strong, .botao, .menu, .clientes__lista, .passos li::before {
  font-family: var(--titulos);
  font-weight: 500;
  color: var(--grafite);
}

:focus-visible { outline: 3px solid var(--grafite); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--grafite); color: var(--papel); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Botões e links ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.6rem;
  background: var(--sol); color: var(--grafite);
  border-radius: 999px;
  font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .2s;
}
.botao:hover { background: var(--sol-escuro); }
.botao--pequeno { min-height: 2.6rem; padding: 0 1.15rem; font-size: .95rem; }
.botao--escuro { background: var(--grafite); color: var(--papel); }
.botao--escuro:hover { background: #333; }

.link {
  font-weight: 500; text-decoration: underline;
  text-decoration-color: var(--sol); text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--grafite); }
.link--escuro { text-decoration-color: currentColor; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.topo.is-solido { background: rgba(250, 250, 247, .94); box-shadow: 0 1px 0 var(--linha); backdrop-filter: blur(8px); }
.topo__in {
  max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem);
  height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.marca { display: block; line-height: 0; }
.marca img { width: auto; height: 34px; }
.menu { display: flex; align-items: center; gap: 2rem; font-size: 1.02rem; }
@media (max-width: 1180px) { .menu { gap: 1.25rem; font-size: .96rem; } }
.menu a:not(.botao) { text-decoration: none; white-space: nowrap; }
.menu a:not(.botao):hover { text-decoration: underline; text-decoration-color: var(--sol); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-btn { display: none; }

/* ---------- Abertura ---------- */
.abertura {
  max-width: var(--largura); margin: 0 auto;
  padding: 7.5rem var(--margem) 4rem;
  min-height: min(100svh, 920px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.abertura__titulo {
  font-size: clamp(2.4rem, 5.2vw, 4.7rem);
  line-height: 1.04; letter-spacing: -.02em;
  text-wrap: balance;
}
.abertura__sub { margin-top: 1.75rem; max-width: 36em; font-size: 1.02rem; color: var(--pedra); }
.abertura__acoes { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

/* Porta: o único movimento automático da página */
/* isolation mantém a porta em 3D abaixo do menu fixo ao rolar */
.abertura__foto { position: relative; z-index: 0; isolation: isolate; }
.porta-moldura { position: relative; aspect-ratio: 4 / 5; perspective: 2800px; perspective-origin: 0 50%; }
.porta-moldura img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; border-radius: var(--raio); }
.porta {
  position: absolute; inset: 0;
  background: var(--sol); border-radius: var(--raio);
  transform-origin: 0 50%;
  transform: rotateY(-78deg);
  animation: abrir 1.5s cubic-bezier(.65, 0, .25, 1) .4s both;
  box-shadow: inset -1px 0 0 rgba(0,0,0,.08);
}
.porta__macaneta {
  position: absolute; left: 9%; top: 50%;
  width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  background: var(--grafite);
}
@keyframes abrir { from { transform: rotateY(0deg); } to { transform: rotateY(-78deg); } }

/* ---------- Clientes ---------- */
.clientes { max-width: var(--largura); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--margem) 0; }
.clientes__titulo { font-size: .88rem; font-weight: 400; line-height: 1.5; color: var(--pedra); }
.clientes__lista {
  margin-top: 1.75rem;
  --gap-logos: clamp(1.5rem, 4vw, 3.5rem);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.25rem var(--gap-logos);
}
/* 5 por linha no computador: 5 + 4 centralizadas */
.cliente {
  flex: 0 0 calc((100% - 4 * var(--gap-logos)) / 5);
  display: flex; align-items: center; justify-content: center; height: 52px;
}
/* Todas as marcas em preto, para a faixa ficar uniforme */
.cliente img { max-width: 132px; max-height: 30px; width: auto; height: auto; filter: brightness(0); opacity: .78; }
.cliente--etapa img { max-height: 40px; }
.cliente--mercadolivre img { max-height: 42px; }
.cliente--yuny img { max-height: 34px; }
.cliente--metrocasa img { max-width: 150px; }
.cliente--planoeplano img { max-width: 150px; max-height: 34px; }
.cliente--boticario img { max-width: 155px; }
.cliente--americanas img { max-width: 140px; }
.cliente--petropolis img { max-width: 150px; max-height: 48px; }

/* ---------- Seções ---------- */
.secao { max-width: var(--largura); margin: 0 auto; padding: var(--secao) var(--margem) 0; }
.titulo {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.05; letter-spacing: -.02em; text-wrap: balance;
}
.lead { font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.65; max-width: 38em; color: var(--texto); }
.secao__topo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; }

/* O que a gente faz: três frentes, foto e texto alternando de lado */
.frente {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.75rem, 5vw, 5rem); align-items: center;
}
.frente:nth-of-type(even) .frente__foto { order: 2; }
.frente__foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio); }
.frente h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -.015em; }
.frente__texto > p { margin-top: .9rem; max-width: 30em; color: var(--pedra); }
/* Carrosséis das frentes: vertical (4:5) por padrão, horizontal (4:3) no corporativo */
.frente--retrato { grid-template-columns: 1.2fr .8fr; }
.frente--retrato:nth-of-type(odd) { grid-template-columns: .8fr 1.2fr; }
.carrossel { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--raio); background: var(--linha); }
.carrossel--paisagem { aspect-ratio: 4 / 3; }
.carrossel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease;
}
.carrossel img.is-ativo { opacity: 1; }
.carrossel__pontos { position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: .4rem; }
.carrossel__pontos button {
  width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.carrossel__pontos button::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
  transition: width .3s, background-color .3s;
}
.carrossel__pontos button[aria-current="true"]::before { width: 22px; background: var(--sol); }
.carrossel__pontos button:focus-visible { outline-color: var(--sol); }

.frente__lista { margin-top: 1.5rem; border-top: 1px solid var(--linha); }
.frente__lista li { padding: .7rem 0; border-bottom: 1px solid var(--linha); }

.inclui {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.25rem clamp(1.5rem, 3vw, 2.5rem);
}
.inclui li { padding-top: 1.1rem; border-top: 2px solid var(--sol); color: var(--pedra); font-size: .95rem; line-height: 1.6; }
.inclui strong { display: block; margin-bottom: .35rem; font-size: 1.15rem; }

/* Brindes corporativos: quatro produtos lado a lado, mesma proporção */
.brindes__grade {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem clamp(1rem, 2.5vw, 2rem);
}
.brindes__grade img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); }
.brindes__grade h3 { margin-top: 1rem; font-size: 1.2rem; line-height: 1.25; }
.brindes__grade p { margin-top: .35rem; color: var(--pedra); font-size: .95rem; line-height: 1.55; }
.brindes__acao { margin-top: clamp(2rem, 4vw, 3rem); }

/* Desfile: fotos em linha passando sem parar, de ponta a ponta da tela */
.desfile {
  --altura-desfile: clamp(220px, 26vw, 340px);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  width: 100vw; margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.desfile__trilho {
  display: flex; gap: clamp(.6rem, 1.2vw, 1rem); width: max-content;
  animation: desfilar 105s linear infinite;
}
.desfile:hover .desfile__trilho { animation-play-state: paused; }
.desfile img { height: var(--altura-desfile); width: auto; object-fit: cover; border-radius: var(--raio); flex: none; }
/* O trilho tem a sequência duas vezes; andar metade dele fecha o loop sem emenda */
@keyframes desfilar { to { transform: translateX(calc(-50% - clamp(.3rem, .6vw, .5rem))); } }

/* Como funciona: é uma sequência real, por isso numerada */
.passos {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem clamp(1.25rem, 3vw, 2.5rem);
  counter-reset: passo;
}
.passos li { counter-increment: passo; }
.passos li::before {
  content: counter(passo);
  display: block; margin-bottom: .9rem;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1; color: var(--ambar);
}
.passos h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.passos p { margin-top: .45rem; color: var(--pedra); font-size: 1rem; line-height: 1.55; }
.como__nota { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 40em; font-size: 1.15rem; padding-left: 1.25rem; border-left: 3px solid var(--sol); }

/* Thais */
.thais { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-bottom: var(--secao); }
.thais__foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--raio); }
.thais__texto .lead { margin-top: 1.75rem; }
.thais__texto > p:not(.lead) { margin-top: 1rem; max-width: 34em; color: var(--pedra); }

/* Destaque da equipe: o bloco que deixa claro que o cliente fala com quem produz */
.equipe {
  margin-top: 2rem; padding: clamp(1.4rem, 3vw, 2rem);
  display: grid; gap: 1.1rem;
  background: var(--grafite); color: var(--papel);
  border-radius: 10px;
}
.equipe__titulo {
  font-family: var(--titulos); font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.25; letter-spacing: -.01em;
  color: var(--sol); text-wrap: balance;
}
.equipe__lista { display: grid; gap: .75rem; font-size: .95rem; line-height: 1.55; }
.equipe__lista li { padding-top: .75rem; border-top: 1px solid rgba(250, 250, 247, .16); }
.equipe__lista strong { display: block; font-family: var(--titulos); font-weight: 500; font-size: 1.05rem; color: var(--papel); }

/* ---------- Contato ---------- */
.contato { background: var(--sol); color: var(--grafite); }
.contato__in {
  max-width: var(--largura); margin: 0 auto; padding: var(--secao) var(--margem) clamp(4rem, 8vw, 6rem);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: end;
}
.contato__lado { padding-bottom: .6rem; }
.contato__titulo {
  max-width: 13ch;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
.contato__sub { font-size: 1.02rem; }
.contato__acoes { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.contato__dados { margin-top: 2rem; font-size: .95rem; line-height: 1.9; }
.contato__dados a { text-decoration: none; }
.contato__dados a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contato__redes { margin-top: 1.5rem; display: flex; gap: 2rem; font-weight: 500; }
.contato__redes a { text-underline-offset: 5px; }
.contato .botao--escuro:focus-visible, .contato a:focus-visible { outline-color: var(--grafite); }
.rodape {
  max-width: var(--largura); margin: 0 auto; padding: 1.5rem var(--margem) 2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, .18); font-size: .85rem;
}
.rodape__logo { width: auto; height: 26px; margin-right: auto; }
.rodape a { text-underline-offset: 4px; }
.rodape__botao {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 4px;
}

/* Aviso de cookies: as duas respostas têm o mesmo peso, como pede a LGPD */
.cookies {
  position: fixed; left: clamp(16px, 2.5vw, 28px); right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 60;
  max-width: 34rem; padding: 1.25rem 1.4rem;
  display: grid; gap: 1rem;
  background: var(--papel); color: var(--texto);
  border: 1px solid var(--linha); border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .14);
  font-size: .9rem; line-height: 1.6;
}
.cookies__texto a { text-underline-offset: 3px; }
.cookies__acoes { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookies__acoes .botao { flex: 1 1 8rem; }
.botao--contorno { background: transparent; color: var(--grafite); box-shadow: inset 0 0 0 1.5px var(--grafite); }
.botao--contorno:hover { background: var(--linha); }
.com-aviso .whats { opacity: 0; pointer-events: none; }

/* Botão flutuante de WhatsApp; some quando o contato já está na tela */
.whats {
  position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 40;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grafite); color: var(--sol);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  transition: transform .2s, opacity .25s;
}
.whats:hover { transform: scale(1.06); }
.whats.is-oculto { opacity: 0; pointer-events: none; }
.whats:focus-visible { outline-color: var(--sol); }

/* ---------- Páginas internas: política de privacidade e 404 ---------- */
.legal {
  max-width: 46rem; margin: 0 auto;
  padding: 8rem var(--margem) 5rem;
  display: grid; gap: 1.1rem;
}
.legal h2 { margin-top: 1.6rem; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; }
.legal ul { display: grid; gap: .6rem; padding-left: 1.2rem; list-style: disc; }
.legal li::marker { color: var(--sol); }
.legal strong { font-weight: 500; color: var(--grafite); }
.legal__data { color: var(--pedra); font-size: .9rem; }
.legal__contato { font-weight: 500; }
.legal__rodape { border-top: 1px solid var(--linha); }
.legal__rodape .rodape { border-top: 0; }

.erro {
  min-height: 100svh; max-width: 40rem; margin: 0 auto;
  padding: 3rem var(--margem);
  display: grid; align-content: center; justify-items: start; gap: 1.5rem;
}
.erro .marca img { height: 40px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .inclui, .passos { grid-template-columns: repeat(2, 1fr); }
  .brindes__grade { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; margin-right: -.5rem;
    background: none; border: 0; cursor: pointer; color: var(--grafite);
  }
  .menu-btn__barras, .menu-btn__barras::before, .menu-btn__barras::after {
    display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .25s, background-color .25s;
  }
  .menu-btn__barras { position: relative; }
  .menu-btn__barras::before, .menu-btn__barras::after { content: ""; position: absolute; left: 0; }
  .menu-btn__barras::before { top: -7px; }
  .menu-btn__barras::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-btn__barras { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__barras::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__barras::after { transform: translateY(-7px) rotate(-45deg); }

  .menu {
    position: fixed; inset: 4.5rem 0 auto; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--margem) 1.5rem;
    background: var(--papel); box-shadow: 0 1px 0 var(--linha);
    font-size: 1.25rem;
    display: none;
  }
  .menu.is-aberto { display: flex; }
  .menu a:not(.botao) { padding: .85rem 0; border-bottom: 1px solid var(--linha); }
  .menu .botao { margin-top: 1.25rem; min-height: 3.25rem; font-size: 1.05rem; }
  .topo.is-menu { background: var(--papel); }

  .abertura { grid-template-columns: 1fr; min-height: 0; padding-top: 6.5rem; gap: 2.5rem; }
  .abertura__foto { margin-right: 18%; }
  .porta-moldura { aspect-ratio: 5 / 4; }

  .clientes__lista { --gap-logos: 1.25rem; row-gap: 1.5rem; }
  .cliente { flex-basis: calc((100% - 2 * var(--gap-logos)) / 3); }
  .cliente img { max-width: 100%; }

  .secao__topo, .frente, .thais, .contato__in { grid-template-columns: 1fr; }
  .frente:nth-of-type(even) .frente__foto { order: 0; }
  .frente--retrato:nth-of-type(odd) { grid-template-columns: 1fr; }
  .contato__in { gap: 1.5rem; }
  .thais__foto { max-width: 26rem; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .inclui, .passos { grid-template-columns: 1fr; }
  .abertura__foto { margin-right: 12%; }
  .abertura__acoes .botao { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .porta { animation: none; }
  /* sem desfile automático: a faixa vira rolagem lateral manual */
  .desfile { overflow-x: auto; }
  .desfile__trilho { animation: none; padding-inline: var(--margem); }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
