/* ============================================================
   LEXKO — Branding & Design
   Folha de estilo externa
   Fonte: IBM Plex Sans JP
   ============================================================ */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --yellow: #f5be01;
  --green: #16d43c;
  --grey: #8a8a8a;
  --grey-line: #d8d8d8;
  --wa-yellow: #f2d544;

  --maxw: 1640px;
  --pad-x: clamp(20px, 4vw, 80px);
  --font: "IBM Plex Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   HEADER / NAV (fixo e flutuante)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.35s ease;
}

.site-header.scrolled {
  background: var(--black);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* botão hamburguer (apenas mobile) */
.nav__toggle {
  display: none;
  width: 40px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1300;
}

.nav__toggle span {
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 0px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.nav__toggle:hover span {
  background: #02fd0e;
}

.site-header.menu-open .nav__toggle span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.site-header.menu-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.menu-open .nav__toggle span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.nav__menu {
  display: flex;
  gap: clamp(18px, 2.5vw, 40px);
  list-style: none;
}

.nav__menu a {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.nav__menu a:hover {
  color:#02fd0e;
}

.nav__logo {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.nav__logo img {
  height: 26px;
  width: auto;
  display: block;
}

.nav__logo-green {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav__logo:hover .nav__logo-green {
  opacity: 1;
}

/* ============================================================
   FULL-SCREEN VIDEO SECTIONS
   ============================================================ */
.video-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: var(--black);
  overflow: hidden;
}

.video-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* desktop/mobile toggle (vídeos e imagens) */
.v-desktop {
  display: block;
}
.v-mobile {
  display: none;
}

/* ============================================================
   CONTENT SECTIONS (texto)
   ============================================================ */
.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 150px) var(--pad-x) 0;
  position: relative;
}

/* caixa preta (recurso gráfico) abaixo do botão, antes do vídeo */
.graphic-box {
  width: 100%;
  aspect-ratio: 7.2 / 1;
  min-height: 90px;
  background: var(--black);
  position: relative;
  z-index: 1;
}

/* compensa o header fixo ao navegar por âncoras */
[id] {
  scroll-margin-top: 80px;
}

.eyebrow {
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2b2b2b;
  margin-bottom: 10px;
}

/* régua decorativa de parênteses (ocupa toda a largura) */
.paren-rule {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: #6f6f6f;
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: clamp(14px, 1.8vw, 24px);
  user-select: none;
  pointer-events: none;
}

.content h1,
.content h2 {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: clamp(10px, 1.4vw, 20px);
}

.content .lead {
  font-weight: 400;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.25;
  color: #111;
  max-width: 30ch;
}

.content .lead--small {
  font-size: clamp(18px, 1.8vw, 27px);
  max-width: 46ch;
}

.content .lead--small b {
  font-weight: 700;
}

/* CTA button (overlaps the video below) */
.cta {
  display: inline-block;
  margin-top: clamp(44px, 7vw, 120px);
  margin-bottom: -30px;
  position: relative;
  z-index: 6;
  background: var(--black);
  color: var(--yellow);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 19px 30px;
  /* moldura branca via outline: NÃO ocupa espaço no layout,
     então pode sumir no hover sem mudar o tamanho do botão */
  border: none;
  outline: 6px solid #ffffff;
  outline-offset: 0;
  transition: color 0.2s ease, outline-color 0.2s ease, box-shadow 0.2s ease;
}

/* hover: texto verde + sombra verde colada ao botão; a moldura branca some.
   Nada aqui altera o tamanho/posição do botão. */
.cta:hover {
  color: #02fd0e;
  outline-color: transparent;
  box-shadow: 6px 6px 0 #02fd0e;
}

/* "animação xxxx" label */
.anim-label {
  text-align: center;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  color: #1a1a1a;
  padding: clamp(60px, 8vw, 120px) var(--pad-x);
}

/* full-bleed brand showcase image */
.brand-shot {
  margin-top: clamp(0, 5vw, 80px);
}

.brand-shot img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================================
   CASES
   ============================================================ */
.cases {
  margin-top: 0;
}

.cases__bar {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
}

.cases__bar .tag {
  font-size: 16px;
  font-weight: 600;
  
  text-transform: uppercase;
}

.cases__bar .tag--yellow {
  color: var(--yellow);
}

.cases__bar .tag--green {
  color: var(--green);
  border: 1px solid var(--green);
  padding: 10px 14px 10px 14px;
}

.cases__bar .tag--green:hover {
  background-color: var(--green);
  color: var(--black);
  border: 1px solid var(--black);
  padding: 10px 14px 10px 14px;
}

.cases__grid {
  display: grid;
  gap: 0;
}

.cases__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* desktop cases: TAP full-width row, then NEY | UB40 */
.cases__grid--desktop {
  grid-template-columns: 1fr 1fr;
}

.cases__grid--desktop .case-wide {
  grid-column: 1 / -1;
  aspect-ratio: 1921 / 1081;
}

.cases__grid--desktop .case-half {
  aspect-ratio: 1 / 1;
  background: #000;
}

/* Ney e UB40 devem aparecer completas, sem corte */
.cases__grid--desktop .case-half img {
  object-fit: contain;
}

.cases__grid--mobile {
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(80px, 11vw, 150px) var(--pad-x) 44px;
}

.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer__claim {
  font-weight: 400;
  font-size: clamp(22px, 3.4vw, 31px);
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 6px;
}

.footer__stroke {
  display: block;
  width: min(720px, 80%);
  height: auto;
  margin: 0 0 clamp(56px, 9vw, 130px);
}

.footer__services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 44px;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-bottom: 18px;
}

.footer__legal a {
  font-size: 15px;
  color: #e4e4e4;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--green);
}

.footer__copy {
  font-size: 13px;
  color: #c7c7c7;
  letter-spacing: 0.01em;
}

/* ============================================================
   BIO / EQUIPE
   ============================================================ */
.bio {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 140px) var(--pad-x) clamp(60px, 8vw, 120px);
}

.bio__member {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0 15px;
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 90px);
}

.bio__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}

.bio__name {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 14px;
}

.bio__text {
  font-size: clamp(13.5px, 1vw, 15px);
  line-height: 1.55;
  color: #111;
}

.bio__closing {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0 15px;
  margin-top: clamp(10px, 2vw, 30px);
}

.bio__closing > * {
  grid-column: 2;
}

.bio__statement {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.3;
  font-weight: 400;
  color: #1a1a1a;
  max-width: 24ch;
}

.bio__cta {
  display: inline-block;
  margin-top: clamp(26px, 4vw, 44px);
  background: var(--black);
  color: var(--yellow);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 19px clamp(40px, 6vw, 72px);
  transition: color 0.2s ease;
}

.bio__cta:hover {
  color: #02fd0e;
}

/* ============================================================
   PÁGINAS LEGAIS (termos / privacidade)
   ============================================================ */
/* páginas legais: tema escuro — fundo preto, texto branco */
.page-legal {
  background: var(--black);
  color: var(--white);
}

.page-legal .site-header {
  background: var(--black);
}

.legal {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(120px, 18vh, 190px) var(--pad-x) clamp(60px, 8vw, 110px);
}

.legal__eyebrow {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2b2b2b;
  margin-bottom: 12px;
}

.legal h1 {
  font-weight: 700;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.legal h2 {
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  margin: clamp(30px, 4vw, 46px) 0 14px;
}

.legal p,
.legal li {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  color: #e7e7e7;
  margin-bottom: 16px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.legal a {
  color: #02fd0e;
  text-decoration: underline;
}

.legal a:hover {
  color: #5bff6c;
}

.legal__updated {
  margin-top: clamp(30px, 5vw, 60px);
  font-size: 14px;
  color: #9a9a9a;
}

/* ============================================================
   WHATSAPP FLOATING WIDGET
   ============================================================ */
.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
}

.wa__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--black);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.wa__btn:hover {
  transform: scale(1.06);
}

.wa__btn svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.wa__popup {
  position: absolute;
  right: 0;
  bottom: calc(100% + 16px);
  width: 320px;
  max-width: calc(100vw - 44px);
  background: var(--white);
  border: none;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  transform: translateY(10px) scale(0.97);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* ponte invisível para manter o hover entre botão e balão */
.wa__popup::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 24px;
}

.wa:hover .wa__popup,
.wa.open .wa__popup {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa__head {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
}

.wa__logo {
  height: 22px;
  width: auto;
}

.wa__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #02fd0e;
  flex: 0 0 auto;
}

.wa__body {
  padding: 22px 20px;
}

.wa__hi {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.wa__msg {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  transition: color 0.2s ease;
}

.wa__msg:hover {
  color: #02fd0e;
}

/* rabinho do balão apontando para baixo */
.wa__popup::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 40px;
  width: 18px;
  height: 18px;
  background: var(--white);
  transform: rotate(45deg);
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {

  .cases__bar .tag, .cta {
    font-size:14px;
  }
  .v-desktop {
    display: none;
  }
  .v-mobile {
    display: block;
  }

  .content h1,
  .content h2 {
    max-width: 100%;
  }

  .content .lead {
    max-width: 100%;
  }

  /* cases swap to single-column mobile set */
  .cases__grid--desktop {
    display: none;
  }
  .cases__grid--mobile {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cases__grid--mobile img {
    width: 100%;
    height: auto;
  }

  .footer__copy {
    margin-left: 0;
  }

  /* menu mobile: hamburguer + dropdown preto */
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    min-width: 240px;
    background: #000;
    /* links alinhados à mesma margem do conteúdo (hambúrguer e títulos) */
    padding: 16px var(--pad-x) 28px;
  }

  .site-header.menu-open .nav__menu {
    display: flex;
  }

  .nav__menu a {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 11px 0;
  }

  .nav__menu a:hover,
  .nav__menu a:active {
    color: #02fd0e;
  }

  .nav__logo img {
    height: 20px;
  }

  /* padding menor nos botões CTA no mobile */
  .cta {
    padding: 10px 12px;
  }

  /* bio empilhada no mobile, com mais margem lateral */
  .bio {
    padding-left: clamp(30px, 9vw, 50px);
    padding-right: clamp(30px, 9vw, 50px);
  }
  .bio__member,
  .bio__closing {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .bio__photo {
    max-width: 320px;
    margin-bottom: 18px;
  }
  .bio__closing > * {
    grid-column: 1;
  }
  .bio__statement {
    max-width: 100%;
  }
}
