@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

/* ========================================================================== */
/* 01. Base / Reset / Tokens */
/* ========================================================================== */

:root {
  --ink: #1f1f1f;
  --muted: #676767;
  --paper: #f7f7f5;
  --soft: #eeeeec;
  --white: #fff;
  --line: #d9d9d6;
  --accent: #969696;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================================================== */
/* 02. Layout global */
/* ========================================================================== */

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

.narrow {
  max-width: 940px;
}

.logo {
  height: 50px;
  width: auto;
}
/* Animação das seções ao entrar na tela */
section[id]:not(#inicio) {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.22, 1, .36, 1);
}

section[id].scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  section[id]:not(#inicio) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ========================================================================== */
/* 03. Header / Navegação */
/* ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  padding: 0 max(22px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  gap: 36px;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  background: #1f1f1f;
}

.brand {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 0.16em;
  line-height: 0.7;
  position: relative;
}

.brand span {
  display: block;
  font-size: 7px;
  letter-spacing: 0.55em;
  margin: 0 0 7px 3px;
}

.brand i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin-left: 5px;
}

.topbar nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  color: #fff;
  font-size: 13px;
}

.topbar nav a,
.footer-grid a {
  transition: 0.2s opacity;
}

.topbar nav a:hover,
.footer-grid a:hover {
  opacity: 0.5;
}

.topbar img {
  height: 35px;
}

.menu {
  display: none;
}

/* ========================================================================== */
/* 04. Botões / Links / Ícones */
/* ========================================================================== */

.desktop-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.instagram-icon .icon-dot {
  fill: currentColor;
  stroke: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #000;
  padding: 13px 21px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.25s transform, 0.25s background;
  background: #cecece;
}

.pill:hover {
  transform: translateY(-1px);
  background: #3a3a3a;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.text-link {
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid;
}

.light {
  background: #fff;
  color: #111;
}

.light-link {
  color: #fff;
}

.text-link.light-link.contact-link {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ========================================================================== */
/* 05. Hero */
/* ========================================================================== */

.hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 100px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font: 800 clamp(48px, 6.4vw, 84px) / 0.94 Manrope, sans-serif;
  letter-spacing: -0.06em;
  margin: 0;
  max-width: 700px;
}

.hero h1 em {
  font-style: normal;
  color: #8c8c8c;
}

.lead {
  font-size: 18px;
  max-width: 580px;
  color: var(--muted);
  margin: 28px 0;
}

.image-frame {
  background: #e3e3e0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.1);
  min-height: 330px;
}

.image-frame figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(31, 31, 31, 0.76);
  color: white;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 10px;
  text-align: center;
}

.glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
  background: radial-gradient(circle, #d0d0d0, transparent 68%);
}

.glow-a {
  right: -180px;
  top: -150px;
}

.glow-b {
  left: -220px;
  bottom: -240px;
}

/* ========================================================================== */
/* 06. Ticker */
/* ========================================================================== */

.ticker {
  background: var(--ink);
  color: #eee;
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.ticker div {
  width: max-content;
  animation: ticker 24s linear infinite;
}

/* ========================================================================== */
/* 07. Seções / Tipografia */
/* ========================================================================== */

#sobre, #solucoes, #processo, #identidade, #equipe, #contato, #briefing {
  padding: 50px 0;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.23em;
  font-weight: 700;
  color: #777;
  margin: 0 0 18px;
}

.section {
  padding: 120px 0;
}

.section h2,
.cta-section h2 {
  font: 800 clamp(36px, 5vw, 62px) / 1.03 Manrope, sans-serif;
  letter-spacing: -0.05em;
  margin: 0;
  max-width: 880px;
}

.two-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 17px;
}

.soft {
  background: var(--soft);
}

.section-intro {
  color: var(--muted);
  margin: 18px 0 42px;
}

/* ========================================================================== */
/* 08. Soluções / Serviços */
/* ========================================================================== */

#solucoes .wrap {
  padding-left: 92px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-left: -95px;
}

.services article {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 27px;
  min-height: 255px;
  transition: 0.25s transform, 0.25s box-shadow;
}

.services article:hover {
  transform: translateY(-5px);
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.08);
}

.services b {
  font-size: 10px;
  color: #929292;
}

.icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin: 22px 0;
  font-weight: 700;
}

.services h3 {
  font: 700 18px Manrope;
  margin: 0 0 10px;
}

.services p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ========================================================================== */
/* 09. Processo */
/* ========================================================================== */

.dark {
  background: #242424;
  color: #f3f3f3;
}

.dark .eyebrow {
  color: #aaa;
}

.dark h2 {
  max-width: 600px;
}

.dark p {
  color: #aaa;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.process-grid ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid #404040;
}

.process-grid li span {
  color: #aaa;
  font: 700 11px Manrope;
}

.process-grid h3 {
  margin: 0;
  font: 700 17px Manrope;
}

.process-grid li p {
  margin: 5px 0 0;
  font-size: 13px;
}

.process-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  margin: 0;
  padding: 0 0 54px;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.process-number {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: #242424;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.25s ease,
      color 0.25s ease,
      border-color 0.25s ease,
      transform 0.25s ease;
}

.process-content {
  padding-top: 1px;
}

.process-content small {
  display: block;
  margin: 1px 0 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.32);
}

.process-content h3 {
  margin: 0 0 7px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  transition: transform 0.3s ease;
}

.process-content p {
  max-width: 520px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.process-list li::before {
  content: none !important;
}

.process-list li:hover .process-number {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: scale(1.04);
}

.process-list li:hover .process-content h3 {
  transform: translateX(4px);
}

/* ========================================================================== */
/* 10. Identidade / Entregáveis */
/* ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 35px 70px;
  align-items: center;
}

.feature-grid > div:first-child > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  margin: 24px 0 30px;
}

.tall {
  height: 520px;
}

.deliverables {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
  width: 100%;
  margin-top: 32px;
  margin-left: -28px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.deliverables p {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 18px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: padding-left 0.3s ease,
      background-color 0.3s ease;
}

.deliverables b {
  color: #999;
  margin-right: 12px;
}

.deliverables p b {
  min-width: 30px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.45;
}

.deliverables p::after {
  content: "↗";
  margin-left: auto;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  transform: translate(-8px, 4px);
  transition: opacity 0.3s ease,
      transform 0.3s ease;
}

.deliverables p:hover {
  padding-left: 16px;
  background: rgba(0, 0, 0, 0.035);
}

.deliverables p:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

/* ========================================================================== */
/* 11. Equipe */
/* ========================================================================== */

.team .image-frame {
  overflow: hidden;
}

.team .image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team .image-frame:hover img {
  transform: scale(1.05);
}

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 55px;
}

.team article {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.portrait {
  height: 260px;
  min-height: 0;
  box-shadow: none;
}

.team small {
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.team h3 {
  font: 700 25px Manrope;
  margin: 5px 0 12px;
}

.team p {
  color: var(--muted);
  font-size: 13px;
}

/* ========================================================================== */
/* 12. Conversa / CTA */
/* ========================================================================== */

.conversation {
  position: relative;
  overflow: hidden;
}

.conversation:after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -230px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, #ccc, transparent 68%);
  z-index: -1;
}

.conversation-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr;
  gap: 80px;
  align-items: center;
}

.conversation-grid > div > p:last-child {
  color: var(--muted);
  font-size: 17px;
  max-width: 670px;
}

.cta-section {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 125px 0;
}

.cta-section h2 {
  margin: auto;
  max-width: 850px;
}

.cta-section > div > p:not(.eyebrow) {
  color: #aaa;
}

.center {
  justify-content: center;
  margin-top: 30px;
}

/* ========================================================================== */
/* 13. Footer */
/* ========================================================================== */

footer {
  background: #111;
  color: #fff;
  padding: 70px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-brand .logo {
  height: 48px;
  width: auto;
  margin-bottom: 28px;
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-nav small,
.footer-contact small {
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.35);
}

.footer-nav a,
.footer-contact a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s ease,
      transform 0.25s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

.inverse {
  color: #fff;
}
.footer-brand, .footer-brand, .footer-nav {
  margin-left: 100px;	
}
/* ========================================================================== */
/* 14. Animações */
/* ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ========================================================================== */
/* Keyframes */
/* ========================================================================== */

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ========================================================================== */
/* RESPONSIVO */
/* ========================================================================== */

@media (max-width: 820px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .wrap,
  .narrow {
    width: calc(100% - 36px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* ========================================================== */
  /* HEADER */
  /* ========================================================== */

  .topbar {
    height: 70px;
    padding: 0 18px;
    gap: 15px;
  }

  .topbar img {
    height: 31px;
    width: auto;
  }

  .desktop-cta {
    display: none;
  }

  .menu {
    display: block;
    margin-left: auto;
    border: 0;
    padding: 10px 0 10px 15px;
    background: transparent;
    color: #fff;
    font: 600 13px Manrope, sans-serif;
    cursor: pointer;
  }

  .topbar nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
    margin: 0;
    background: #1f1f1f;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .topbar nav.open {
    display: flex;
  }

  .topbar nav a {
    display: block;
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: center;
  }


  /* ========================================================== */
  /* HERO */
  /* ========================================================== */

  .hero {
    min-height: auto;
    padding: 65px 0 55px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(42px, 12vw, 58px);
    line-height: .98;
    text-align: center;
  }

  .hero .lead {
    max-width: 560px;
    margin: 24px auto;
    font-size: 16px;
    text-align: center;
  }

  .hero .actions {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
    height: auto;
    min-height: 340px;
    margin: 0;
  }


  /* ========================================================== */
  /* SEÇÕES / TÍTULOS */
  /* ========================================================== */

  #sobre,
  #solucoes,
  #processo,
  #identidade,
  #equipe,
  #contato,
  #briefing {
    padding: 70px 0;
  }

  .section {
    padding: 70px 0;
  }

  .section h2,
  .cta-section h2,
  #processo h2,
  #identidade h2,
  #briefing h2,
  #equipe h2,
  #solucoes h2,
  #sobre h2 {
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(32px, 9vw, 43px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    text-align: center;
  }

  .eyebrow {
    width: 100%;
    text-align: center;
  }

  .section-intro {
    max-width: 600px;
    margin: 18px auto 36px;
    text-align: center;
  }


  /* ========================================================== */
  /* SOBRE */
  /* ========================================================== */

  .two-copy {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 34px;
    font-size: 15px;
  }

  .two-copy p {
    margin: 8px 0;
    text-align: center;
  }


  /* ========================================================== */
  /* SOLUÇÕES */
  /* ========================================================== */

  #solucoes .wrap {
    padding-left: 0;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .services article {
    min-width: 0;
    min-height: 235px;
    padding: 22px;
  }


  /* ========================================================== */
  /* PROCESSO */
  /* ========================================================== */

  .process-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .process-grid > div:first-child {
    text-align: center;
  }

  .process-grid > div:first-child > p:not(.eyebrow) {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .process-list {
    width: 100%;
    max-width: 620px;
    margin: 10px auto 0;
  }

  .process-list li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 42px;
  }

  .process-content {
    min-width: 0;
  }


  /* ========================================================== */
  /* IDENTIDADE */
  /* ========================================================== */

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .feature-grid > div:first-child {
    text-align: center;
  }

  .feature-grid > div:first-child > p:not(.eyebrow) {
    max-width: 600px;
    margin: 22px auto 28px;
    text-align: center;
  }

  .feature-grid > div:first-child .pill {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-grid .tall {
    width: 100%;
    height: 420px;
    margin: 0;
  }

  .deliverables {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 10px 0 0;
    border-left: 0;
  }

  .deliverables p {
    min-width: 0;
    gap: 12px;
    padding: 17px 12px;
  }


  /* ========================================================== */
  /* EQUIPE */
  /* ========================================================== */

  .team {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    margin-top: 38px;
  }

  .team article {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
  }


  /* ========================================================== */
  /* BRIEFING */
  /* ========================================================== */

  .conversation-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .conversation-grid > div {
    text-align: center;
  }

  .conversation-grid > div > p:last-child {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .conversation-grid .tall {
    width: 100%;
    height: 420px;
    margin: 0;
  }


  /* ========================================================== */
  /* CONTATO */
  /* ========================================================== */

  .cta-section {
    padding: 75px 0;
  }

  .cta-section > .wrap > p:not(.eyebrow) {
    text-align: center;
  }

  .cta-section .actions {
    justify-content: center;
  }


  /* ========================================================== */
  /* FOOTER */
  /* ========================================================== */

  footer {
    padding: 55px 0 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 25px;
    padding-bottom: 45px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand,
  .footer-nav,
  .footer-contact {
    margin-left: 0;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand .logo {
    width: auto;
    height: 44px;
    margin: 0 auto 22px;
  }

  .footer-brand p {
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 15px;
  }

  .footer-nav,
  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 16px;
    text-align: center;
  }

  .footer-bottom a {
    width: 100%;
    margin: 8px 0 0;
    text-align: center;
  }
}


/* ========================================================================== */
/* CELULARES */
/* ========================================================================== */

@media (max-width: 520px) {

  .wrap,
  .narrow {
    width: calc(100% - 28px);
  }

  /* títulos */
  .section h2,
  .cta-section h2,
  #processo h2,
  #identidade h2,
  #briefing h2,
  #equipe h2,
  #solucoes h2,
  #sobre h2 {
    font-size: clamp(30px, 9.5vw, 38px);
    line-height: 1.06;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(39px, 12.5vw, 48px);
  }

  /* Botões ocupam espaço corretamente */
  .hero .actions,
  .cta-section .actions {
    width: 100%;
    flex-direction: column;
    gap: 13px;
  }

  .hero .actions .pill,
  .cta-section .actions .pill {
    width: 100%;
    max-width: 360px;
  }

  /* cards */
  .services {
    grid-template-columns: 1fr;
  }

  .services article {
    min-height: auto;
  }

  /* processo */
  .process-list li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  .process-number {
    width: 44px;
    height: 44px;
  }

  .process-list li:not(:last-child)::after {
    left: 21px;
  }

  /* identidade */
  .feature-grid .tall,
  .conversation-grid .tall {
    height: 350px;
  }

  .deliverables {
    grid-template-columns: 1fr;
  }

  /* equipe */
  .team article {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .portrait {
    width: 100%;
    height: 380px;
  }

  .team article > div {
    padding: 5px 5px 10px;
    text-align: center;
  }

  .team h3 {
    text-align: center;
  }

  .team p {
    text-align: center;
  }

  /* footer empilhado */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-nav,
  .footer-contact {
    align-items: center;
  }

  .ticker {
    font-size: 10px;
    padding: 13px 0;
  }
}


/* ========================================================================== */
/* REDUÇÃO DE MOVIMENTO */
/* ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto !important;
  }

  * {
    transition: none !important;
  }

  .ticker-track {
    animation: ticker 24s linear infinite !important;
  }
}
/* ========================================================================== */
/* AJUSTES FINAIS MOBILE */
/* ========================================================================== */

@media (max-width: 820px) {

  /* ---------------------------------------------------------- */
  /* TÍTULOS: continuam centralizados */
  /* ---------------------------------------------------------- */

  .section h2,
  .cta-section h2,
  #sobre h2,
  #solucoes h2,
  #processo h2,
  #identidade h2,
  #equipe h2,
  #briefing h2,
  #contato h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow {
    text-align: center;
  }


  /* ---------------------------------------------------------- */
  /* TEXTOS LONGOS: JUSTIFICADOS */
  /* ---------------------------------------------------------- */

  #sobre .two-copy p,
  #processo .process-grid > div:first-child > p:not(.eyebrow),
  #identidade .feature-grid > div:first-child > p:not(.eyebrow),
  #briefing .conversation-grid > div > p:last-child,
  #equipe .team article p,
  #contato .wrap > p:not(.eyebrow),
  .section-intro {
    text-align: justify !important;
    text-align-last: left;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  /* Evita aqueles buracos enormes entre palavras */
  #sobre .two-copy p,
  #processo .process-grid > div:first-child > p:not(.eyebrow),
  #identidade .feature-grid > div:first-child > p:not(.eyebrow),
  #briefing .conversation-grid > div > p:last-child,
  #equipe .team article p {
    line-height: 1.65;
  }


  /* ---------------------------------------------------------- */
  /* SOBRE */
  /* ---------------------------------------------------------- */

  #sobre .two-copy {
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }


  /* ---------------------------------------------------------- */
  /* PROCESSO */
  /* ---------------------------------------------------------- */

  #processo .process-grid > div:first-child > p:not(.eyebrow) {
    max-width: 620px;
    margin: 22px auto 0;
  }


  /* ---------------------------------------------------------- */
  /* IDENTIDADE */
  /* ---------------------------------------------------------- */

  #identidade .feature-grid > div:first-child > p:not(.eyebrow) {
    max-width: 620px;
    margin: 22px auto 28px;
  }


  /* ---------------------------------------------------------- */
  /* BRIEFING */
  /* ---------------------------------------------------------- */

  #briefing .conversation-grid > div > p:last-child {
    max-width: 620px;
    margin: 22px auto 0;
  }


  /* ---------------------------------------------------------- */
  /* IMAGENS - impede deformação / corte estranho */
  /* ---------------------------------------------------------- */

  .image-frame,
  .hero-image,
  .feature-grid .image-frame,
  .conversation-grid .image-frame,
  .team .image-frame {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  .image-frame img,
  .hero-image img,
  .feature-grid .image-frame img,
  .conversation-grid .image-frame img,
  .team .image-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }


  /* Imagens grandes de identidade/briefing */
  .feature-grid .tall,
  .conversation-grid .tall {
    height: auto !important;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }


  /* ---------------------------------------------------------- */
  /* EQUIPE */
  /* ---------------------------------------------------------- */

  .team {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .team article {
    align-items: stretch;
  }

  .team .portrait {
    height: auto !important;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .team .portrait img {
    object-fit: cover;
    object-position: center 20%;
  }

  .team article > div {
    text-align: left;
  }

  .team article small {
    display: block;
    text-align: center;
  }

  .team article h3 {
    text-align: center;
  }

  .team article p {
    margin-left: 0;
    margin-right: 0;
  }


  /* ---------------------------------------------------------- */
  /* FOOTER - estrutura semelhante ao desktop */
  /* ---------------------------------------------------------- */

  footer {
    padding: 55px 0 25px;
  }

  footer .wrap {
    width: min(100% - 36px, 680px);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px 28px;
    padding-bottom: 42px;
    align-items: start;
  }

  /* Logo e descrição ocupam a largura inteira */
  .footer-brand {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
  }

  .footer-brand .brand {
    display: inline-block;
  }

  .footer-brand .logo {
    width: auto;
    height: 45px;
    margin: 0 auto 22px;
  }

  .footer-brand p {
    max-width: 430px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
  }

  /* Navegação e contato lado a lado */
  .footer-nav,
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
    margin-left: 50px;
  }

  .footer-nav {
    justify-self: start;
  }

  .footer-contact {
    justify-self: end;
    min-width: 120px;
  }

  .footer-nav small,
  .footer-contact small {
    width: 100%;
    margin-bottom: 8px;
    text-align: left;
  }

  .footer-nav a,
  .footer-contact a {
    font-size: 13px;
    line-height: 1.4;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 5px;
    padding-top: 20px;
    text-align: center;
  }

  .footer-bottom a {
    width: auto;
    margin: 10px 0 0;
  }
}


/* ========================================================================== */
/* CELULARES PEQUENOS */
/* ========================================================================== */

@media (max-width: 520px) {

  /* equipe */
  .team article {
    grid-template-columns: 1fr;
  }

  .team .portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .team article > div {
    padding: 8px 7px 12px;
  }

  /* textos continuam justificados */
  #equipe .team article p,
  #sobre .two-copy p,
  #briefing .conversation-grid > div > p:last-child {
    text-align: justify !important;
    text-align-last: left;
  }

  /* footer preserva a lógica desktop:
     marca em cima, navegação e contato lado a lado */
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    justify-self: end;
  }
}
