/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}


/* =========================
   VARIÁVEIS
========================= */

:root {
  --cor-primaria:  #163a2e;
  --cor-destaque: #be951a;
  --cor-texto: #1B1B1B;
  --cor-texto-claro: #ffffff;
  --cor-fundo: #F8F6F0;
  --cor-fundo-cinza: #f5f5f5;

  --fonte-principal: 'Montserrat', sans-serif;

  --espacamento-secao: 80px 0;

  --largura-header: 1600px;
  --padding-header: 60px;

  /* ALIASES */

  --dark: #1b1b1b;
  --gold: var(--cor-destaque);
  --white: var(--cor-texto-claro);
}


/* =========================
   BASE
========================= */

html {
  width: 100%;

  overflow-x: hidden;
  overflow-x: clip;

  scroll-behavior: smooth;
}

body {
  width: 100%;

  min-height: 100vh;

  margin: 0;
  padding: 0;

  overflow-x: hidden;
  overflow-x: clip;

  font-family: var(--fonte-principal);

  color: var(--cor-texto);

  line-height: 1.6;
}

a {
  text-decoration: none;

  color: inherit;
}

/* Altura do cabeçalho fixo (90px):
   cada seção para logo abaixo do menu ao ser acessada por link */
#topo,
#quem-defendemos,
#areas-de-atuacao,
#escritorio,
#contato {
  scroll-margin-top: 90px;
}


/* =========================
   CONTAINERS
========================= */

.container {
  max-width: 1100px;

  margin: 0 auto;

  padding: 0 20px;
}

.container-alinhado {
  max-width: var(--largura-header);

  margin: 0 auto;

  padding: 0 var(--padding-header);
}


/* =========================
   CABEÇALHO
========================= */

.cabecalho {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 100;

  background-color: transparent;

  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}

.cabecalho--rolado {
  background-color: #163a2e;

  box-shadow:
    0 2px 15px rgba(0, 0, 0, 0.3);
}

.cabecalho__conteudo {
  max-width: var(--largura-header);

  margin: 0 auto;

  padding: 0 var(--padding-header);

  display: grid;

  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  height: 90px;
}


/* =========================
   LOGO
========================= */

.logo {
  justify-self: start;

  display: flex;

  align-items: center;
}

.logo__imagem {
  height: 45px;

  width: auto;
}


/* =========================
   MENU DESKTOP
========================= */

.menu {
  justify-self: center;

  display: flex;

  gap: 35px;
}

.menu__link {
  position: relative;

  color: var(--cor-texto-claro);

  font-weight: 500;

  font-size: 15px;

  white-space: nowrap;

  padding-bottom: 6px;

  transition: color 0.3s ease;
}

.menu__link:hover {
  color: var(--cor-destaque);
}


/* LINHA INFERIOR */

.menu__link::after {
  content: '';

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;

  height: 2px;

  background-color: var(--cor-destaque);

  transition: width 0.3s ease;
}

.menu__link:hover::after,
.menu__link--ativo::after {
  width: 100%;
}


/* =========================
   BOTÃO MOBILE
========================= */

.menu-toggle {
  display: none;

  flex-direction: column;

  gap: 5px;

  background: none;

  border: none;

  cursor: pointer;

  justify-self: end;
}

.menu-toggle span {
  width: 25px;

  height: 3px;

  background-color: var(--cor-texto-claro);
}


/* =========================
   BOTÃO DO CABEÇALHO
========================= */

.botao-cabecalho {
  justify-self: end;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  background-color: transparent;

  border:
    1px solid rgba(255, 255, 255, 0.25);

  border-radius: 5px;

  padding: 8px 15px;

  color: var(--cor-texto-claro);

  white-space: nowrap;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.botao-cabecalho:hover {
  background-color: var(--cor-texto-claro);

  border-color: var(--cor-texto-claro);
}


/* TEXTO */

.botao-cabecalho__texto {
  font-size: 15px;

  font-weight: 400;

  line-height: 1;

  transition: color 0.3s ease;
}

.botao-cabecalho:hover .botao-cabecalho__texto {
  color: var(--cor-primaria);
}


/* ÍCONE */

.botao-cabecalho__icone {
  position: relative;

  overflow: hidden;

  width: 20px;

  height: 20px;

  border-radius: 4px;

  background-color: var(--cor-destaque);

  color: var(--cor-primaria);

  flex-shrink: 0;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.botao-cabecalho:hover .botao-cabecalho__icone {
  background-color: #0229D5;

  color: var(--cor-texto-claro);
}


/* ANIMAÇÃO DAS SETAS */

.botao-cabecalho:hover .icone-seta--1 {
  transform:
    translate(
      calc(-50% + 40px),
      calc(-50% - 40px)
    )
    rotate(135deg);
}

.botao-cabecalho:hover .icone-seta--2 {
  transform:
    translate(-50%, -50%)
    rotate(135deg);
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  color: var(--cor-texto-claro);

  overflow: hidden;
}


/* =========================
   HERO — VÍDEO
========================= */

.hero__video {
  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  z-index: 0;
}


/* =========================
   HERO — OVERLAY
========================= */

.hero__overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  mix-blend-mode: multiply;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 100%
    );
}


/* =========================
   HERO — CONTEÚDO
========================= */

.hero__conteudo {
  position: relative;

  z-index: 2;

  width: 100%;

  max-width: var(--largura-header);

  margin: 0 auto;

  padding: 0 var(--padding-header);

  text-align: left;
}


/* =========================
   HERO — TÍTULO
========================= */

.hero__titulo {
  font-size: 35px;

  font-weight: 600;

  margin: 0 0 20px;

  line-height: 1.25;
}

.hero__titulo-gradiente {
  display: block;

  width: fit-content;

  background:
    linear-gradient(
      90deg,
      rgba(190, 149, 26, 0.45) 0%,
      rgba(255, 255, 255, 0.95) 100%
    );

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

  -webkit-text-fill-color: transparent;
}


/* =========================
   HERO — TEXTO
========================= */

.hero__subtitulo {
  font-size: 15px;

  font-weight: 400;

  max-width: 650px;

  margin: 0 0 35px;

  opacity: 0.9;
}

.hero__subtitulo strong {
  font-weight: 700;
}


/* =========================
   HERO — BOTÕES
========================= */

.hero__botoes {
  display: flex;

  gap: 20px;

  justify-content: flex-start;

  flex-wrap: wrap;
}


/* =========================
   BOTÃO COM SETA
========================= */

.botao-seta {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  background-color: transparent;

  border:
    1px solid rgba(255, 255, 255, 0.25);

  border-radius: 5px;

  padding: 8px 20px;

  color: var(--cor-texto-claro);

  white-space: nowrap;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.botao-seta--cabecalho {
  justify-self: end;
}

.botao-seta:hover {
  background-color: var(--cor-texto-claro);

  border-color: var(--cor-texto-claro);
}


/* TEXTO */

.botao-seta__texto {
  font-size: 15px;

  font-weight: 400;

  line-height: 1;

  transition: color 0.3s ease;
}

.botao-seta:hover .botao-seta__texto {
  color: var(--cor-primaria);
}


/* ÍCONE */

.botao-seta__icone {
  position: relative;

  overflow: hidden;

  width: 20px;

  height: 20px;

  border-radius: 4px;

  background-color: var(--cor-destaque);

  color: var(--cor-primaria);

  flex-shrink: 0;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.botao-seta:hover .botao-seta__icone {
  background-color: #0229D5;

  color: var(--cor-texto-claro);
}


/* ANIMAÇÃO DAS SETAS */

.botao-seta:hover .icone-seta--1 {
  transform:
    translate(
      calc(-50% + 40px),
      calc(-50% - 40px)
    )
    rotate(135deg);
}

.botao-seta:hover .icone-seta--2 {
  transform:
    translate(-50%, -50%)
    rotate(135deg);
}


/* =========================
   SETAS — ESTILOS COMPARTILHADOS
========================= */

.icone-seta {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 13px;

  height: 13px;

  transition: transform 0.35s ease;
}

.icone-seta--1 {
  transform:
    translate(-50%, -50%)
    rotate(135deg);
}

.icone-seta--2 {
  transform:
    translate(
      calc(-50% - 40px),
      calc(-50% + 40px)
    )
    rotate(135deg);
}


/* =========================
   HERO — INDICADOR DE SCROLL
========================= */

.hero__scroll {
  position: absolute;

  top: 55vh;
  left: 50%;

  transform: translate(-50%, -50%);

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: center;
}

.hero__scroll-icone {
  width: 50px;

  height: auto;

  filter: brightness(0) invert(1);

  opacity: 0.85;

  animation:
    scroll-bounce 2s ease-in-out infinite;

  transition: opacity 0.3s ease;
}

.hero__scroll:hover .hero__scroll-icone {
  opacity: 1;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}


/* =========================
   TAGS INSTITUCIONAIS
========================= */

.quem-defendemos__tag,
.areas-atuacao__tag,
.atuacao-servicos__chamada,
.s4-tag {
  display: block;

  font-size: 10px;

  font-weight: 600;

  line-height: 1.6;

  letter-spacing: 3px;

  text-transform: uppercase;

  color: var(--gold);
}


/* =========================
   LINHAS INSTITUCIONAIS
========================= */

.atuacao-servicos__linha,
.s4-tag-linha {
  flex: 1;

  min-width: 0;

  height: 1px;

  background:
    linear-gradient(
      to right,
      rgba(162, 137, 66, 0.6),
      transparent
    );
}


/* =========================
   FAIXA 1 — QUEM DEFENDEMOS
========================= */

.quem-defendemos {
  position: relative;

  background-color:  #163a2e;
  background-image: none;

  color: var(--cor-texto-claro);

  padding: 38px 0;
}

.quem-defendemos::before,
.quem-defendemos::after {
  content: none;
  display: none;
}


/* CONTAINER */

.quem-defendemos__container {
  position: relative;

  width: 100%;

  max-width: var(--largura-header);

  margin: 0 auto;

  padding: 0 var(--padding-header);
}


/* GRID */

.quem-defendemos__grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  align-items: stretch;
}


/* INTRODUÇÃO */

.quem-defendemos__introducao {
  display: flex;

  flex-direction: column;

  justify-content: center;

  padding-right: 32px;
}

.quem-defendemos__tag {

  font-size: 10px;

  font-weight: 600;

  line-height: 16px;

  color: #be951a;

  margin-bottom: 10px;
}

.quem-defendemos__titulo {
  font-size: 25px;

  font-weight: 400;

  line-height: 1.3;

  color: #f5f5f5;
}


/* PÚBLICOS */

.quem-defendemos__item {
  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 0 32px;
}

.quem-defendemos__numero {
  display: block;

  color: #be951a;

  font-size: 25px;

  font-style: italic;

  font-weight: 400;

  line-height: 1.3;

  letter-spacing: 1px;

  margin-bottom: 10px;
}

.quem-defendemos__subtitulo {
  color: #f5f5f5;

  font-size: 15px;

  font-style: italic;

  font-weight: 400;

  line-height: 1.3;
}


/* DIVISÓRIAS */

.quem-defendemos__item + .quem-defendemos__item::before {
  content: '';

  position: absolute;

  top: 0;
  bottom: 0;
  left: 0;

  width: 1px;

  background-color: #be951a;

  pointer-events: none;
}


/* =========================
   FAIXA 2 — ÁREAS DE ATUAÇÃO
========================= */

.areas-atuacao {
  position: relative;

  overflow: hidden;

  padding: 100px 0;

  background-color: #F8F6F0;
  background-image: none;
}

.areas-atuacao::before,
.areas-atuacao::after {
  content: none;
  display: none;
}


/* CONTAINER */

.areas-atuacao__container {
  position: relative;

  z-index: 1;

  width: 100%;

  max-width: var(--largura-header);

  margin: 0 auto;

  padding: 0 var(--padding-header);
}


/* GRID */

.areas-atuacao__grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 80px;

  align-items: end;
}


/* COLUNA ESQUERDA */

.areas-atuacao__introducao {
  min-width: 0;
}

.areas-atuacao__tag {
  font-size: 10px;

  font-weight: 600;

  line-height: 16px;

  color: #be951a;

  margin-bottom: 10px;
}

.areas-atuacao__titulo {
  margin: 0;

  color: #1b1b1b;

  font-size: 40px;

  font-weight: 400;

  line-height: 1.3;

  letter-spacing: 0px;

  text-wrap: pretty;
}

.areas-atuacao__destaque {
  display: block;

  color: #be951a;
}


/* COLUNA DIREITA */

.areas-atuacao__conteudo {
  min-width: 0;

  padding-bottom: 3px;
}

.areas-atuacao__texto {
  margin: 0;

  color: #515151;

  font-size: 15px;

  font-weight: 400;

  line-height: 1.9;

  text-align: left;

  text-wrap: pretty;
}

/* =========================
   FAIXA 3 — SERVIÇOS
========================= */

.services-section {
  padding-top: 0px;
  padding-bottom: 100px;

  background-color: #F8F6F0;
  background-image: none;

  overflow: hidden;
}

/* CONTAINER */

.services-container {
  width: 100%;

  max-width: var(--largura-header);

  margin: 0 auto;

  padding: 0 var(--padding-header);
}

/* HEADER */

.services-header {
  margin-bottom: 60px;
}

/* TAG */

.services-tag-wrap {
  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 36px;

  width: fit-content;
}

/* LINHA SUPERIOR: TÍTULO + LINHA + CONTROLES */

.services-topo {
  display: flex;

  align-items: center;

  gap: 24px;

  width: 100%;
}

/* TÍTULO */

.services-title {
  flex-shrink: 0;

  max-width: 900px;

  color: #be951a;

  font-size: 10px;

  font-weight: 600;

  line-height: 16px;

  letter-spacing: 3px;
}

/* LINHA DOURADA (apaga em direção à direita) */

.services-linha {
  flex: 1;

  min-width: 0;

  height: 1px;

  margin-right: 24px;

  background:
    linear-gradient(
      to right,
      #be951a,
      transparent
    );
}

/* SLIDER */

.services-slider-wrapper {
  overflow: visible;

  width: 100%;

  margin-left: 0;
}

/* Mobile continua com rolagem nativa */
@media (max-width: 768px) {
  .services-slider-wrapper {
    overflow-x: auto;
  }
}

.services-track {
  display: flex;

  gap: 28px;

  width: max-content;

  padding-right: 0;

  transition: transform 0.5s ease;
}

/* CARD */

.service-card {
  position: relative;

  flex: 0 0 430px;

  height: 520px;

  overflow: hidden;

  background: #1b1b1b;

  cursor: pointer;
}

/* LINHA INFERIOR */

.service-card::after {
  content: '';

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0%;

  height: 3px;

  background: #be951a;

  z-index: 3;

  transition: width 0.5s ease;
}

/* HOVER */

.service-card:hover::after {
  width: 100%;
}

/* IMAGEM */

.service-image {
  position: absolute;

  inset: 0;

  background-size: cover;

  background-position: center;

  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

/* OVERLAY */

.service-overlay {
  position: absolute;

  inset: 0;

  background: rgba(0,0,0,0.65);

  z-index: 1;

  transition: background 0.5s ease;
}

/* HOVER */

.service-card:hover .service-image {
  transform: scale(1.05);

  filter: blur(1px);
}

.service-card:hover .service-overlay {
  background: rgba(0,0,0,0.75);
}

/* CONTEÚDO */

.service-content {
  position: absolute;

  inset: 0;

  z-index: 2;

  padding: 32px;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;
}

/* TÍTULO DO CARD */

.service-content h3 {
  color: #be951a;

  font-size: 18px;

  line-height: 22px;

  font-weight: 600;

  margin-bottom: 12px;
}

/* TEXTO DO CARD */

.service-content p {
  color: #f5f5f5;

  font-size: 15px;

  line-height: 20px;

  font-weight: 400;
}

/* CONTROLES */

.services-controls {
  display: flex;

  flex-shrink: 0;

  gap: 14px;

  justify-content: flex-end;
}

.services-button {
  width: 52px;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  height: 52px;

  border: 2px solid #be951a;
  border-radius: 50%;

  background: #163a2e;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.services-button:hover {
  border-color: #BE951A;

  background: #A28942;
}

.services-button svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: var(--white);

  stroke-width: 1.5;
}

/* =========================
   SEÇÃO 4 — O ESCRITÓRIO
========================= */

.s4 {
  position: relative;

  overflow: hidden;

  padding: 100px 0;

  background-color:  #163a2e;
  background-image: none;
}


/* =========================
   CONTAINER
========================= */

.s4-container {
  width: 100%;

  max-width: var(--largura-header);

  margin: 0 auto;

  padding: 0 var(--padding-header);

  position: relative;

  z-index: 1;
}


/* =========================
   TAG (DENTRO DO PAINEL)
========================= */

.s4-tag-wrap {
  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 32px;
}

.s4-tag {
  font-size: 10px;

  font-weight: 600;

  letter-spacing: 3px;

  text-transform: uppercase;

  color: #BE951A;

  white-space: nowrap;
}

.s4-tag-linha {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(
      to right,
      #BE951A,
      transparent
    );
}


/* =========================
   GRID (RETÂNGULO ARREDONDADO)
========================= */

.s4-grid {
  display: grid;

  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr);

  gap: 0;

  align-items: stretch;

  overflow: hidden;

  border-radius: 24px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


/* =========================
   CARD IMAGEM (ESQUERDA)
========================= */

.s4-card-img {
  position: relative;

  overflow: hidden;

  background-color: #1E1E1E;

  min-height: 480px;
}

.s4-card-img-bg {
  position: absolute;

  inset: 0;
  
  background:
    url('assets/images/r01.webp')
    center top/cover no-repeat;

  transition: transform 0.6s ease;
}

.s4-card-img:hover .s4-card-img-bg {
  transform: scale(1.03);
}

/* BADGE */

.s4-card-img-badge {
  position: absolute;

  left: 36px;
  right: 36px;
  bottom: 36px;

  z-index: 2;
}


/* =========================
   CARD TEXTO (DIREITA)
========================= */

.s4-card-texto {
  position: relative;

  overflow: hidden;

  display: flex;

  flex-direction: column;

  padding: 64px 56px;

  background-color: #F8F6F0;

  border: none;

  border-radius: 0;
}

/* TÍTULO */

.s4-card-titulo {
  font-size: 25px;

  font-weight: 400;

  line-height: 33px;

  letter-spacing: 0px;

  color: #1b1b1b;

  margin-bottom: 32px;
}

/* SEPARADOR */

.s4-sep {
  width: 36px;

  height: 1px;

  background: #be951a;

  opacity: 0.8;

  margin-bottom: 32px;

  flex-shrink: 0;
}

/* TEXTOS */

.s4-textos {
  display: flex;

  flex-direction: column;

  gap: 18px;

  flex: 1;
}

.s4-texto {
  font-size: 15px;

  font-weight: 400;

  line-height: 29px;

  text-align: left;

  color: #515151;
}

/* FOOTER */

.s4-card-footer {
  display: flex;

  align-items: center;

  gap: 16px;

  margin-top: 36px;

  padding-top: 24px;

  border-top:
    1px solid rgba(38, 53, 75, 0.12);
}

.s4-footer-nome {
  font-size: 15px;

  font-weight: 600;

  line-height: 29px;

  letter-spacing: 1px;

  color: #1b1b1b;
}

.s4-footer-cargo {
  font-size: 10px;

  font-weight: 600;
 
  line-height: 16px;

  letter-spacing: 3px;

  color: #be951a;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1024px) {
  .s4-card-texto {
    padding: 52px 40px;
  }
}

@media (max-width: 768px) {
  .s4 {
    padding: 72px 0;
  }

  .s4-grid {
    grid-template-columns: 1fr;

    border-radius: 20px;
  }

  .s4-card-img {
    min-height: 300px;
  }

  .s4-card-texto {
    padding: 40px 28px;
  }

  .s4-card-titulo {
    font-size: 26px;

    line-height: 34px;
  }
}

/* =========================
   SEÇÃO 5 — CONTATO
========================= */

.s5 {
  position: relative;

  overflow: hidden;

  min-height: 400px;

  display: flex;

  align-items: center;
}

/* =========================
   BACKGROUND
========================= */

.s5-bg {
  position: absolute;

  inset: 0;

  background:
    url('assets/images/banner.webp')
    center/cover no-repeat;

  z-index: 0;
}

/* =========================
   OVERLAY
========================= */

.s5-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      105deg,
      rgba(10,10,10,0.90) 0%,
      rgba(22,58,46,0.78) 50%,
      rgba(10,10,10,0.90) 100%
    );

  z-index: 1;
}

/* GRID DECORATIVO */

.s5-overlay::after {
  content: '';

  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      rgba(162,137,66,0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(162,137,66,0.04) 1px,
      transparent 1px
    );

  background-size: 60px 60px;
}

/* =========================
   CONTAINER
========================= */

.s5-container {
  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 1600px;

  margin: 0 auto;

  padding: 100px 100px;
}

/* =========================
   TAG
========================= */

.s5-tag-wrap {
  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 36px;
}

.s5-tag {
  font-size: 10px;

  font-weight: 600;

  letter-spacing: 3px;

  text-transform: uppercase;

  color: #BE951A;

  white-space: nowrap;
}

.s5-tag-linha {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(
      to right,
      rgba(162,137,66,0.6),
      transparent
    );
}

/* =========================
   GRID
========================= */

.s5-grid {
  display: grid;

  grid-template-columns: 1fr auto;

  gap: 80px;

  align-items: center;
}

/* =========================
   ESQUERDA
========================= */

.s5-esquerda {
  display: flex;

  flex-direction: column;
}

.s5-titulo {
  max-width: 560px;

  font-size: 25px;

  font-weight: 400;

  line-height: 33px;

  letter-spacing: 0px;

  color: #f5f5f5;

  margin-bottom: 20px;
}

.s5-titulo em {
  font-style: normal;

  color: #be951a;
}

.s5-sep {
  width: 36px;

  height: 1px;

  background: #be951a;

  opacity: 0.5;

  margin-bottom: 20px;
}

.s5-texto {
  max-width: 500px;

  font-size: 15px;

  font-weight: 400;

  line-height: 25px;

  color:
    #f5f5f5;
}

/* =========================
   DIREITA
========================= */

.s5-direita {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 14px;

  flex-shrink: 0;
}

/* =========================
   NOTA
========================= */

.s5-btn-nota {
  font-size: 10px;

  font-weight: 600;

  line-height: 16px;

  letter-spacing: 3px;

  text-align: center;

  color:
    #FFFFFF;
}

/* =========================
   BOTÃO DE CONTATO (.botao-seta)
   Cópia isolada: alterações aqui não afetam o hero
========================= */

/* VALORES PARA AJUSTAR */
.s5-direita .botao-seta {
  --btn-padding: 8px 15px;        /* altura e largura internas */
  --btn-borda: 1px solid rgba(255, 255, 255, 0.25);
  --btn-raio: 5px;
  --btn-texto-tamanho: 15px;
  --btn-texto-espacamento: 0px;
  --btn-icone: 20px;              /* tamanho do quadrado do ícone */
  --btn-icone-raio: 4px;
}

/* BOTÃO */
.s5-direita .botao-seta {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  background-color: transparent;

  border: var(--btn-borda);

  border-radius: var(--btn-raio);

  padding: 10px 80px;  /* 8px = altura, 40px = cada lado */

  color: var(--cor-texto-claro);

  white-space: nowrap;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.s5-direita .botao-seta:hover {
  background-color: var(--cor-texto-claro);

  border-color: var(--cor-texto-claro);
}

/* TEXTO */
.s5-direita .botao-seta__texto {
  font-size: 15px;

  font-weight: 400;

  line-height: 1;

  letter-spacing: var(--btn-texto-espacamento);

  transition: color 0.3s ease;
}

.s5-direita .botao-seta:hover .botao-seta__texto {
  color: var(--cor-primaria);
}

/* ÍCONE (QUADRADO) */
.s5-direita .botao-seta__icone {
  position: relative;

  overflow: hidden;

  width: var(--btn-icone);

  height: var(--btn-icone);

  border-radius: var(--btn-icone-raio);

  background-color: var(--cor-destaque);

  color: var(--cor-primaria);

  flex-shrink: 0;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.s5-direita .botao-seta:hover .botao-seta__icone {
  background-color: #0229D5;

  color: var(--cor-texto-claro);
}

/* ANIMAÇÃO DAS SETAS */
.s5-direita .botao-seta:hover .icone-seta--1 {
  transform:
    translate(
      calc(-50% + 40px),
      calc(-50% - 40px)
    )
    rotate(135deg);
}

.s5-direita .botao-seta:hover .icone-seta--2 {
  transform:
    translate(-50%, -50%)
    rotate(135deg);
}

/* =========================
   RODAPÉ
========================= */

.footer {
  position: relative;

  overflow: hidden;

  background: #163a2e;

  padding: 100px 0 0;
}

/* LINHA TOPO */

.footer::before {
  content: '';

  position: absolute;

  top: 0;
  left: 100px;
  right: 100px;

  height: 1px;

  background:
    linear-gradient(
      to right,
      transparent,
      rgba(162,137,66,0.5) 20%,
      rgba(162,137,66,0.5) 80%,
      transparent
    );
}

/* =========================
   CONTAINER
========================= */

.footer-container {
  width: 100%;

  max-width: 1600px;

  margin: 0 auto;
}

/* =========================
   GRID
========================= */

.footer-grid {
  display: grid;

  grid-template-columns:
    1.4fr 1fr 1fr 1fr;

  gap: 60px;

  padding: 0 100px 50px;
}

/* =========================
   COLUNA 1
========================= */

.footer-col1 {
  display: flex;

  flex-direction: column;
}

/* LOGO */

.footer-logo {
  display: block;

  width: auto;

  height: 50px;

  object-fit: contain;

  object-position: left;

  margin-bottom: 28px;
}

/* TEXTO */

.footer-desc {
  max-width: 220px;

  font-size: 12px;

  font-weight: 400;

  line-height: 20px;

  color:
    #FFFFFF;

  margin-bottom: 28px;
}

/* =========================
   REDES SOCIAIS
========================= */

.footer-socials {
  display: flex;

  gap: 10px;
}

.footer-social {
  width: 40px;

  height: 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid rgba(255,255,255,0.15);

  color:
    #FFFFFF;

  text-decoration: none;

  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s;
}

.footer-social:hover {
  border-color: var(--gold);

  background:
    rgba(162,137,66,0.08);

  color: var(--gold);
}

.footer-social svg {
  width: 20px;

  height: 20px;

  stroke: currentColor;

  fill: none;

  stroke-width: 1.5;

  stroke-linecap: round;

  stroke-linejoin: round;
}

/* =========================
   COLUNAS
========================= */

.footer-col {
  display: flex;

  flex-direction: column;
}

/* TÍTULOS */

.footer-col-titulo {
  font-size: 12px;

  font-weight: 600;

  letter-spacing: 1px;

  text-transform: uppercase;

  color: var(--gold);

  margin-bottom: 24px;

  padding-bottom: 16px;

  border-bottom:
    1px solid rgba(255,255,255,0.07);
}

/* LINKS */

.footer-links {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 12px;
}

.footer-links li a,
.footer-links li span {
  display: block;

  font-size: 12px;

  font-weight: 400;

  text-decoration: none;

  color:
    #FFFFFF;
}

/* =========================
   CONTATO
========================= */

.footer-contato-item {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin-bottom: 14px;
}

.footer-contato-item:last-child {
  margin-bottom: 0;
}

/* ÍCONE */

.footer-contato-icon {
  width: 14px;

  height: 14px;

  flex-shrink: 0;

  color: #FFFFFF;

  margin-top: 2px;
}

.footer-contato-icon svg {
  width: 14px;

  height: 14px;

  stroke: currentColor;

  fill: none;

  stroke-width: 1.5;

  stroke-linecap: round;

  stroke-linejoin: round;
}

/* TEXTO */

.footer-contato-texto {
  font-size: 12px;

  font-weight: 400;

  line-height: 20px;

  color:
    #FFFFFF;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding: 20px 100px;

  border-top:
    1px solid rgba(255,255,255,0.06);
}

/* COPYRIGHT */

.footer-copy,
.footer-oab {
  font-size: 12px;

  font-weight: 400;

  letter-spacing: 0.5px;

  color:
    #FFFFFF;
}


/* =========================================
   RESPONSIVO — TABLET (769px a 1200px)
========================================= */

@media (max-width: 1200px) {

  :root {
    --padding-header: 40px;
  }

}

@media (max-width: 1024px) {

  :root {
    --padding-header: 32px;
  }

  /* CABEÇALHO */

  .menu {
    gap: 24px;
  }

  .menu__link {
    font-size: 14px;
  }

  /* HERO */

  .hero__titulo {
    font-size: 30px;
  }

  /* QUEM DEFENDEMOS — 2 colunas, sem divisórias verticais */

  .quem-defendemos {
    padding: 32px 0;
  }

  .quem-defendemos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 32px 0;
  }

  .quem-defendemos__introducao {
    padding-right: 24px;
  }

  .quem-defendemos__item {
    padding: 0 24px;
  }

  .quem-defendemos__item + .quem-defendemos__item::before {
    display: none;
  }

  /* ÁREAS DE ATUAÇÃO */

  .areas-atuacao {
    padding: 80px 0;
  }

  .areas-atuacao__grid {
    gap: 48px;
  }

  .areas-atuacao__titulo {
    font-size: 34px;
  }

  /* SERVIÇOS */

  .services-section {
    padding-bottom: 80px;
  }

  .service-card {
    flex: 0 0 360px;

    height: 460px;
  }

  /* ESCRITÓRIO */

  .s4 {
    padding: 80px 0;
  }

  /* CONTATO */

  .s5-container {
    padding: 80px 40px;
  }

  .s5-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .s5-direita {
    align-items: flex-start;
  }

  .s5-direita .botao-seta {
    padding: 10px 48px;
  }

  /* RODAPÉ */

  .footer {
    padding-top: 72px;
  }

  .footer::before {
    left: 40px;
    right: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;

    gap: 40px;

    padding: 0 40px 40px;
  }

  .footer-bottom {
    padding: 20px 40px;
  }

}


/* =========================================
   RESPONSIVO — CELULAR (até 768px)
========================================= */

@media (max-width: 768px) {

  :root {
    --padding-header: 20px;
  }

  /* Cabeçalho mais baixo no celular:
     ajusta o ponto de parada dos links */

  #home,
  #quem-defendemos,
  #areas-de-atuacao,
  #servicos,
  #o-escritorio,
  #contato {
    scroll-margin-top: 72px;
  }


  /* =========================================
     CABEÇALHO E MENU MOBILE
  ========================================= */

  .cabecalho {
    /* Mantém o cabeçalho visível durante a rolagem.
       A cor continua sendo controlada por
       .cabecalho--rolado, já definida fora deste bloco. */
    position: fixed;
  }

  .cabecalho__conteudo {
    height: 72px;

    /* logo | espaço vazio | hambúrguer */
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .logo {
    position: relative;
    z-index: 2;
  }

  .logo__imagem {
    height: 45px;
  }

  .botao-cabecalho {
    display: none;
  }

  /* Botão hambúrguer */

  .menu-toggle {
    position: relative;
    z-index: 2;

    display: flex;
    grid-column: 3;
    align-items: flex-end;
    justify-content: center;

    width: 44px;
    height: 44px;
    gap: 5px;

    color: var(--cor-texto-claro);
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;

    background-color: currentColor;

    transition:
      width 0.3s ease,
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  /* Linhas de comprimentos diferentes */

  .menu-toggle span:nth-child(1) {
    width: 26px;
  }

  .menu-toggle span:nth-child(2) {
    width: 19px;
  }

  .menu-toggle span:nth-child(3) {
    width: 23px;
  }

  /* Transforma o hambúrguer em X ao abrir */

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    width: 26px;
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Painel: fica fora do fluxo e não empurra as seções */

  .menu {
    position: fixed;
    inset: 0;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 5vh, 40px);

    width: 100%;
    height: 100vh;
    height: 100dvh;

    padding: 90px 24px 40px;

    background-color: rgba(22, 58, 46, 0.92);

    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);

    transition:
      transform 0.4s ease,
      visibility 0s linear 0.4s;
  }

  .menu.menu--aberto {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);

    transition: transform 0.4s ease;
  }

  .menu__link {
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }

  body.menu-mobile-aberto {
    overflow: hidden;
  }


  /* =========================================
     HERO
  ========================================= */

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__video {
    object-position: 40% 100%; /* ajuste aqui */
  }

  .hero__conteudo {
    position: static;
  }

  .hero__titulo,
  .hero__subtitulo,
  .hero__botoes {
    position: relative;
    z-index: 2;
  }

  /* Título — cor sólida, sem gradiente */

  .hero h1,
  .hero__titulo {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #F5F5F5;
    color: #F5F5F5;
  }

  .hero h1 span {
    display: inline;

    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: inherit;
    animation: none;

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  /* Esconde as quebras de linha (<br>) só no celular */

  .hero h1 br,
  .hero__titulo br,
  .hero__subtitulo br {
    display: none;
  }

  /* Tamanhos de texto */

  .hero__titulo {
    font-size: 20px;
  }

  .hero__subtitulo {
    font-size: 12px;
  }

  .hero__botoes .botao-seta .botao-seta__texto {
    font-size: 12px; /* ajuste aqui */
  }

  /* Ícone de scroll no pé da hero */

  .hero__scroll {
    top: auto;
    bottom: 24px;
    transform: translateX(-50%);
  }

  .hero__scroll-icone {
    width: 36px;
  }


  /* =========================================
     QUEM DEFENDEMOS
     1 coluna, divisórias horizontais
  ========================================= */

  .quem-defendemos {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .quem-defendemos__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quem-defendemos__introducao {
    padding: 0 0 15px;
  }

  .quem-defendemos__item {
    padding: 18px 0;
  }

  .quem-defendemos__item + .quem-defendemos__item::before {
    display: block;

    top: 0;
    bottom: auto;
    left: 0;
    right: 0;

    width: auto;
    height: 1px;
  }

  .quem-defendemos__tag {
    font-size: 8px;
    line-height: 16px;
  }

  .quem-defendemos__titulo {
    font-size: 20px;
    line-height: 1.3;
  }

  .quem-defendemos__numero {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .quem-defendemos__subtitulo {
    font-size: 12px;
    line-height: 1.4;
  }


  /* =========================================
     ÁREAS DE ATUAÇÃO
  ========================================= */

  .areas-atuacao {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .areas-atuacao__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .areas-atuacao__tag {
    font-size: 8px;
    line-height: 16px;
    letter-spacing: 3px;
    margin-bottom: 12px;
  }

  .areas-atuacao__titulo {
    font-size: 20px;
  }

  .areas-atuacao__texto {
    font-size: 12px;
  }


  /* =========================================
     SERVIÇOS
     Rolagem nativa com encaixe por card
  ========================================= */

  .services-section {
    padding-bottom: 64px;
  }

  .services-header {
    margin-bottom: 32px;
  }

  .services-topo {
    flex-wrap: wrap;
    gap: 20px;
  }

  .services-linha {
    display: none;
  }

  .services-controls {
    margin-left: 0;
    justify-content: flex-start;
  }

  .services-slider-wrapper {
    overflow-x: auto;

    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  .services-track {
    gap: 16px;
  }

  .service-card {
    flex: 0 0 80vw;
    height: 420px;
    scroll-snap-align: start;
  }

  .service-content {
    padding: 24px;
  }

  .services-title {
    font-size: 8px;
    line-height: 16px;
    letter-spacing: 3px;
  }

  .service-content h3 {
    font-size: 15px;
    line-height: 20px;
  }

  .service-content p {
    font-size: 12px;
    line-height: 19px;
  }

  .services-button {
    width: 44px;
    height: 44px;
  }


  /* =========================================
     O ESCRITÓRIO
  ========================================= */

  .s4 {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .s4-card-img {
    min-height: 500px; /* ajuste aqui */
  }

  .s4-card-texto {
    padding: 36px 24px;
  }

  .s4-tag {
    font-size: 8px;
  }

  .s4-card-titulo {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .s4-sep {
    margin-bottom: 24px;
  }

  .s4-textos {
    gap: 14px;
  }

  .s4-texto {
    font-size: 12px;
    line-height: 24px;
  }

  .s4-card-footer {
    margin-top: 28px;
    padding-top: 20px;
  }

  .s4-footer-nome {
    font-size: 12px;
    line-height: 24px;
  }

  .s4-footer-cargo {
    font-size: 8px;
    line-height: 16px;
  }


  /* =========================================
     CONTATO
  ========================================= */

  .s5 {
    min-height: auto;
  }

  .s5-container {
    padding: 64px 20px;
  }

  .s5-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .s5-tag {
    font-size: 8px;
    letter-spacing: 3px;
  }

  .s5-tag-wrap {
    margin-bottom: 24px;
  }

  .s5-titulo {
    font-size: 20px;
    line-height: 30px;
  }

  .s5-texto {
    font-size: 12px;
    line-height: 22px;
  }

  .s5-direita {
    align-items: stretch;
    width: 100%;
  }

  .s5-direita .botao-seta {
    width: 100%;
    padding: 12px 20px;
  }

  .s5-direita .botao-seta .botao-seta__texto {
    font-size: 12px;
  }

  .s5-btn-nota {
    font-size: 8px;
    letter-spacing: 2px;
    line-height: 14px;
  }


  /* =========================================
     RODAPÉ
  ========================================= */

  .footer {
    padding-top: 56px;
  }

  .footer::before {
    left: 20px;
    right: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 20px 36px;
  }

  .footer-desc {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }

  .footer-col-titulo {
    font-size: 12px;
    letter-spacing: 3px;
    line-height: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .footer-desc {
    font-size: 12px;
    line-height: 22px;
  }

  .footer-col a,
  .footer-col li,
  .footer-col p {
    font-size: 12px;
    line-height: 22px;
  }

  .footer-contato,
  .footer-contato a {
    font-size: 12px;
    line-height: 22px;
  }

  .footer-bottom p,
  .footer-copy,
  .footer-bottom span {
    font-size: 8px;
    line-height: 16px;
  }

} /* Fim do @media até 768px */


/* =========================================
   RESPONSIVO — CELULAR PEQUENO (até 480px)
========================================= */

@media (max-width: 480px) {

  .hero__titulo {
    font-size: 20px;
  }

  .hero__subtitulo {
    font-size: 12px;
  }

  /* Mantido do seu CSS original.
     O botão de contato já está oculto até 768px. */

  .botao-cabecalho__texto {
    display: none;
  }

  .botao-cabecalho {
    padding: 6px;
  }

  .areas-atuacao__titulo {
    font-size: 20px;
  }

  .service-card {
    flex: 0 0 86vw;
  }

} 