/* dzestudio.com.br: ajustes por cima do style.min.css (carregado depois dele).
   1. Aviso de cookies
   2. Cabeçalho
   3. Primeira tela
   4. Módulo Brand Codz e bloco A gente acredita
   5. Clientes
   6. Rodapé
   7. Mobile (até 768px) */

/* ---------- 1. Aviso de cookies (metade da altura original) ---------- */
.c-cookies-container {
  padding: 20px 40px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-sizing: border-box;
  min-height: 100px;
}
.c-cookies-container p {
  margin: 0;
  max-width: 760px;
  text-align: left;
}
.c-cookies-container a {
  text-align: left;
}
.c-cookies-container button {
  flex: none;
  margin: 0;
  padding: 8px 20px;
}

/* ---------- 2. Cabeçalho ---------- */
.c-main-header .c-main-nav__list {
  transition: height .25s ease-out;
}
.c-main-header-logo {
  display: block;
  height: 60px;
  transition: width .25s ease-out, height .25s ease-out;
}
/* Nome e ano sem negrito */
.c-main-header .c-title-h-m-14 {
  display: block;
  margin: 0;
  font-family: HelveticaNowTextRegular;
  font-weight: 400;
  line-height: 1;
}
/* Depois de rolar a página, o cabeçalho encolhe um pouco (classe posta pelo js/site.js) */
.c-main-header.is-compact .c-main-nav__list {
  height: 60px;
}
.c-main-header.is-compact .c-main-header-logo {
  width: 44px;
  height: 44px;
}
.c-main-header:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 22px;
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(0, 0, 0, .2), rgba(0, 0, 0, .08) 45%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease-out;
}
.c-main-header.is-compact:after {
  opacity: 1;
}

/* ---------- 3. Primeira tela ---------- */
/* Título 20% maior em cada faixa de tela do CSS original */
.c-heel__content h2.c-title-h-m-96 {
  font-size: 115px;
}
@media (max-width: 1366px) {
  .c-heel__content h2.c-title-h-m-96 { font-size: 72px; }
}
@media (max-height: 960px) {
  .c-heel__content h2.c-title-h-m-96 { font-size: 60px; }
}
@media (max-width: 960px) {
  .c-heel__content h2.c-title-h-m-96 { font-size: 58px; }
}
.c-heel__content .c-tag {
  transition: background-color .2s ease-out, transform .2s ease-out;
}
.c-heel__content .c-tag:hover,
.c-heel__content .c-tag:focus-visible {
  background-color: #f0e5d3;
  color: #131414;
  transform: translateX(-50%) scale(1.08);
}
.c-heel__content .c-tag-play-icon {
  transition: transform .2s ease-out;
}
.c-heel__content .c-tag:hover .c-tag-play-icon,
.c-heel__content .c-tag:focus-visible .c-tag-play-icon {
  transform: translateX(4px);
}

/* ---------- 4. Módulo Brand Codz (mesmas medidas, fontes e elementos do css/lp.css do Brand Codz) ---------- */
@font-face {
  font-family: "Helvetica Now Text";
  src: url(/fonts/HelveticaNowText-Regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Text";
  src: url(/fonts/HelveticaNowText-Medium.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
.bcz {
  --paper: #f1e4cf;
  --ink: #131414;
  --surface: var(--paper);
  --on-surface: var(--ink);
  --bc-fg: var(--ink);
  --bc-bg: var(--paper);
  --font-sans: "Helvetica Now Text", "Helvetica Neue", Arial, sans-serif;
  --font-pixel: var(--font-sans);
  --u: 8px;
  --m: clamp(20px, 4.5vw, 64px);
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: 200px var(--m) 208px;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* grão de papel, como na página do Brand Codz */
.bcz:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .075 0 0 0 0 .078 0 0 0 0 .078 2.2 0 0 0 -1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.bcz-video {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: auto;
  height: min(1100px, 150vh);
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
  transform: translate(-50%, calc(-50% + var(--py, 0px)));
  -webkit-mask: radial-gradient(closest-side, #000 78%, transparent);
  mask: radial-gradient(closest-side, #000 78%, transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity .7s;
}
.bcz-video.pronto {
  opacity: 1;
}
/* troca de volta ao início do trecho: o vídeo some por um instante */
.bcz-video.pronto.troca {
  opacity: 0;
  transition-duration: .45s;
}
.bcz-txt {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bcz-logo {
  display: block;
  width: 280px;
  max-width: 70%;
  height: auto;
  margin: calc(var(--u) * 5) 0 calc(var(--u) * 8);
}
/* frase em caixa alta, como os títulos da página do Brand Codz */
.bcz-frase {
  max-width: 100%;
  margin: 0;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
}
.bcz-g {
  font-family: Gyst, Cormorant, Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.34em;
  line-height: 0;
  letter-spacing: -.01em;
  text-transform: none;
}
.bcz-res {
  margin: calc(var(--u) * 6) 0 calc(var(--u) * 6);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.bcz-cta {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .85em 1.4em .75em;
  border: 2px solid var(--ink);
  border-radius: 0;
  background-color: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.bcz-cta span {
  transition: transform .2s ease-out;
}
.bcz-cta:hover,
.bcz-cta:focus-visible {
  background-color: transparent;
  color: var(--ink);
}
.bcz-cta:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.bcz-cta:hover span,
.bcz-cta:focus-visible span {
  transform: translateX(4px);
}

/* ---------- 4b. A gente acredita: troca animada ---------- */
.c-we-believe .believe {
  padding: 0 80px;
  box-sizing: border-box;
}
.believe-palco {
  display: grid;
}
.believe-item {
  grid-area: 1 / 1;
  visibility: hidden;
  transition: visibility 0s .45s;
}
.believe-item.is-active {
  visibility: visible;
  transition: none;
}
.believe-item h2 {
  margin: 0 0 40px;
}
.believe-linha {
  display: block;
  overflow: hidden;
  padding: .14em .12em .06em 0;
  margin: -.14em 0 -.06em;
}
.believe-linha > span {
  display: block;
  transform: translateY(115%);
}
.believe-texto {
  max-width: 620px;
  margin: 0 0 0 auto;
  line-height: 1.5;
  text-align: right;
  opacity: 0;
  transform: translateY(16px);
}
/* entra: cada linha sobe por trás de uma máscara, em sequência */
.believe-item.is-active .believe-linha > span {
  transform: none;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1);
}
.believe-item.is-active .believe-linha:nth-child(2) > span {
  transition-delay: .09s;
}
.believe-item.is-active .believe-texto {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease-out .3s, transform .8s cubic-bezier(.16, 1, .3, 1) .3s;
}
/* sai: sobe e some mais rápido */
.believe-item.is-leaving .believe-linha > span {
  transform: translateY(-115%);
  transition: transform .45s cubic-bezier(.7, 0, .84, 0);
}
.believe-item.is-leaving .believe-texto {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s ease-in, transform .3s ease-in;
}
.believe-nav {
  display: flex;
  gap: 10px;
  margin-top: 56px;
}
.believe-passo {
  flex: none;
  width: 56px;
  padding: 14px 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.believe-passo i {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  background-color: rgba(240, 229, 211, .25);
}
.believe-passo i:after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #f0e5d3;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.believe-passo.is-done i:after {
  transform: none;
}
.believe-passo.is-active i:after {
  animation: believe-tempo var(--believe-tempo, 5s) linear forwards;
}
.believe.is-paused .believe-passo.is-active i:after {
  animation-play-state: paused;
}
@keyframes believe-tempo {
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .believe-linha > span,
  .believe-item.is-leaving .believe-linha > span {
    transform: none;
    transition: none;
  }
  .believe-texto {
    transform: none;
  }
  .believe-item {
    opacity: 0;
    transition: opacity .3s, visibility 0s .3s;
  }
  .believe-item.is-active {
    opacity: 1;
    transition: opacity .3s;
  }
}

/* ---------- 5. Clientes ---------- */
.c-our-clients .o-content-block {
  padding: 130px 0 150px;
}
.c-our-clients h2 {
  margin-bottom: 72px;
}
.c-our-clients .c-grid {
  grid-row-gap: 110px;
  grid-column-gap: 64px;
}
.c-our-clients .c-grid img {
  display: block;
  width: var(--w);
  max-width: 100%;
  height: auto;
}

/* ---------- 6. Rodapé ---------- */
/* Instagram e LinkedIn 20% menores */
.c-main-footer .c-title-h-m-40 {
  font-size: 32px;
}
.c-main-footer .c-title-h-m-40 + .c-title-h-m-40 {
  padding-left: 40px;
}
.c-main-footer .c-title-h-m-40 + .c-title-h-m-40:before {
  font-size: 32px;
  left: 8px;
  top: -4px;
}
@media (max-width: 960px) {
  .c-main-footer .c-title-h-m-40 { font-size: 24px; }
  .c-main-footer .c-title-h-m-40 + .c-title-h-m-40:before { font-size: 24px; }
}
/* Hover dos links do rodapé: o original escurecia o texto sobre fundo preto */
.c-main-footer a {
  transition: color .2s ease-out;
}
.c-main-footer a:hover,
.c-main-footer a:focus-visible {
  color: #108037;
}
.c-main-footer .c-title-h-m-40 {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color .2s ease-out, text-decoration-color .2s ease-out;
}
.c-main-footer .c-title-h-m-40:hover,
.c-main-footer .c-title-h-m-40:focus-visible {
  text-decoration-color: currentColor;
}
/* Política de privacidade: sem negrito e com a seta alinhada ao texto */
.c-main-footer .c-policies .c-title-h-r-14-r {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: none;
  white-space: nowrap;
  font-family: HelveticaNowTextRegular;
  font-weight: 400;
  line-height: 1.2;
}
.c-main-footer .c-policies .c-title-h-r-14-r:after {
  position: static;
  flex: none;
  width: 11px;
  height: 11px;
  transition: transform .2s ease-out;
}
.c-main-footer .c-policies .c-title-h-r-14-r:hover:after {
  transform: translate(2px, -2px);
}

/* ---------- 7. Mobile ---------- */
@media (max-width: 768px) {

  /* Aviso de cookies */
  .c-cookies-container {
    padding: 14px 20px;
    gap: 14px;
    min-height: 110px;
  }
  .c-cookies-container p,
  .c-cookies-container a {
    font-size: 12px;
    line-height: 16px;
  }
  .c-cookies-container button {
    width: auto;
    padding: 10px 18px;
  }

  /* Conteúdo sempre visível: no celular os blocos são mais altos que a tela
     e a animação de entrada os deixava escondidos. */
  .animate {
    opacity: 1;
    transform: none;
  }

  /* Cabeçalho mais baixo, com o logo no centro */
  .c-main-header .c-main-nav__list {
    height: 56px;
    margin: 0;
    padding: 0;
  }
  .c-main-header-logo {
    width: 40px;
    height: 40px;
    margin-right: 0;
  }
  .c-main-header .c-main-nav__item:first-child,
  .c-main-header .c-main-nav__item:last-child {
    flex: 1;
  }
  .c-main-header .c-main-nav__item:last-child {
    text-align: right;
  }
  .c-main-header.is-compact .c-main-nav__list {
    height: 46px;
  }
  .c-main-header.is-compact .c-main-header-logo {
    width: 32px;
    height: 32px;
  }

  /* Primeira tela ocupa o celular inteiro, com a faixa DZESTÚDIO aparecendo embaixo */
  .c-heel {
    max-height: none;
  }
  .c-heel__video {
    min-height: calc(100vh - 44px);
    min-height: calc(100svh - 44px);
    max-height: none;
    padding-bottom: 0;
  }
  .c-heel__content {
    padding-top: 56px;
    box-sizing: border-box;
  }
  .c-heel .u-vertical-left,
  .c-heel .u-vertical-right {
    display: none;
  }
  .c-heel__content h2.c-title-h-m-96 {
    font-size: clamp(52px, 17.2vw, 77px);
    line-height: 1;
    margin-bottom: 28px;
  }
  .c-heel__content .c-tag {
    height: 44px;
    box-sizing: border-box;
    padding: 5px 24px;
    width: 116px;
  }
  .c-heel__link {
    bottom: 28px;
    width: 44px;
    height: 44px;
  }
  .c-heel__link:before {
    left: 12px;
    top: 12px;
  }

  /* Brand Codz */
  .bcz {
    padding: 136px var(--m) 144px;
  }
  .bcz-video {
    height: auto;
    width: 200vw;
  }
  .bcz-logo {
    width: 210px;
    margin: 24px 0 48px;
  }
  .bcz-frase {
    font-size: clamp(27px, 8.3vw, 44px);
  }

  /* A gente acredita */
  .c-we-believe .o-content-block {
    padding: 56px 0;
  }
  .c-we-believe .believe {
    padding: 0 36px;
  }
  .c-we-believe h2.c-title-h-m-80 {
    font-size: clamp(34px, 10.5vw, 48px);
    margin: 0 0 24px;
  }
  .believe-texto {
    margin: 0;
    text-align: left;
  }
  .believe-nav {
    margin-top: 36px;
  }

  /* O que fazemos */
  .c-we-do .o-content-block {
    padding: 8px 0;
  }
  .c-we-do .o-row {
    grid-gap: 12px;
    margin: 0 20px;
    padding: 28px 16px;
  }
  .c-we-do .o-row h2.c-title-h-m-80 {
    font-size: clamp(34px, 10.5vw, 48px);
    padding-top: 28px;
  }
  .c-we-do .o-row h2 .u-sup,
  .c-we-do .o-row h2 .u-sup-top {
    top: -6px;
    font-size: 18px;
  }
  .c-we-do .o-row p {
    margin: 0;
    line-height: 1.6;
  }

  /* Clientes */
  .c-our-clients .o-content-block {
    padding: 64px 0 80px;
  }
  .c-our-clients h2 {
    margin-top: 0;
    margin-bottom: 48px;
  }
  .c-our-clients .c-grid {
    padding: 0 36px;
    grid-column-gap: 28px;
    grid-row-gap: 60px;
  }
  .c-our-clients .c-grid img {
    width: calc(var(--w) * .8);
  }

  /* Rodapé */
  .c-main-footer .o-content-block .main-grid .social-icons {
    padding-top: 48px;
    margin-bottom: 28px;
  }
  .c-main-footer .c-title-h-m-40 {
    display: block;
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 0 !important;
  }
  .c-main-footer .c-title-h-m-40 + .c-title-h-m-40 {
    padding-left: 0;
  }
  .c-main-footer .c-title-h-m-40 + .c-title-h-m-40:before {
    display: none;
  }
  .c-main-footer .o-content-block .social-grid {
    grid-gap: 24px;
  }
  .c-main-footer .o-content-block .social-grid p {
    margin: 0;
    line-height: 1.6;
  }
  .c-main-footer .o-content-block .social-grid a {
    margin-bottom: 0;
    padding: 10px 0;
    overflow-wrap: anywhere;
  }
  .c-main-footer .o-content-block .main-grid-end {
    padding: 32px 20px 24px;
    box-sizing: border-box;
  }
  .c-main-footer .c-policies .c-title-h-r-14-r {
    margin: 0;
  }

  /* Política de privacidade */
  .c-policies-block .o-content-block {
    padding: 32px 36px 56px;
  }
  .c-policies-block {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .c-cookies-container {
    min-height: 140px;
  }
}

/* ---------- 8. Efeitos de rolagem (ligados pelo js/site.js, que põe a classe "fx" no html) ---------- */
/* entrada: o elemento sobe e aparece uma vez, quando chega à tela */
.fx [data-fx] {
  opacity: 0;
  transform: translateY(26px);
}
.fx [data-fx="esq"] {
  transform: translateX(-36px);
}
.fx [data-fx].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease-out, transform 1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
/* profundidade: o conteúdo da primeira tela anda mais devagar que a página e esmaece */
.fx .c-heel__content h2,
.fx .c-heel__content .u-hidden-desk,
.fx .c-heel__content .u-hidden-mobile {
  transform: translateY(var(--hy, 0px));
  opacity: var(--ho, 1);
}
