/* =========================================================
   Cópia fiel de igorodrigues.com.br (home)
   Valores extraídos do tema original (Zeyna / Elementor).
   ========================================================= */

@font-face { font-family: 'General Sans'; src: url(../assets/fonts/GeneralSans-Light.woff2) format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url(../assets/fonts/GeneralSans-Regular.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url(../assets/fonts/GeneralSans-Medium.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url(../assets/fonts/GeneralSans-Bold.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --main: #0f0f0f;
  --secondary: #8e9194;
  --bg: #f1f1f1;
  --lines: #d1d1d1;
  --dark-main: #f1f1f1;
  --dark-secondary: #858585;
  --dark-bg: #0f0f0f;
  --dark-bg-2: #191919;
  --dark-lines: #2b2b2b;
  --orange: #ff6e00;

  /* escala tipográfica do tema (html = 14px) */
  --h1: 5.61rem;     /* 78.54px */
  --h2: 4.209rem;    /* 58.93px */
  --h2-lh: 5.5rem;   /* 77px */
  --h3: 3.157rem;
  --h4: 2.369rem;    /* 33.17px */
  --h5: 1.777rem;    /* 24.88px */
  --h6: 1.333rem;    /* 18.66px */
  --md-title: 7.47rem;  /* 104.58px */
  --big-title: 10.47rem;

  --ease-expo: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 14px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'General Sans', Arial, Helvetica, sans-serif;
  font-size: 14px; line-height: 1.6; font-weight: 400;
  color: var(--main); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
p, h1, h2, h3, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; }
main { display: block; overflow: hidden; overflow: clip; position: relative; }   /* clip corta igual, mas não quebra o position: sticky */

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* máscaras de linhas e letras (SplitText) */
[data-lines-up] { padding-bottom: 6px; }

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  --btn-bg: #fff; --btn-color: #000; --icon-bg: #191919; --icon-color: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 15px;
  padding: 5px 5px 5px 20px; border-radius: 50px; overflow: hidden;
  font-size: 13.4px; line-height: 1; font-weight: 400;
  color: var(--btn-color); cursor: pointer; user-select: none;
  border: 0 solid #e6e6e6;
}
.btn::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; height: 100%; border-radius: inherit; background: var(--btn-bg); z-index: -1;
  transition: all .3s cubic-bezier(.89, .02, .12, .99);
}
.btn__text { position: relative; display: block; overflow: hidden; line-height: 1; white-space: nowrap; }
.btn__text .chars-main, .btn__text .chars-hover { display: block; white-space: nowrap; }
.btn__text .chars-hover { position: absolute; left: 0; top: 100%; }
.btn__text .ch { display: inline-block; transition: transform .3s ease; transition-delay: calc(.02s * var(--c)); }
.btn:hover .btn__text .ch { transform: translateY(-1em); }

.btn__icon {
  position: relative; display: block; overflow: hidden; z-index: 2;
  padding: 12px; border-radius: 50px; line-height: 0; font-size: 18px; color: var(--icon-color);
}
.btn__icon::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px;
  transform: translate(-50%, -50%); border-radius: 50px; background: var(--icon-bg); z-index: -1;
}
.btn__icon > span { display: block; transition: transform .4s cubic-bezier(.68, -.55, .27, 1.55); }
.btn__icon > span.icon-hover { position: absolute; top: 12px; right: 100%; }
.btn:hover .btn__icon > span { transform: translateX(calc(100% + 12px)); }
.btn__icon svg { width: 1em; height: 1em; fill: currentColor; }

.btn--light  { --btn-bg: #fff;        --btn-color: #000; }
.btn--orange { --btn-bg: var(--orange); --btn-color: #fff; }
.btn--outline { --btn-bg: transparent; --btn-color: #fff; border-width: 1px; }
.btn--pop-dark   { --icon-bg: #191919; }
.btn--pop-orange { --icon-bg: var(--orange); }
.btn--wa .btn__icon svg { width: 23px; height: 25px; }
.btn--wa .btn__icon > span.icon-hover { top: 12px; }

/* link sublinhado com seta (Ver Sobre, Ver Case...) */
.link-under {
  position: relative; display: inline-flex; align-items: center; gap: .25em;
  font-size: 14px; line-height: 1; color: var(--main); cursor: pointer; margin: 4px 0;
}
.link-under::after {
  content: ''; position: absolute; left: 0; bottom: .06em; width: 100%; height: .05em; background: currentColor;
}
.link-under:hover::after { animation: toggleLine .75s cubic-bezier(.19, 1, .22, 1); }
.link-under svg { width: 1em; height: 1em; fill: currentColor; }
.link-under--light { color: var(--dark-main); }
@keyframes toggleLine {
  0% { clip-path: inset(0 0 0 0); }
  50% { clip-path: inset(0 0 0 100%); }
  51% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

/* botão retangular do rodapé (e-mail, telefone) */
.btn-box {
  position: relative; isolation: isolate; display: inline-flex; overflow: hidden;
  padding: 20px 50px; font-size: 10px; line-height: 1; color: var(--dark-main);
}
.btn-box::before {
  content: ""; position: absolute; inset: 0; background: var(--dark-bg-2); z-index: -1;
}
.btn-box::after {
  content: ""; position: absolute; inset: 0; background: #262626; z-index: -1;
  transform: translateX(101%); transition: transform .45s cubic-bezier(.89, .02, .12, .99);
}
.btn-box:hover::after { transform: translateX(0); }
.btn-box__text { position: relative; display: block; overflow: hidden; white-space: nowrap; }
.btn-box__text .chars-main, .btn-box__text .chars-hover { display: block; }
.btn-box__text .chars-hover { position: absolute; left: 0; bottom: 100%; }
.btn-box__text .ch { display: inline-block; transition: transform .3s ease; transition-delay: calc(.02s * var(--c)); }
.btn-box:hover .btn-box__text .ch { transform: translateY(1em); }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; color: #fff;
}
.site-logo { display: block; width: 50px; }
.site-logo svg { width: 100%; height: auto; }
.header-right { display: flex; align-items: center; gap: 40px; }
.main-nav { display: flex; gap: 28px; font-size: 14px; line-height: 1.6; margin-top: 0; }
.nav-link { position: relative; display: inline-flex; color: #fff; overflow: hidden; }
.nav-link:not(:last-child)::after { content: "/"; }
.nav-link .nav-text { position: relative; display: block; overflow: hidden; }
.nav-link .chars-main, .nav-link .chars-hover { display: block; white-space: nowrap; }
.nav-link .chars-hover { position: absolute; left: 0; top: 100%; }
.nav-link .ch { display: inline-block; transition: transform .3s ease; transition-delay: calc(.02s * var(--c)); }
.nav-link:hover .ch { transform: translateY(-100%); }
.header-mobile-btn { display: none !important; }

/* =========================================================
   VÍDEO DE FUNDO + BACKWARD (hero e chamada final)
   ========================================================= */
.bg-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.bg-video video { width: 100%; height: 100%; object-fit: cover; }
.bg-video__overlay { position: absolute; inset: 0; background: #0009; z-index: 2; }
.backward { --op: 0; }
.backward::before {
  content: ""; position: absolute; inset: 0; background: #000; z-index: 6;
  opacity: var(--op); pointer-events: none; will-change: opacity;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; color: #fff; background: #000;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero__content { position: relative; z-index: 3; width: 100%; margin: 0; padding: 213px 20px 0; display: flex; justify-content: flex-start; }
.hero__label { margin-bottom: 20px; font-size: 14px; line-height: 1.6; color: #fff; }
.hero__text { width: 660px; }
.hero h1 {
  margin: 0; padding-bottom: 6px;
  font-size: 62px; line-height: 1.08; font-weight: 500; letter-spacing: -.5px;
}
.hero__sub { max-width: 520px; margin-top: 24px; font-size: var(--h6); line-height: 1.4; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
/* botão ghost: só contorno, mesma altura do principal */
.btn--ghost { min-height: 52px; padding: 5px 26px; border-color: rgb(255 255 255 / .45); }
.btn--ghost::before { background: rgb(255 255 255 / 0); transition: background .3s; }
.btn--ghost:hover::before { background: rgb(255 255 255 / .1); }

.hero__name {
  position: relative; z-index: 3;
  margin: 0 0 -24px -10px; padding: 0 4px 4px 20px;
  font-size: 12vw; line-height: .9em; font-weight: 500; letter-spacing: -5.3px;
  white-space: nowrap; color: #fff; user-select: none;
}
.hero__name .char-mask { display: inline-block; overflow: clip; vertical-align: top; }
.hero__name .char { display: inline-block; }
.hero__copy { display: inline-block; font-size: 50px; padding-right: 10px; transform: translateY(-54%); vertical-align: baseline; }

/* fundo do hero: imagem do camaleão, escurecida onde há texto */
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__photo .bg-video__overlay {
  background:
    linear-gradient(90deg, rgb(0 0 0 / .78) 0%, rgb(0 0 0 / .55) 32%, rgb(0 0 0 / .1) 58%, rgb(0 0 0 / 0) 70%),
    linear-gradient(0deg, rgb(0 0 0 / .75) 0%, rgb(0 0 0 / .35) 22%, rgb(0 0 0 / 0) 42%),
    linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / 0) 16%);
}

/* língua e asas do besouro (WebGL, ver js/hero-fx.js) */
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity .4s; }
.hero__fx.is-ready { opacity: 1; }

/* besouro voando (recorte da imagem, ver js/hero-fx.js) */
.beetle-fly { position: absolute; z-index: 1; visibility: hidden; pointer-events: none; will-change: transform; }
.beetle-fly__turn { position: absolute; inset: 0; }
.beetle-fly__front, .beetle-fly__elytra { position: absolute; inset: 0; width: 100%; height: 100%; }
.beetle-fly__wing {
  position: absolute; left: 50%; top: 20%; width: 46%; height: 22%; border-radius: 50%;
  background: linear-gradient(90deg, rgb(235 238 242 / .6), rgb(235 238 242 / .12));
  border: 1px solid rgb(255 255 255 / .3);
}
.beetle-fly__wing--2 { top: 27%; width: 40%; }
.beetle-hit {
  position: absolute; z-index: 5; padding: 0; border: 0; background: transparent; cursor: pointer;
  border-radius: 45%; -webkit-tap-highlight-color: transparent;
}
.beetle-hit:disabled { cursor: default; pointer-events: none; }
.beetle-hit:focus-visible { outline: 1px dashed rgb(255 255 255 / .6); outline-offset: 2px; }

/* olho do camaleão (camadas recortadas da imagem, ver js/hero-eye.js) */
.hero__eye {
  position: absolute; z-index: 1; border-radius: 50%; background-repeat: no-repeat; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 58%, transparent 100%);
          mask-image: radial-gradient(circle closest-side, #000 58%, transparent 100%);
}

/* carrossel de clientes no lugar do nome (só logos, na coluna esquerda) */
.hero .clients--hero {
  position: relative; z-index: 3; width: calc(62% - 20px); margin: 0 0 0 20px; padding: 0 0 50px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 88%, transparent 100%);
}
.clients--hero .client { background: none; width: 150px; height: auto; padding: 0 34px; }
/* rótulo "( Clientes atendidos )" acima dos logos, mesmo estilo de "( Web designer )" */
.hero-clients { position: relative; z-index: 3; }
.hero-clients__label { margin: 0 0 16px 20px; }
.clients--hero .client img { filter: brightness(0) invert(1); }

/* trabalhos recentes: cards glass à direita, o segundo some com fade */
.hero-works { position: absolute; z-index: 4; left: 69%; right: 0; bottom: 42px; }
.hero-works__label { margin-bottom: 16px; font-size: 14px; line-height: 1.6; color: #fff; text-shadow: 0 1px 12px rgb(0 0 0 / .9), 0 0 2px rgb(0 0 0 / .8); }
.hero-works__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 320px, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 320px, transparent 100%);
}
.hero-works__track::-webkit-scrollbar { display: none; }
.hero-works__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.hero-works__track.is-drag .work { pointer-events: none; }
.work {
  flex: none; width: 300px; height: 460px; scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden; color: var(--dark-main);
  background: rgb(8 8 8 / .5); border: 1px solid rgb(255 255 255 / .14); border-radius: 10px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.work__head { display: flex; justify-content: space-between; padding: 10px 20px; border-bottom: 1px solid rgb(255 255 255 / .12); font-size: 12px; line-height: 1.6; }
.work__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
.work__body img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; transition: transform 1s var(--ease-expo); }
.work:hover .work__body img { transform: scale(1.03); }
.work__title { font-size: 20px; line-height: 1.35; letter-spacing: -.01em; }
.work .link-under { margin-top: auto; }

/* card com a imagem inteira, degradê com glass embaixo e o conteúdo por cima.
   Tudo levemente transparente, para o camaleão aparecer um pouco atrás. */
.work--full {
  position: relative; width: 310px; height: 440px; border-radius: 16px;
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid rgb(255 255 255 / .16);
  box-shadow: 0 20px 50px rgb(0 0 0 / .35);
}
.work--full .work__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%;
  opacity: .78; transform: scale(1.12); transition: transform 1.2s var(--ease-expo);
}
.work--full:hover .work__img { transform: scale(1.17); }
/* glass: desfoca o que está atrás e escurece de baixo para cima, sumindo antes do meio */
.work--full::after {
  content: ''; position: absolute; inset: 40% 0 0;
  background: linear-gradient(180deg, rgb(10 10 10 / 0) 0%, rgb(10 10 10 / .55) 45%, rgb(10 10 10 / .78) 100%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 42%);
          mask-image: linear-gradient(180deg, transparent 0, #000 42%);
}
.work__tag {
  position: absolute; z-index: 1; top: 16px; left: 16px; padding: 4px 12px; border-radius: 30px;
  font-size: 12px; line-height: 1.6; color: #fff;
  background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.work__info {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: #fff;
}
.work__name { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.work--full .work__title {
  align-self: stretch; padding-bottom: 16px; margin-bottom: 10px; border-bottom: 1px solid rgb(255 255 255 / .16);
  font-size: 15px; line-height: 1.45; color: rgb(255 255 255 / .72);
}
.work--full .link-under { margin: 0; }

/* =========================================================
   SOBRE
   ========================================================= */
.sobre { position: relative; z-index: 10; margin-top: 100px; background: var(--bg); display: flex; flex-direction: column; align-items: flex-end; }
.sobre__top {
  width: 100%; margin-top: 20px; padding: 20px 20px 0;
  display: grid; grid-template-columns: 2fr 6fr 2fr; column-gap: 20px; align-items: start;
}
.sobre__top > * { padding: 10px; }
.label-plus { display: flex; align-items: center; font-size: 14px; line-height: 22.4px; }
.label-plus svg { width: 20px; height: 20px; margin-right: 10px; fill: currentColor; }
.sobre__lead { width: 590px; max-width: 100%; font-size: var(--h4); line-height: 1.3; letter-spacing: -.02em; font-weight: 400; }
.sobre__aside h2 { padding-bottom: 10px; font-size: 14px; line-height: 24px; font-weight: 400; letter-spacing: -.04em; }
.sobre__aside .link-under { margin-top: 20px; }

.counters {
  width: 80%; margin-top: 24px; padding: 10px;
  display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 50px;
}
.counter { padding: 10px; }
.counter__num { display: flex; align-items: flex-start; font-size: 100px; line-height: 100px; letter-spacing: -6px; font-weight: 400; }
.counter__num span:last-child { align-self: center; }
.counter p { font-size: 14px; line-height: 22.4px; color: var(--secondary); }

.clients { width: 100%; margin-top: 40px; overflow: hidden; }
.clients__track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.client {
  --c: var(--lines); --s: 20px; --w: 1px;
  flex: none; width: 268px; height: 181.4px; padding: 70px 60px;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(to right, var(--c) var(--w), transparent var(--w)) 0 0,
    linear-gradient(to right, var(--c) var(--w), transparent var(--w)) 0 100%,
    linear-gradient(to left, var(--c) var(--w), transparent var(--w)) 100% 0,
    linear-gradient(to left, var(--c) var(--w), transparent var(--w)) 100% 100%,
    linear-gradient(to bottom, var(--c) var(--w), transparent var(--w)) 0 0,
    linear-gradient(to bottom, var(--c) var(--w), transparent var(--w)) 100% 0,
    linear-gradient(to top, var(--c) var(--w), transparent var(--w)) 0 100%,
    linear-gradient(to top, var(--c) var(--w), transparent var(--w)) 100% 100%;
  background-repeat: no-repeat; background-size: var(--s) var(--s);
}
.client img { width: 100%; max-height: 2.5rem; object-fit: contain; }

/* =========================================================
   DESIGN BOM (statement)
   ========================================================= */
.statement {
  position: relative; z-index: 10; background: var(--bg);
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 110px 20px 0; margin-bottom: 50px;
}
.statement__left { width: calc(50% - 20px); padding: 10px; }
.statement__label { font-size: var(--h6); line-height: 1.4; }
.statement__title { margin-top: 20px; width: 860px; max-width: 100%; font-size: var(--h2); line-height: var(--h2-lh); letter-spacing: -.04em; font-weight: 400; }
.statement__right { width: calc(50% - 20px); padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.statement__right > p { width: 550px; max-width: 100%; font-size: 16px; line-height: 1.6; }
.statement__buttons { display: flex; align-items: center; gap: 20px; padding: 10px; }



/* =========================================================
   CASES
   ========================================================= */
.cases { position: relative; z-index: 10; background: #0f0f0f; }
.case {
  position: relative; min-height: 110vh; overflow: hidden;
  display: flex; align-items: center; padding: 0 20px;
}
.case--right { justify-content: flex-end; }
.case--left  { justify-content: flex-start; }
.case__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(55%); z-index: 0; }
.case__col { position: relative; z-index: 1; width: calc((100% - 100px) * .3231); display: flex; justify-content: center; }
.case-card {
  width: 85%; display: flex; flex-direction: column; gap: 5px; overflow: hidden;
  background: rgb(20 16 12 / .02); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 10px; border: 1px solid rgb(255 255 255 / .1);
}
.case-card__head { display: flex; justify-content: space-between; border-bottom: 1px solid #ffffff36; }
.case-card--first .case-card__head { border-bottom-color: var(--dark-lines); }
.case-card__head > * { padding: 10px 20px; font-weight: 400; font-size: 12px; line-height: 1.6; color: var(--dark-main); }
.case-card__body { padding: 20px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.case-card__body img { width: 100%; height: auto; border-radius: 6px; }
.case-card .case-card__body p.case-card__title { font-size: var(--h5); line-height: 1.4; letter-spacing: -.01em; font-weight: 400; color: var(--dark-main); }
.case-card__body p { font-size: 14px; line-height: 1.6; color: #fff; }
.case-card--first .case-card__body p { color: var(--dark-secondary); }

/* =========================================================
   SERVIÇOS
   ========================================================= */
.services {
  position: relative; z-index: 10; background: var(--bg);
  display: flex; justify-content: flex-start; align-items: flex-start; gap: 20px;
  padding: 100px 20px 85px;
}
.services__left { width: 50%; align-self: stretch; }
.services__sticky { position: sticky; top: 40px; padding: 30px 0 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.services__label { font-size: var(--h6); line-height: 1.4; }
.services__title { width: 680px; max-width: 100%; font-size: var(--h2); line-height: 1.2; letter-spacing: -.04em; font-weight: 400; }
.services__text { width: 600px; max-width: 100%; font-size: var(--h6); line-height: 1.4; }
.services__list { flex: 1; min-width: 0; padding: 30px 0 10px; display: flex; flex-direction: column; gap: 20px; }
.service {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: center;
  padding: 20px 0; border-top: 1px solid var(--lines);
}
.service--last { border-bottom: 1px solid var(--lines); }
.service > * { padding: 10px; }
.service__num { font-family: 'Outfit', 'General Sans', Arial, sans-serif; font-size: var(--h1); line-height: 1.1; letter-spacing: -.05em; font-weight: 500; }
.service__body { display: flex; flex-direction: column; gap: 19px; }
.service__name { font-size: 16px; line-height: 1.6; font-weight: 500; }
.service__desc { font-size: 16px; line-height: 1.6; color: var(--secondary); }

/* imagem que acompanha o cursor nas linhas de serviço (js/services-hover.js) */
.svc-float {
  position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 3;
  border-radius: 14px; overflow: hidden; pointer-events: none; visibility: hidden; will-change: transform;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .35);
}
.svc-float__img { position: absolute; inset: 0; overflow: hidden; }
.svc-float__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service__num { transition: opacity .35s; }
.service.is-hover .service__num { opacity: 0; }   /* o número some por baixo da imagem */

/* cada linha é um link para a página do serviço: setinha diagonal no canto superior direito.
   No hover a seta sai pela diagonal e entra outra no lugar, num círculo laranja com seta branca
   (escolha do Igo em 23/11/2026) */
.service { position: relative; color: inherit; text-decoration: none; }
.service > .service__body { padding-right: 66px; }
.service > .service__go {
  position: absolute; top: 22px; right: 0; width: 46px; height: 46px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden; color: var(--main);
  transition: background-color .5s var(--ease-expo), color .4s;
}
.service__go svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: currentColor; transition: transform .6s var(--ease-expo); }
.service__go svg + svg { transform: translate(-160%, 160%); }
.service:hover .service__go,
.service:focus-visible .service__go { background: var(--orange); color: #fff; }
.service:hover .service__go svg:first-child { transform: translate(160%, -160%); }
.service:hover .service__go svg + svg { transform: none; }
.service:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
@media (max-width: 767px) { .service > .service__go { top: 16px; width: 40px; height: 40px; } }

/* faixa central de leitura (22/11/2026): Sobre, Serviços e "No ambiente digital" até os botões,
   o conteúdo fica numa faixa de no máximo 1600px no centro; o fundo continua na largura toda */
@media (min-width: 1025px) {
  .sobre { padding-inline: max(0px, calc((100% - 1640px) / 2)); }
  .statement, .services { padding-inline: max(20px, calc((100% - 1600px) / 2)); }
}
/* as seções claras ficam sobre o hero escuro (preso atrás); 1px de sobreposição evita uma fresta escura entre elas */
.services, .statement { margin-top: -1px; }

/* =========================================================
   CHAMADA FINAL
   ========================================================= */
/* a chamada final virou uma sequência de frases presa na tela: estilos em css/cta-sequencia.css */

/* rodapé: css/rodape.css */

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 50px; height: 50px; border-radius: 50px; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.wa-float svg { width: 25px; height: 25px; fill: currentColor; }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  padding: 6px 12px; border-radius: 6px; background: #fff; color: #222; font-size: 13px; line-height: 1.4; white-space: nowrap;
  box-shadow: 0 7px 15px 1px rgb(55 62 70 / 7%); opacity: 0; pointer-events: none; transition: all .3s ease;
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translate(0, -50%); }

/* =========================================================
   TABLET (até 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .header-right { gap: 25px; }
  .hero__name { font-size: var(--big-title); line-height: var(--big-title); letter-spacing: -.08em; }
  .sobre__top { padding: 0; }
  .sobre__lead { width: 100%; font-size: var(--h5); line-height: 1.4; letter-spacing: -.01em; }
  .counter__num { font-size: 75px; line-height: 75px; }
  .statement { padding: 110px 10px 10px; flex-wrap: wrap; }
  .case { flex-direction: column; justify-content: space-evenly; }
  .case__col { width: 60%; }
  .services { flex-direction: column; }
  .services__left, .services__list { width: 100%; }
  .services__list { padding-top: 40px; }
}

/* =========================================================
   CELULAR (até 767px)
   ========================================================= */
@media (max-width: 767px) {
  .site-header { padding: 20px; }
  /* no celular: "Menu" ao lado do botão Contato (o "Vamos Conversar" largo fica só no computador) */
  .header-right { margin-left: auto; margin-right: 18px; gap: 0; }
  .header-right > .btn { display: none; }
  .header-mobile-btn { display: inline-flex !important; }

  .hero { min-height: calc(100vh - 50px); justify-content: flex-start; }
  .hero__name { display: none; }
  .hero__photo { bottom: auto; height: 78vh; }
  .hero__photo img { object-position: 64% center; }
  .hero__photo .bg-video__overlay { background: linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / .1) 22%, rgb(0 0 0 / .55) 52%, #000 100%); }
  .hero .clients--hero { width: 100%; margin: 0; padding-bottom: 30px; }
  .clients--hero .client { width: 118px; padding: 0 24px; }
  .hero-clients__label { margin-left: 20px; }
  .hero-works { position: static; padding: 0 0 40px 20px; }
  .hero-works__track { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 280px, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 280px, transparent 100%); }
  .work { width: 270px; height: 420px; }
  .work--full { width: 280px; height: 400px; }
  .hero__content { width: 100%; padding: 46vh 20px 30px; justify-content: flex-start; }
  .hero__text { width: 100%; }
  .hero__sub { margin-top: 15px; }
  .hero__actions { margin-top: 35px; margin-bottom: 10px; }
  .hero h1 { font-size: 36px; }

  .sobre { margin-top: 20px; }
  .sobre__top { grid-template-columns: 1fr; row-gap: 20px; padding: 0 10px; margin-top: 20px; }
  .label-plus { line-height: 24px; }
  .sobre__lead { font-size: 24px; line-height: 1.25em; }
  .counters { width: 100%; grid-template-columns: 1fr; row-gap: 20px; }

  .statement { flex-direction: column; align-items: stretch; padding: 50px 10px 0; gap: 0; margin-bottom: 39px; }
  .statement__left, .statement__right { width: 100%; }
  .statement__right { padding: 10px 20px 0 10px; }
  .statement__label { font-size: 14px; line-height: 1.6; }
  .statement__title { font-size: 24px; line-height: 1.4; letter-spacing: -.01em; }
  .statement__buttons { padding: 0; gap: 35px; }

  .case { justify-content: center; gap: 20px; padding: 0; }
  .case__col { width: 100%; padding: 10px 20px; }
  .case--right .case__col { margin-top: 60px; }
  .case--left .case__col { margin-bottom: 60px; }
  .case-card { width: 100%; }

  .services { flex-direction: column; padding: 56px 20px 69px; gap: 20px; }
  .services__left, .services__list { width: 100%; }
  .services__sticky { position: static; padding: 0; }
  .services__label { font-size: 14px; line-height: 1.6; }
  .services__list { padding: 0; }
  .service > .service__num, .service > .service__body { padding-left: 0; }
  .service { grid-template-columns: 1fr; row-gap: 6px; padding: 22px 0; }
  .service__num { font-size: 34px; line-height: 1; letter-spacing: -.04em; }
  .service__body { gap: 10px; }
  .services__title { font-size: 34px; line-height: 1.15; letter-spacing: -.03em; }
  .services__text { font-size: 16px; line-height: 1.55; }

  .cta__content { padding: 10px; margin-top: 65px; }
  .cta__title { font-size: var(--h5); line-height: 1.4; letter-spacing: -.01em; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* títulos em Outfit (Google Fonts), escolhida em 26/11/2026 no lugar da Funnel Display */
h1, h2 { font-family: 'Outfit', 'General Sans', Arial, sans-serif; }

/* WhatsApp: escondido no hero, aparece ao descer para a seção seguinte */
.wa-float { opacity: 0; visibility: hidden; transform: translateY(24px) scale(.6); transition: opacity .4s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1), visibility 0s .6s; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1), visibility 0s; }

/* =========================================================
   ÚLTIMOS TRABALHOS NO HERO (ver js/hero-latest.js)
   Fechado: só um botão redondo com seta. Aberto: o botão vira a pílula "Últimos trabalhos"
   e abaixo dele aparece um box vertical com 4 slides, barras de progresso e contador.
   ========================================================= */
.latest {
  position: absolute; z-index: 4; right: 20px; top: 30vh;
  display: flex; flex-direction: column; align-items: flex-end;
  opacity: 0; transform: translateX(20px);
  transition: opacity 1s ease, transform 1.2s var(--ease-expo);
}
.latest.is-in { opacity: 1; transform: none; }
.latest__toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  height: 44px; min-width: 44px; padding: 0 13px; margin: 0 0 12px auto;
  border: 1px solid rgb(255 255 255 / .45); border-radius: 50px; background: rgb(0 0 0 / .15);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font: inherit; font-size: 13px; line-height: 1; cursor: pointer;
  transition: border-color .3s, background .3s, gap .6s var(--ease-expo);
}
.latest__toggle:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.latest__label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .6s var(--ease-expo), opacity .3s; }
.latest__toggle svg { width: 16px; height: 16px; fill: currentColor; flex: none; transition: transform .6s var(--ease-expo); }
.latest.is-open .latest__toggle { gap: 14px; padding: 0 16px 0 18px; }
.latest.is-open .latest__label { max-width: 160px; opacity: 1; transition: max-width .6s var(--ease-expo), opacity .4s .15s; }
.latest.is-open .latest__toggle svg { transform: rotate(180deg); }

/* carrossel: o primeiro card no tamanho cheio, os outros dois um pouco menores; o terceiro cortado pela borda */
.latest__reel {
  --w: 220px; --h: 330px;
  position: relative; width: calc(var(--w) * 2.45 + 28px); height: var(--h); margin-right: -20px;
  overflow: hidden; visibility: hidden; pointer-events: none;
}
.latest.is-open .latest__reel { visibility: visible; pointer-events: auto; }
.latest__card {
  position: absolute; left: 0; top: 0; width: var(--w); height: var(--h); margin: 0;
  border-radius: 16px; overflow: hidden; background: transparent; cursor: pointer;
  transform-origin: 0 50%; will-change: transform, opacity; opacity: 0;
  box-shadow: 0 24px 60px rgb(0 0 0 / .45);
}
.latest__card img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: filter .6s, transform 1.2s var(--ease-expo); }   /* leve transparência: o camaleão aparece um pouco atrás */
.latest__card:not(.is-active) img { filter: brightness(.65); }
.latest__card:not(.is-active):hover img { filter: brightness(.85); }
.latest__card.is-active { cursor: default; }
.latest__card.is-active:hover img { transform: scale(1.04); }
.latest__card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 16px 16px;
  display: flex; flex-direction: column; align-items: flex-start;
  color: #fff; opacity: 0; pointer-events: none; z-index: 2;
}
.latest__card.is-active figcaption { pointer-events: auto; }
/* degradê escuro na parte de baixo do card, atrás do texto */
.latest__card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .45) 45%, rgb(0 0 0 / .85) 100%);
}
.latest__type { font-size: 11px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
.latest__name { margin-top: 4px; font-family: 'Outfit', 'General Sans', Arial, sans-serif; font-size: 20px; line-height: 1.15; font-weight: 500; }
.latest__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding-bottom: 3px;
  font-size: 13px; line-height: 1; color: #fff; border-bottom: 1px solid rgb(255 255 255 / .5); transition: border-color .3s;
}
.latest__link:hover { border-color: #fff; }
.latest__link svg { width: 12px; height: 12px; fill: currentColor; }
@media (max-width: 1024px) { .latest { display: none; } }

/* selo de confiança no canto inferior direito do hero (vidro fosco: o fundo aparece borrado, quase sem tinta) */
.trust {
  position: absolute; z-index: 4; right: 20px; bottom: 50px; width: 236px; padding: 16px 18px 18px;
  border-radius: 22px; color: #fff;
  background: rgb(120 120 120 / .12);
  border: 1px solid rgb(255 255 255 / .05);
  -webkit-backdrop-filter: blur(22px) brightness(1.05); backdrop-filter: blur(22px) brightness(1.05);
  box-shadow: inset 0 0 30px rgb(255 255 255 / .03), 0 20px 50px rgb(0 0 0 / .25);
  opacity: 0; transform: translateY(20px);
  animation: trustIn 1.2s var(--ease-expo) 1.9s forwards;
}
@keyframes trustIn { to { opacity: 1; transform: none; } }
.trust__line { display: block; width: 28px; height: 1px; background: rgb(255 255 255 / .35); }
.trust__text { margin: 14px 0 0; font-size: 15px; line-height: 1.35; color: #fff; }
.trust__row { display: flex; align-items: center; margin-top: 16px; }
.trust__avatars { display: flex; margin: 0; padding: 0; list-style: none; }
.trust__avatars li { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 2px solid rgb(255 255 255 / .9); }
.trust__avatars li + li { margin-left: -10px; }
.trust__avatars img { width: 100%; height: 100%; object-fit: cover; }
.trust__more {
  display: grid; place-items: center; width: 40px; height: 40px; margin-left: -10px; border-radius: 50%;
  background: #fff; color: var(--main); box-shadow: 0 2px 8px rgb(0 0 0 / .15);
  transition: background .3s, color .3s;
}
.trust__more:hover { background: var(--orange); color: #fff; }
.trust__more svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 1024px) { .trust { display: none; } }

/* =========================================================
   MENU: gatilho "Menu" com ícone (o painel que ele abre fica em css/menu.css)
   ========================================================= */
.header-right { position: relative; }
.menu-trigger {
  display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none;
  color: #fff; font: inherit; font-size: 14px; line-height: 1.6; cursor: pointer;
}
.menu-trigger__text { position: relative; display: block; overflow: hidden; line-height: 1.2; }
.menu-trigger__text .chars-main, .menu-trigger__text .chars-hover { display: block; white-space: nowrap; }
.menu-trigger__text .chars-hover { position: absolute; left: 0; top: 100%; }
.menu-trigger__text .ch { display: inline-block; transition: transform .3s ease; transition-delay: calc(.02s * var(--c)); }
.menu-trigger:hover .menu-trigger__text .ch { transform: translateY(-100%); }
.menu-trigger__icon { position: relative; width: 22px; height: 10px; }
.menu-trigger__icon i {
  position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease-expo), top .5s var(--ease-expo), width .4s var(--ease-expo);
}
.menu-trigger__icon i:first-child { top: 0; }
.menu-trigger__icon i:last-child { top: 8.5px; width: 70%; left: auto; }
.menu-trigger:hover .menu-trigger__icon i:last-child { width: 100%; }
.menu-trigger[aria-expanded="true"] .menu-trigger__icon i { top: 4.25px; width: 100%; }
.menu-trigger[aria-expanded="true"] .menu-trigger__icon i:first-child { transform: rotate(45deg); }
.menu-trigger[aria-expanded="true"] .menu-trigger__icon i:last-child { transform: rotate(-45deg); }
/* o painel do menu fica em css/menu.css */

/* título só para leitores de tela e buscadores (ex.: "Cases") */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* aviso ao abrir o WhatsApp no computador (js/whatsapp.js) */
.wa-aviso {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 18px; padding: 12px 12px 12px 20px;
  border-radius: 999px; background: rgb(15 15 15 / .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; font-size: 14px; white-space: nowrap; opacity: 0; transform: translate(-50%, 20px); pointer-events: none;
  transition: opacity .4s, transform .6s cubic-bezier(.19, 1, .22, 1);
}
.wa-aviso.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.wa-aviso span { color: rgb(255 255 255 / .7); }
.wa-aviso a { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid rgb(255 255 255 / .5); }
.wa-aviso a:hover { color: #25d366; border-color: #25d366; }
.wa-aviso svg { width: 13px; height: 13px; fill: currentColor; }
.wa-aviso button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }

/* =========================================================
   BOTÕES NO CELULAR (26/11/2026): menores que no computador
   ========================================================= */
@media (max-width: 767px) {
  .btn { gap: 12px; padding: 4px 4px 4px 18px; font-size: 13px; }
  .btn__icon { padding: 10px; font-size: 15px; }
  .btn__icon::before { width: 35px; height: 35px; }
  .btn__icon > span.icon-hover { top: 10px; }
  .btn:hover .btn__icon > span { transform: translateX(calc(100% + 10px)); }
  .btn--ghost { min-height: 43px; padding: 4px 20px; }
  .btn--wa .btn__icon svg { width: 18px; height: 20px; }
  .btn--wa .btn__icon > span.icon-hover { top: 10px; }
  /* botão do cabeçalho: do mesmo porte do "Menu" */
  .header-mobile-btn { gap: 10px; padding: 3px 3px 3px 14px; font-size: 13px; }
  .header-mobile-btn .btn__icon { padding: 8px; font-size: 13px; }
  .header-mobile-btn .btn__icon::before { width: 29px; height: 29px; }
  .header-mobile-btn .btn__icon > span.icon-hover { top: 8px; }
}

/* Serviços da home no celular (26/11/2026): o botão "Ver Serviços" vem depois do último serviço */
.services__cta-mob { display: none; }
@media (max-width: 767px) {
  .services { padding-top: 72px; }
  .services__sticky .services__cta { display: none; }
  .services__cta-mob { display: block; width: 100%; margin-top: 36px; }
}

/* Ajuste fino da tipografia no celular (26/11/2026) */
@media (max-width: 767px) {
  .hero h1 { font-size: 34px; line-height: 1.1; }
  .services__title { font-size: 29px; line-height: 1.16; }
  .service__num { font-size: 28px; }
}
