:root {
  --background: #080808;
  --background-soft: #101010;
  --surface: #141414;
  --surface-strong: #1a1a1a;
  --text: #f5f5f0;
  --muted: #a5a5a0;
  --line: #2a2a28;
  --accent: #ffd02a;
  --accent-dark: #1a1600;
  --success: #c8ff63;
  --max-width: 1240px;
  --radius-small: 12px;
  --radius-medium: 22px;
  --radius-large: 34px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --font-heading: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

mark {
  padding: 0.08em 0.12em 0.12em;
  background: var(--accent);
  color: #0d0d0a;
  line-height: 1.35;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Mantém os destaques amarelos afastados da linha de texto acima. */
.hero h1,
.section-intro h2 {
  line-height: 1.17;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(3.15rem, 6.1vw, 5.7rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2.35rem, 4.3vw, 4.65rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

main > section {
  position: relative;
  isolation: isolate;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==================================================
   CABEÇALHO
   ================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: #080808;
}

.brand-text {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #cecec8;
  font-size: 14px;
  font-weight: 600;
}

.main-nav > a:not(.button) {
  position: relative;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ==================================================
   BOTÕES E LINKS
   ================================================== */

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: #0b0b08;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 208, 42, 0.18);
}

.button-small {
  min-height: 44px;
  padding-inline: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.text-link span {
  color: var(--accent);
  transition: transform 0.2s ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, -3px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: #d8d8d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(200, 255, 99, 0.08);
}

/* ==================================================
   1. HERO
   Fundo preto principal com brilho amarelo
   ================================================== */

.hero {
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding-top: 150px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(255, 208, 42, 0.09),
      transparent 31rem
    ),
    var(--background);
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.06fr)
    minmax(380px, 0.94fr);
  gap: 72px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

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

.hero-portrait {
  position: relative;
  width: min(100%, 460px);
  justify-self: end;
}

.hero-portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.01)
    );
  box-shadow: var(--shadow);
}

.hero-portrait-frame::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -12%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255, 208, 42, 0.2),
      transparent 65%
    );
  pointer-events: none;
}

.hero-portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.hero-portrait-caption {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-portrait-caption strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.hero-portrait-caption span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==================================================
   2. EMPRESAS ATENDIDAS
   Fundo preto levemente mais claro
   ================================================== */

.clients-strip {
  padding: 40px 0 52px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: #0d0d0d;
}

.clients-inner {
  display: grid;
  gap: 28px;
}

.clients-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.clients-heading > div:first-child {
  max-width: 650px;
}

.clients-label {
  margin: 0 0 10px;
  color: #d8d8d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clients-title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
}

.clients-heading-side {
  display: grid;
  max-width: 460px;
  justify-items: end;
  gap: 14px;
}

.clients-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: right;
}

/*
 * Carrossel manual:
 * o botão anterior fica na extremidade esquerda;
 * o botão seguinte fica na extremidade direita;
 * a área das logos ocupa todo o espaço entre eles.
 */
.clients-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.clients-viewport {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.clients-viewport::-webkit-scrollbar {
  display: none;
}

.clients-track {
  display: flex;
  width: max-content;
  transform: none;
  animation: none;
  will-change: auto;
}

.clients-group {
  display: flex;
  flex: none;
  gap: 16px;
}

.client-logo {
  display: grid;
  flex: 0 0 clamp(230px, 24vw, 286px);
  width: clamp(230px, 24vw, 286px);
  min-height: 158px;
  align-items: center;
  justify-items: center;
  gap: 12px;
  margin: 0;
  padding: 18px 16px 16px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.024),
      rgba(255, 255, 255, 0.008)
    );
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.client-logo:hover,
.client-logo:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 208, 42, 0.16);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.015)
    );
}

.client-logo img {
  width: auto;
  max-width: 100%;
  max-height: 78px;
  opacity: 0.62;
  object-fit: contain;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.client-logo:hover img,
.client-logo:focus-within img {
  opacity: 0.9;
  transform: translateY(-1px);
}

.client-logo-icon-only img {
  max-height: 72px;
}

.client-logo figcaption {
  color: #b8b7b0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.carousel-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.carousel-arrow-prev {
  justify-self: start;
}

.carousel-arrow-next {
  justify-self: end;
}

.carousel-arrow span {
  font-size: 22px;
  line-height: 1;
}

.carousel-arrow:hover:not(:disabled),
.carousel-arrow:focus-visible:not(:disabled) {
  transform: scale(1.05);
  border-color: rgba(255, 208, 42, 0.4);
  background: rgba(255, 208, 42, 0.08);
  color: var(--accent);
}

.carousel-arrow:disabled {
  opacity: 0.28;
  cursor: default;
  transform: none;
}

/* ==================================================
   3. POSICIONAMENTO
   Volta ao preto principal
   ================================================== */

.section-intro {
  background: var(--background);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 60px;
}

.intro-grid h2 {
  max-width: 980px;
}

.intro-grid > div > p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

/* ==================================================
   4. SERVIÇOS
   Fundo cinza/preto suave
   ================================================== */

.services {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018),
      transparent 42%
    ),
    var(--background-soft);
}

.services-grid {
  display: grid;
  grid-template-columns:
    minmax(300px, 0.75fr)
    minmax(0, 1.25fr);
  gap: 90px;
}

.services-sticky {
  position: sticky;
  top: 130px;
  align-self: start;
}

.services-sticky h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.services-sticky > p {
  max-width: 510px;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.service-item > span {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
}

.service-item h3 {
  margin-bottom: 12px;
  font-size: 27px;
}

.service-item p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}

/* ==================================================
   5. SOBRE
   Fundo preto principal com brilho discreto
   ================================================== */

.about {
  background:
    radial-gradient(
      circle at 88% 48%,
      rgba(255, 208, 42, 0.045),
      transparent 27rem
    ),
    var(--background);
}

.about-heading {
  display: grid;
  grid-template-columns:
    minmax(320px, 0.72fr)
    minmax(0, 1.08fr);
  gap: 90px;
  align-items: end;
  margin-bottom: 54px;
}

.about-heading .section-kicker {
  margin-bottom: 8px;
}

.about-heading h2 {
  max-width: 760px;
  margin: 0;
  line-height: 1.13;
  text-wrap: balance;
}

.about-grid {
  display: grid;
  grid-template-columns:
    minmax(320px, 0.72fr)
    minmax(0, 1.08fr);
  gap: 90px;
  align-items: start;
}

.about-copy {
  max-width: 760px;
  padding-top: 2px;
}

.about-copy > p:not(.section-kicker) {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.about-copy > p:not(.section-kicker):last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: var(--text);
}

.about-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.01)
    );
}

.about-panel-label {
  margin: 0 0 18px;
  color: #d8d8d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-details {
  display: grid;
  gap: 16px;
  margin: 0;
}

.about-details div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-details dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.skill-tags span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c9c9c3;
  font-size: 12px;
}

/* ==================================================
   6. CONTATO
   Fundo suave com painel amarelo
   ================================================== */

.cta {
  padding-bottom: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  background: var(--background-soft);
}

.cta-panel {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(360px, 0.72fr);
  gap: 70px;
  padding: 64px;
  border-radius: var(--radius-large);
  background: var(--accent);
  color: #11100a;
}

.cta-copy .section-kicker {
  color: #514510;
}

.cta-copy h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.8rem);
}

.cta-copy > p:last-child {
  max-width: 680px;
  color: #5c501b;
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 22px;
  background: #0b0b0b;
  color: var(--text);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label > span {
  color: #d8d8d2;
  font-size: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #2d2d2b;
  border-radius: 10px;
  outline: none;
  background: #141414;
  color: var(--text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input {
  height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 120px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 208, 42, 0.08);
}

.contact-form small {
  color: #7f7f79;
  font-size: 10px;
}

.direct-contact {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.direct-contact > span {
  color: #7f7f79;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direct-contact div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.direct-contact a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #d8d8d1;
}

.direct-contact a:hover,
.direct-contact a:focus-visible {
  border-color: rgba(255, 208, 42, 0.25);
  color: var(--accent);
}

/* ==================================================
   7. RODAPÉ
   Fundo preto principal
   ================================================== */

.site-footer {
  padding: 60px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--background);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 80px;
}

.footer-grid > div:first-child p {
  max-width: 390px;
  margin: 20px 0 0;
  color: var(--muted);
}

.footer-links,
.footer-social {
  display: grid;
  align-content: start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #777772;
  font-size: 12px;
}

.company-data {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

/* ==================================================
   ANIMAÇÕES
   ================================================== */

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   RESPONSIVIDADE
   ================================================== */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(340px, 0.85fr);
    gap: 46px;
  }

  .services-grid,
  .about-grid,
  .about-heading,
  .cta-panel {
    gap: 46px;
  }

  .footer-grid {
    gap: 46px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 92px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-grid,
  .services-grid,
  .about-grid,
  .about-heading,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .about-heading {
    gap: 16px;
    margin-bottom: 38px;
  }

  .about-heading .section-kicker {
    margin-bottom: 0;
  }

  .hero-portrait {
    width: min(100%, 440px);
    justify-self: start;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-sticky {
    position: static;
  }

  .cta-panel {
    padding: 46px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(13, 13, 13, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav > a {
    min-height: 50px;
    padding: 0 14px;
    align-items: center;
  }

  .main-nav > a:not(.button) {
    display: flex;
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .main-nav .button {
    margin-top: 8px;
  }

  .clients-heading {
    display: grid;
    gap: 18px;
  }

  .clients-heading-side {
    max-width: none;
    justify-items: start;
  }

  .clients-text {
    text-align: left;
  }

  .clients-track {
    animation-duration: 24s;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    padding-top: 116px;
    padding-bottom: 78px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.25rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    justify-content: center;
  }

  .hero-portrait-caption {
    padding: 16px 18px;
  }

  .clients-strip {
    padding: 34px 0 42px;
  }

  .clients-viewport {
    margin-inline: -16px;
    mask-image:
      linear-gradient(
        to right,
        transparent,
        #000 10%,
        #000 90%,
        transparent
      );
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent,
        #000 10%,
        #000 90%,
        transparent
      );
  }

  .client-logo {
    flex-basis: 204px;
    width: 204px;
    min-height: 140px;
  }

  .clients-track {
    animation-duration: 21s;
  }

  .service-item {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .service-item h3 {
    font-size: 22px;
  }

  .about-panel {
    padding: 24px;
  }

  .cta {
    padding-bottom: 64px;
  }

  .cta-panel {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-data {
    justify-content: flex-start;
  }
}

/* ==================================================
   ACESSIBILIDADE: MOVIMENTO REDUZIDO
   ================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .clients-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: thin;
  }

  .clients-track {
    animation: none;
  }

  .carousel-toggle {
    display: none;
  }
}

/* ==================================================
   AJUSTES RESPONSIVOS DO CARROSSEL MANUAL
   Mantidos ao final para prevalecer sobre regras antigas.
   ================================================== */

@media (max-width: 820px) {
  .clients-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
  }

  .client-logo {
    flex-basis: 240px;
    width: 240px;
    min-height: 154px;
  }

  .clients-track {
    animation: none;
  }
}

@media (max-width: 620px) {
  .clients-viewport {
    margin-inline: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .clients-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 6px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .carousel-arrow span {
    font-size: 19px;
  }

  .client-logo {
    flex-basis: min(70vw, 228px);
    width: min(70vw, 228px);
    min-height: 148px;
  }

  .clients-track {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-viewport {
    scroll-behavior: auto;
    scrollbar-width: none;
  }
}

