/* =========================================================
   Impulse Agência Digital · landing page
   Mobile first. Cores e tipografia: identidade/design-guide.md
   ========================================================= */

:root {
  --bg: #0d0d0d;
  --surface: #1b1b1e;
  --surface-2: #232327;
  --line: rgba(255, 255, 255, .09);
  --text: #f5f5f5;
  --muted: #a3a3a8;
  --red: #e3262e;
  --red-deep: #c11010;
  --red-dark: #a30f14;
  --light-bg: #f3f2f0;
  --light-text: #141414;
  --light-muted: #5d5d62;
  --mark: #f8d0d2;

  --radius: 22px;
  --radius-sm: 16px;
  --max: 1120px;
  --narrow: 760px;
  --pad: 22px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--red); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: var(--narrow); }
.center { text-align: center; }

/* Ritmo único entre seções: mesma medida em cima e embaixo de todas */
:root { --sy: 44px; }
.section { padding: var(--sy) 0; position: relative; }

/* ---------- Tipografia ---------- */
.title {
  font-size: clamp(30px, 7.4vw, 50px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.title--center { text-align: center; }
.title--xl { font-size: clamp(46px, 12vw, 84px); line-height: 1; letter-spacing: -.045em; }
.title--red { color: var(--red); }
.lead {
  margin-top: 20px;
  text-align: center;
  color: #d4d4d8;
  font-size: 17px;
  text-wrap: pretty;
}
.lead a { text-decoration: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 38px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--glow {
  color: #fff;
  background: linear-gradient(100deg, var(--red-dark), var(--red));
  box-shadow: 0 10px 40px rgba(227, 38, 46, .45), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.btn--glow:hover { box-shadow: 0 14px 54px rgba(227, 38, 46, .6), inset 0 1px 0 rgba(255, 255, 255, .2); filter: brightness(1.06); }
.btn--white { color: var(--red-deep); background: #fff; }
.btn--white:hover { box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.btn:focus-visible,
summary:focus-visible,
button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- Marca (logo) ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand__logo { height: 46px; width: auto; }
.brand__word {
  display: none;
  color: var(--red);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  padding-bottom: 6px;
}
.brand.no-logo .brand__logo { display: none; }
.brand.no-logo .brand__word { display: block; }
.brand__tag {
  padding-left: 14px;
  border-left: 2px solid #fff;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #fff;
}

/* =========================================================
   1 · HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 64px 0 64px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 70% at 15% 20%, rgba(120, 10, 16, .55), transparent 60%),
    linear-gradient(180deg, #2a2626 0%, #141212 60%, var(--bg) 100%);
}
/* Foto de bastidor no fundo (como no esboço); o vídeo, quando chegar, toca por cima */
/* Até 1100px: a foto preenche o topo inteiro sem distorcer (recorta o que sobra), como no esboço */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, .76) 0%, rgba(13, 13, 13, .8) 55%, rgba(13, 13, 13, .88) 100%);
}
.hero__content { text-align: center; }
.hero .brand { margin-bottom: 64px; }
.hero__title {
  font-size: clamp(40px, 10.5vw, 76px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero__sub {
  max-width: 600px;
  margin: 24px auto 0;
  color: #e4e4e7;
  font-size: 17px;
  text-wrap: pretty;
}
.hero__years { margin: 18px auto 34px; color: #d4d4d8; font-size: 15px; }
.hero__statement {
  margin-top: 44px;
  text-align: center;
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

/* Faixa de logos (estilo morez.co): uma fileira rolando sem parar */
.logo-wall {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  overflow: hidden;
}
.logo-row__shift { margin-left: -25%; will-change: transform; }
.logo-row__track {
  display: flex;
  width: max-content;
  animation: logos-rtl 60s linear infinite;
  will-change: transform;
}
.logo-row[data-dir="ltr"] .logo-row__track { animation-name: logos-ltr; }
.logo-row li {
  flex: none;
  display: grid;
  place-items: center;
  width: 124px;
  height: 74px;
}
.logo-row li img {
  display: none;
  max-width: 92px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.logo-row li span {
  padding: 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  text-align: center;
  opacity: .9;
}
.logo-row li.has-img img { display: block; }
.logo-row li.has-img span { display: none; }
@keyframes logos-rtl { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes logos-ltr { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* =========================================================
   2 · DOR DO CLIENTE
   ========================================================= */
.pain__list { margin-top: 40px; }
.pain__list li {
  position: relative;
  padding: 20px 0 20px 36px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.4;
}
.pain__list li::before {
  content: "✕";
  position: absolute;
  left: 2px;
  top: 20px;
  color: var(--red);
  font-weight: 700;
}
.pain__close { margin-top: 32px; color: var(--muted); font-size: 17px; text-align: center; text-wrap: balance; }
.pain__close strong { color: #fff; }

/* =========================================================
   3 · SERVIÇOS · cards empilhados
   ========================================================= */

.stack { margin-top: 36px; display: grid; gap: 22px; }
.stack__card {
  position: sticky;
  top: calc(84px + var(--i) * 18px);
  padding: 34px 30px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #222226 0%, #19191c 100%);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .45);
  transform-origin: center top;
  transition: transform .2s linear, filter .2s linear;
  will-change: transform;
}
.stack__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 30px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow: 0 8px 24px rgba(227, 38, 46, .3);
}
.stack__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stack__card h3 { font-size: 34px; font-weight: 500; letter-spacing: -.03em; }
.stack__kicker { margin: 6px 0 18px; color: var(--muted); font-size: 16px; }
.stack__card p:last-child { color: #e4e4e7; font-size: 17px; }

/* =========================================================
   4 · COMO FUNCIONA
   ========================================================= */
.steps__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.steps__grid li {
  padding: 24px 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .015);
  text-align: center;
}
.steps__grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--red-deep);
  font-weight: 700;
}
.steps__grid h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.steps__grid p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* =========================================================
   5 · COMPROMISSO E BASTIDORES (seção clara)
   ========================================================= */
.backstage { background: var(--light-bg); color: var(--light-text); padding: calc(var(--sy) + 16px) 0; }
.pill-dark {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 34px auto 0;
  padding: 10px 24px;
  border-radius: 999px;
  background: #141414;
  color: #fff;
  font-size: 16px;
}
.pill-dark .dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.backstage__text {
  max-width: 620px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--light-muted);
  font-size: 18px;
  text-wrap: pretty;
}
.backstage__photos {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.backstage__photos .ph { aspect-ratio: 3 / 4; }

/* ---------- Espaço de mídia (com fallback quando o arquivo ainda não existe) ---------- */
.ph {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.ph::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  color: #6b6b70;
  font-size: 14px;
}
.ph--light { background: #e2e0dc; }
.ph--light::before { color: #8a8885; }
.ph img, .ph video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph img { opacity: 0; transition: opacity .6s var(--ease); }
.ph img.is-loaded { opacity: 1; }

/* =========================================================
   6 · PORTFÓLIO
   ========================================================= */


/* =========================================================
   7 · DEPOIMENTOS
   ========================================================= */
.glow-bar {
  width: min(340px, 80%);
  height: 28px;
  margin: 0 auto 44px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  box-shadow: 0 0 40px rgba(227, 38, 46, .55);
}
.quotes { margin-top: 38px; display: grid; gap: 16px; }
/* card inteiro é link pro destaque de feedbacks no Instagram */
.quote-link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius-sm); }
.quote-link .quote { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.quote-link:hover .quote,
.quote-link:focus-visible .quote { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(194, 17, 17, .35); }
.quote-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Cada depoimento é um card vermelho no estilo dos stories "O que nossos clientes estão
   falando sobre Impulse": fundo #c21111 (o mesmo dos stories, as colagens foram recortadas
   contra ele), bocas, megafone e respingo como fundo, e o feedback num balão branco por cima. */
.quote {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 6px;
  margin: 0;
  padding: 92px 18px 92px 26px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background:
    url("../assets/depoimentos/bocas.webp") left -6px top -10px / 92px auto no-repeat,
    url("../assets/depoimentos/respingo.webp") right -2px top 18px / 44px auto no-repeat,
    url("../assets/depoimentos/megafone.webp") left -4px bottom -8px / 128px auto no-repeat,
    #c21111;
}
/* balão de conversa: trecho principal em marca-texto, o resto em cinza */
.quote__bubble {
  position: relative;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  color: #52525b;
  font-size: 16px;
  line-height: 1.55;
  box-shadow: 0 8px 24px rgba(60, 0, 0, .28);
}
/* rabinho só no último balão */
.quote__bubble:last-child::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 16px;
  height: 14px;
  background: #fff;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.quote__name { display: block; margin-bottom: 4px; font-style: normal; font-weight: 600; font-size: 15px; color: #1f8a5b; }
.quote__name--blur { filter: blur(4.5px); user-select: none; }
.quote mark { background: var(--mark); color: #18181b; padding: 1px 3px; border-radius: 2px; }
.video-quote {
  position: relative;
  aspect-ratio: 9 / 16;
  width: min(100%, 340px);
  margin: 8px auto;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.video-quote video { width: 100%; height: 100%; object-fit: cover; }
.video-quote__hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  border: 0;
  background: transparent;
  text-align: center;
  color: #d4d4d8;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: opacity .3s;
}
.video-quote.has-video .video-quote__hint { flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding-bottom: 22px; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .7)); color: #fff; font-size: 15px; font-weight: 500; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.video-quote__hint .play { display: grid; place-items: center; width: 48px; height: 48px; padding-left: 3px; border-radius: 50%; background: var(--red); font-size: 16px; text-shadow: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.video-quote.is-on .video-quote__hint { opacity: 0; pointer-events: none; }

/* =========================================================
   8 · PROVA NO NOSSO PERFIL
   ========================================================= */
/* Seção clara pra quebrar a sequência escura (como a de bastidores) */
.proof {
  background: var(--light-bg);
  color: var(--light-text);
  overflow: hidden;
}
.proof .lead { color: var(--light-muted); }
.proof .lead a { color: var(--light-text); font-weight: 600; }
.proof .center { margin-top: 34px; }
.proof { padding-top: calc(var(--sy) + 16px); padding-bottom: 20px; }
.proof .ribbons { height: 120px; margin-top: 12px; }
.proof .phone { box-shadow: 0 24px 50px rgba(0, 0, 0, .22); }
.proof .phone--side { opacity: 1; }
.proof .phone--main { box-shadow: 0 30px 70px rgba(0, 0, 0, .32); }
.proof .ribbon--dark { background: #141414; border-color: #141414; }
.proof .ribbon--red { box-shadow: 0 14px 34px rgba(0, 0, 0, .18); }
.phones {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
/* Celular com print real do perfil (o fundo é a mesma cor do Instagram escuro, então a tela emenda) */
.phone {
  position: relative;
  flex: none;
  overflow: hidden;
  aspect-ratio: 10 / 17;
  padding-top: 30px;
  border: 6px solid #2e2e32;
  border-radius: 40px;
  background: #0c1013;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 2;
  width: 32%;
  height: 16px;
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}
.phone__shot { display: block; width: 100%; height: auto; }
.phone::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(12, 16, 19, 0), #0c1013 70%);
  pointer-events: none;
}
.phone--side { width: 168px; margin: 0 -30px; opacity: .9; }
.phone--main { width: 208px; position: relative; z-index: 1; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }

/* Faixas cruzadas rolando em sentidos opostos */
.ribbons {
  position: relative;
  height: 150px;
  margin-top: 44px;
}
.ribbon {
  position: absolute;
  left: -10%;
  width: 120%;
  top: 50%;
  overflow: hidden;
  padding: 13px 0;
}
.ribbon--dark {
  z-index: 1;
  background: #161618;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transform: translateY(-95%) rotate(2.2deg);
}
.ribbon--red {
  z-index: 2;
  background: var(--red);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  transform: translateY(-5%) rotate(-3.4deg);
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  white-space: nowrap;
  animation: ribbon-left 30s linear infinite;
  will-change: transform;
}
.ribbon--red .ribbon__track { animation-name: ribbon-right; }
.ribbon span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #f5f5f5;
}
.ribbon i { font-style: normal; font-size: 13px; color: #fff; opacity: .85; }
.ribbon--red span,
.ribbon--red i { color: #1c0304; opacity: 1; }
@keyframes ribbon-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes ribbon-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   9 · QUEM SOMOS
   ========================================================= */
.brands-count {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.avatars { display: flex; }
/* fotos de perfil do Instagram dos clientes; sem o arquivo, fica o círculo cinza */
.avatars i {
  position: relative;
  flex: none;
  width: 50px;
  height: 50px;
  margin-left: -12px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  overflow: hidden;
  background: #2a2a2d;
}
.avatars i:first-child { margin-left: 0; }
.avatars img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatars i.avatars__more {
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.brands-count p { font-size: 18px; line-height: 1.3; }
.brands-count strong { display: block; color: var(--red); white-space: nowrap; }
.brands-count__sub { display: block; text-wrap: balance; }
@media (max-width: 420px) {
  .brands-count { gap: 12px; }
  .avatars i { width: 42px; height: 42px; margin-left: -11px; border-width: 2px; }
  .avatars i.avatars__more { font-size: 19px; }
  .brands-count p { font-size: 16px; }
}
.about .center { margin-top: 30px; }
.about__photo { margin-top: 40px; aspect-ratio: 5 / 4; }
.about__photo img { object-position: 50% 12%; }
.about__photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(13, 13, 13, .8));
  pointer-events: none;
}
.about__text { margin-top: 26px; text-align: center; color: #d4d4d8; font-size: 17px; text-wrap: pretty; }
.partners { margin-top: 30px; display: grid; gap: 12px; }
.partner {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.partner h3 { font-size: 19px; font-weight: 700; }
.partner p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* =========================================================
   10 · FAQ
   ========================================================= */
.faq__list { margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  list-style: none;
  font-size: 18px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  color: var(--red);
  font-size: 26px;
  font-weight: 400;
  transition: rotate .3s var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 0 22px; color: var(--muted); font-size: 16px; }
.faq__a strong { color: #fff; font-weight: 600; }
.faq__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 0; padding: 0 0 24px; list-style: none; }
.faq__tags li {
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.faq__tags li.is-hot { border-color: var(--red); background: var(--red); }

/* =========================================================
   11 · CTA FINAL e rodapé
   ========================================================= */

.final__box {
  padding: 64px 28px;
  border-radius: 28px;
  background: var(--red-deep);
  text-align: center;
  box-shadow: 0 30px 80px rgba(193, 16, 16, .25);
}
.final__box h2 {
  font-size: clamp(32px, 8vw, 50px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.final__box p { max-width: 540px; margin: 22px auto 36px; font-size: 17px; text-wrap: pretty; }

.footer {
  padding: 64px 0 48px;
  border-radius: 36px 36px 0 0;
  background: #1a1a1d;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
/* um item embaixo do outro, centralizados (logo e Instagram não ficam lado a lado no computador) */
.footer .container { display: flex; flex-direction: column; align-items: center; }
.footer .brand { margin-bottom: 14px; }
.footer a { text-decoration: none; }
/* Instagram: ícone num círculo + @, tudo clicável, abre o perfil */
.footer__insta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e4e4e7;
  font-weight: 500;
  transition: color .2s;
}
.footer__insta-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.footer__insta:hover { color: #fff; }
.footer__insta:hover .footer__insta-icon,
.footer__insta:focus-visible .footer__insta-icon { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.footer__city { margin-top: 14px; }
.footer__legal { margin-top: 22px; font-size: 13px; color: #6b6b70; }

/* =========================================================
   Animações de entrada
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Computador
   ========================================================= */
@media (min-width: 768px) {
  :root { --pad: 32px; }
  :root { --sy: 60px; }
  .hero { padding-top: 80px; padding-bottom: 80px; }
  .hero .brand { margin-bottom: 84px; }
  .hero__sub { font-size: 19px; }
  .steps__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stack__card { padding: 44px 44px 48px; }
  .stack__card h3 { font-size: 40px; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .phones { margin-top: 64px; }
  .phone--side { width: 270px; margin: 0 -28px; }
  .phone--main { width: 320px; }
  .phone { border-width: 7px; border-radius: 48px; padding-top: 36px; }
  .phone::before { top: 11px; height: 20px; }
  .final__box { padding: 80px 56px; }
  .logo-row li { width: 200px; height: 112px; }
  .logo-row li img { max-width: 142px; max-height: 68px; }
  .logo-row li span { font-size: 19px; }
  .ribbons { height: 190px; margin-top: 56px; }
  .proof { padding-bottom: 36px; }
  .proof .ribbons { height: 160px; margin-top: 20px; }
  .ribbon { padding: 17px 0; }
  .ribbon span { font-size: 19px; }
  .ribbon__track { gap: 24px; }
  .video-quote { width: 360px; margin: 16px auto; }
  /* card vermelho a partir do tablet: bocas no canto de cima à esquerda, megafone espelhado
     no canto de baixo à direita e o balão no meio (o respingo sai, não cabe sem encavalar) */
  .quote {
    padding: 52px 170px 52px 176px;
    background:
      url("../assets/depoimentos/bocas.webp") left -8px top -14px / 150px auto no-repeat,
      url("../assets/depoimentos/megafone-direita.webp") right -6px bottom -12px / 160px auto no-repeat,
      #c21111;
  }
  .quote__bubble { font-size: 17px; }
}

/* Serviços no computador: os 3 cards lado a lado (no celular e tablet continuam empilhados) */
@media (min-width: 960px) {
  .services .container { max-width: var(--max); }
  .stack { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
  .stack__card {
    position: relative;
    top: auto;
    padding: 34px 30px 36px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    transform: none !important; /* desliga o efeito de empilhar do js */
    filter: none !important;
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  }
  .stack__card:hover { transform: translateY(-6px) !important; border-color: rgba(227, 38, 46, .45); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
  .stack__card h3 { font-size: 32px; }
  .stack__icon { margin-bottom: 26px; }

  /* Como funciona no computador: mesma largura dos serviços e cards maiores */
  .steps .container { max-width: var(--max); }
  .steps__grid { gap: 20px; margin-top: 44px; }
  .steps__grid li {
    padding: 36px 30px 38px;
    border-radius: var(--radius);
    /* mantém o fade de entrada (.reveal) e acrescenta a borda do hover */
    transition: opacity .8s var(--ease), transform .5s var(--ease), border-color .35s var(--ease);
  }
  .steps__grid li:hover { transform: translateY(-4px); border-color: rgba(227, 38, 46, .45); }
  .steps__grid span { width: 54px; height: 54px; margin-bottom: 20px; font-size: 19px; }
  .steps__grid h3 { font-size: 23px; }
  .steps__grid p { margin-top: 8px; font-size: 17px; }
}

/* Telas largas: foto horizontal (hero-bg-wide.jpg) cobrindo o topo de ponta a ponta */
@media (min-width: 1100px) {
  /* foto panorâmica (2,5:1) cobrindo o topo inteiro: aparece toda na altura, só as laterais (fundo) são cortadas */
  /* bordas desfocadas: a mesma foto desfocada por baixo; a nítida se funde nela perto das bordas */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    background: url("../assets/img/hero-bg-wide.webp") 53% 50% / cover no-repeat;
    filter: blur(26px);
    transform: scale(1.06);
  }
  .hero__bg {
    object-position: 53% 50%;
    -webkit-mask-image: radial-gradient(ellipse 44% 66% at 53% 48%, #000 52%, transparent 100%);
            mask-image: radial-gradient(ellipse 44% 66% at 53% 48%, #000 52%, transparent 100%);
  }
}

@media (max-width: 420px) {
  .brand__word { font-size: 38px; }
  .brand__tag { font-size: 10px; letter-spacing: .26em; }
  .steps__grid li { padding: 18px 16px 20px; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .logo-row__track { animation: none; }
  .logo-row__shift { transform: none !important; }
  .ribbon__track { animation: none; }
  .stack__card { position: static; transform: none !important; }
}
