/* =====================================================
   KADOSH SMART MARKETING — estilos do site
   Cores: preto #000, vermelho #ff1e1e, branco #fff
   ===================================================== */

:root {
  --black: #000;
  --bg: #161616;        /* chumbo fosco */
  --bg-2: #1c1c1c;
  --red: #ff1e1e;
  --red-dark: #a30d0d;
  --white: #fff;
  --gray: #d8d8d8;
  --gray-2: #9a9a9a;
  --wpp: #25d366;
  --container: 1120px;
  --header-h: 96px;
  --font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.red { color: var(--red); font-weight: 600; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: 90px 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 26px; border-radius: 6px; font-weight: 400; font-size: 15px;
  border: 1.5px solid currentColor; line-height: 1.2; cursor: pointer;
  transition: background .25s, color .25s, transform .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { color: var(--red); }
.btn--red:hover { background: var(--red); color: var(--white); box-shadow: 0 8px 30px rgba(255,30,30,.35); }
.btn--white { color: var(--white); }
.btn--white:hover { background: var(--white); color: var(--black); }
.btn--wpp { background: var(--wpp); border-color: var(--wpp); color: #fff; font-weight: 500; padding: 12px 28px; }
.btn--wpp:hover { background: #1ebe5a; border-color: #1ebe5a; box-shadow: 0 8px 30px rgba(37,211,102,.35); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .3s, height .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: rgba(22,22,22,.9); backdrop-filter: blur(10px); height: 72px;
  box-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo img { height: 58px; width: auto; transition: height .3s; }
.header.is-scrolled .logo img { height: 44px; }

.nav { display: flex; gap: 34px; }
.nav__link { font-size: 13.5px; font-weight: 300; color: var(--white); position: relative; padding: 4px 0; letter-spacing: .2px; }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--red); transition: width .25s;
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 6px; }
.lang__btn {
  background: none; border: 1.5px solid transparent; color: var(--red); font: 600 14px var(--font);
  padding: 2px 6px; border-radius: 4px; cursor: pointer; transition: border-color .2s;
}
.lang__btn.is-active { border-color: var(--red); }

.burger { display: none; background: none; border: 0; width: 36px; height: 30px; cursor: pointer; flex-direction: column; justify-content: space-between; padding: 4px 2px; }
.burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-h); }
.hero__photo { position: absolute; right: 0; top: 0; bottom: 0; width: 58%; pointer-events: none; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(22,22,22,.7) 14%, rgba(22,22,22,0) 40%),
              linear-gradient(0deg, var(--bg) 0%, rgba(22,22,22,0) 22%),
              linear-gradient(180deg, var(--bg) 0%, rgba(22,22,22,0) 14%);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; margin-left: calc((100% - min(var(--container), 100% - 40px)) / 2); padding-bottom: 40px; }
.hero__title { font-size: clamp(34px, 4.2vw, 52px); font-weight: 400; line-height: 1.08; letter-spacing: -.5px; }
.hero__line { display: block; width: 72px; height: 2px; background: var(--red); margin: 22px 0 18px; }
.hero__sub { font-size: clamp(16px, 1.5vw, 19px); font-weight: 300; line-height: 1.5; }
.hero__actions { display: flex; gap: 16px; margin-top: 56px; flex-wrap: wrap; }

/* ---------- Títulos em imagem ---------- */
.title-img { margin-bottom: 36px; }
.title-img img { height: 70px; width: auto; }

/* ---------- Nossa jornada ---------- */
.jornada__text p { font-size: 16.5px; margin-bottom: 22px; max-width: 980px; }
.jornada__text strong { font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 60px 0 90px; }
.stat__num {
  display: block; font-size: clamp(56px, 7vw, 84px); font-weight: 700; font-style: italic; line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #ff5a3c 0%, #ff1e1e 55%, #b10e0e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 10px rgba(255,30,30,.25));
}
.stat__label { display: block; font-size: clamp(22px, 2.6vw, 32px); font-weight: 400; line-height: 1.15; margin-top: 8px; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; margin-bottom: 40px; }
.mv__card {
  background: linear-gradient(180deg, #8a0f0f 0%, #2e0606 100%); border-radius: 6px; padding: 26px 30px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.mv__card h3 { color: var(--red); font-weight: 500; font-size: 18px; margin-bottom: 12px; }
.mv__card p { font-size: 12.5px; line-height: 1.85; }

.valores__title { text-align: center; color: var(--red); font-weight: 400; font-size: 18px; margin: 10px 0 40px; }
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 70px; }
.valor h4 { color: var(--red); font-weight: 400; font-size: 18px; margin-bottom: 14px; }
.valor p { font-size: 12.5px; line-height: 1.85; }
.valores__quote { grid-column: 2 / 4; display: flex; align-items: flex-start; justify-content: flex-end; gap: 14px; text-align: right; align-self: center; }
.valores__quote p { font-size: clamp(16px, 1.6vw, 20px); font-weight: 400; line-height: 1.4; }
.valores__quote img { height: 76px; width: auto; }

/* ---------- Processo / Arquitetura ---------- */
.processo {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 65% 60% at 95% 100%, #ff3a1a 0%, #b81f10 22%, #4d0b06 55%, #1a0707 85%, var(--bg) 100%);
}
.processo__intro { color: var(--red); font-style: italic; font-size: 13px; margin: -12px 0 50px 70px; }
.etapas { display: flex; flex-direction: column; gap: 42px; }
.etapa { display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start; }
.etapa__letra { width: 72px; height: auto; margin-top: 2px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); }
.etapa__body h3 { font-weight: 700; font-style: italic; font-size: 19px; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 4px; }
.etapa__body p { font-size: 12.5px; line-height: 1.9; margin-bottom: 10px; max-width: 760px; }
.etapa__body p:first-of-type { font-weight: 400; }

.logica { text-align: right; margin: 70px 0 60px; }
.logica__tag { display: block; color: var(--red); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 20px; line-height: 1.1; }
.logica__p { color: var(--red); font-size: clamp(16px, 2vw, 22px); font-weight: 400; }

.manifesto { text-align: right; }
.manifesto p { font-size: clamp(16px, 1.9vw, 22px); font-weight: 500; line-height: 1.45; margin-bottom: 36px; }

/* ---------- Nosso trabalho ---------- */
.servicos { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 80px; }
.servico { display: flex; gap: 14px; align-items: stretch; }
.servico__tag {
  color: var(--red); font-weight: 700; font-style: italic; font-size: 18px; letter-spacing: .5px;
  writing-mode: vertical-rl; transform: rotate(180deg); line-height: 1; white-space: nowrap; flex: 0 0 auto; display: flex; align-items: center;
}
.servico p { font-size: clamp(18px, 1.8vw, 22px); font-weight: 400; line-height: 1.3; max-width: 360px; }

/* ---------- Portfólio ---------- */
.portfolio__grid img { width: 100%; max-width: 860px; margin: 0 auto; transition: filter .4s; }
.portfolio__grid img:hover { filter: brightness(1.15); }

/* ---------- Contato (foto + assinatura) ---------- */
.contato { position: relative; min-height: 900px; display: flex; align-items: flex-end; overflow: hidden; }
.contato__photo { position: absolute; inset: 0; }
.contato__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.contato__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(22,22,22,0) 22%, rgba(22,22,22,0) 68%, var(--bg) 100%);
}
.contato__content { position: relative; z-index: 2; width: 100%; padding: 0 0 50px; display: flex; justify-content: flex-end; }
.contato__assinatura { height: 70px; width: auto; margin-right: 60px; }

/* ---------- Caixa "Vamos construir a sua marca?" ---------- */
.cta { padding: 30px 0 100px; background: var(--bg); }
.contato__card {
  margin: 0 auto; max-width: 680px;
  background: linear-gradient(180deg, #0f0f0f 0%, #070707 100%);
  border: 1px solid rgba(255,255,255,.22); border-radius: 28px; padding: 46px 48px; text-align: center;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 0 14px rgba(230,230,230,.35),
    0 0 40px rgba(220,220,220,.18),
    0 0 90px rgba(200,200,200,.10);
  animation: neon 3.2s ease-in-out infinite;
}
@keyframes neon {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 0 14px rgba(230,230,230,.35), 0 0 40px rgba(220,220,220,.18), 0 0 90px rgba(200,200,200,.10); }
  50%      { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 20px rgba(235,235,235,.5),  0 0 55px rgba(220,220,220,.26), 0 0 110px rgba(200,200,200,.14); }
}
.contato__card h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; line-height: 1.2; margin-bottom: 10px; }
.contato__card p { font-size: 16px; margin-bottom: 28px; }
.contato__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255,255,255,.08); padding: 28px 0; background: #111; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo { height: 36px; width: auto; }
.footer p { font-size: 12.5px; color: var(--gray-2); }

/* ---------- WhatsApp flutuante ---------- */
.wpp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wpp); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .25s;
  animation: pulse 2.4s infinite;
}
.wpp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wpp-float, .contato__card { animation: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================
   RESPONSIVO
   ===================================================== */
@media (max-width: 1024px) {
  .mv { gap: 40px; }
  .valores { gap: 36px 40px; }
  .processo__intro { margin-left: 0; }
}

@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .logo img { height: 46px; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; width: min(320px, 85vw);
    height: 100vh; height: 100dvh; min-height: 100vh; overflow-y: auto;
    background: #101010; flex-direction: column; gap: 8px; padding: 110px 34px 40px;
    transform: translateX(100%); transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,.7);
    z-index: 5;
  }
  .nav.is-open { transform: none; }
  /* escurece o resto da tela quando o menu abre */
  .header.menu-open { background: #101010; backdrop-filter: none; height: var(--header-h); }
  .header.menu-open::after {
    content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 1;
  }
  .header.menu-open .header__inner { position: relative; z-index: 6; }
  .nav__link { font-size: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .header__right { position: relative; z-index: 10; }

  .hero { align-items: flex-end; }
  .hero__photo { width: 100%; opacity: .95; }
  .hero__photo img { object-position: center top; }
  .hero__photo::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(22,22,22,.85) 42%, rgba(22,22,22,.1) 100%); }
  .hero__content { max-width: 100%; margin-left: 20px; margin-right: 20px; padding-bottom: 70px; }
  .hero__actions { margin-top: 36px; }

  .section { padding: 64px 0; }
  .title-img img { height: 56px; }
  .stats { grid-template-columns: 1fr; gap: 22px; margin: 44px 0 60px; }
  .mv { grid-template-columns: 1fr; }
  .valores { grid-template-columns: 1fr; }
  .valores__quote { grid-column: auto; justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
  .etapa { grid-template-columns: 56px 1fr; gap: 16px; }
  .etapa__letra { width: 52px; }
  .logica, .manifesto { text-align: left; }
  .servicos { grid-template-columns: 1fr; gap: 40px; }
  .contato { min-height: 560px; }
  .contato__content { justify-content: center; padding-bottom: 36px; }
  .contato__assinatura { margin-right: 0; height: 56px; }
  .cta { padding: 20px 0 70px; }
  .contato__card { padding: 32px 22px; border-radius: 22px; }
  .footer__inner { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .hero__actions .btn { width: 100%; }
  .contato__actions .btn { width: 100%; }
}
