@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --cor-bg: #faf8f3;
  --cor-preta: #111;
  --cor-destaque: #e9f800;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--cor-bg);
  color: var(--cor-preta);
  overflow-x: hidden;
}
/* NAVBAR DESKTOP */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.1rem 8%;
  position: relative;
  z-index: 10;
}

/* Logo */
.navbar .logo img {
  max-height: 100px;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Menu padrão desktop */
.navbar nav {
  display: flex;
  align-items: center;
}

.navbar nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar nav a {
  text-decoration: none;
  color: var(--cor-preta);
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
}

.navbar nav a:hover {
  opacity: 0.7;
}

/* Botão desktop */
.btn-contato {
  border: 1px solid var(--cor-preta);
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
  align-self: center;
}

.btn-contato:hover {
  background-color: var(--cor-preta);
  color: white;
}

/* MENU MOBILE (hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 100;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--cor-preta);
  border-radius: 10px;
  transition: all 0.4s ease;
}

/* === SIDEBAR MOBILE AJUSTADO === */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(20, 20, 20, 0.6); /* fundo escuro translúcido */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s ease;
  z-index: 9999;
}

.nav-menu.active {
  right: 0;
}

/* Itens do menu */
.nav-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  margin: 0;
  padding: 0;
  z-index: 10000; /* garante que o texto fica por cima */
}

.nav-menu a {
  text-decoration: none;
  color: #fff; /* branco puro para contraste */
  font-size: 1.4rem;
  font-weight: 700;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.nav-menu a:hover {
  color: var(--cor-destaque); /* seu amarelo neon */
}

/* Botão dentro do menu */
.btn-contato-mobile {
  margin-top: 3rem;
  background-color: var(--cor-destaque);
  color: #000;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-contato-mobile:hover {
  transform: scale(1.05);
  background-color: #fff;
  color: #000;
}

/* === BOTÃO HAMBÚRGUER === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 10000; /* acima de tudo */
  position: relative;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--cor-preta);
  border-radius: 10px;
  transition: all 0.4s ease;
}

/* Animação do botão (X) */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* === RESPONSIVIDADE === */
@media (max-width: 900px) {
    

  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-contato-mobile {
    display: block;
  }
}

@media (min-width: 901px) {
  #nav-menu {
    position: static;
    display: flex !important;
    height: auto;
    width: auto;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
  }

  #nav-menu ul {
    flex-direction: row;
    gap: 2rem;
  }

  .menu-toggle {
    display: none;
  }

  .btn-contato-mobile {
    display: none;
  }

  .desktop-only {
    display: inline-block;
  }
}


/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6rem 8%;
  position: relative;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 500px;
  z-index: 2;
  animation: slideUp 1.2s ease;
}

.hero-text .nome {
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-text span {
  color: var(--cor-preta);
}

.botoes {
  display: flex;
  gap: 1rem;
}

.btn-preto {
  background-color: var(--cor-preta);
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-preto:hover {
  transform: scale(1.05);
}

.btn-branco {
  border: 1px solid var(--cor-preta);
  color: var(--cor-preta);
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-branco:hover {
  background: var(--cor-preta);
  color: #fff;
}

/* IMAGEM E DECORAÇÕES */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1.3s ease;
}

.hero-image img {
  width: 370px;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}

.decor {
  position: absolute;
  bottom: -30px;
  left: -60px;
  width: 220px;
  height: 220px;
  background-color: var(--cor-destaque);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 3s infinite ease-in-out;
}

.pattern {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 460px;
  height: 300px;
  background-image: radial-gradient(var(--cor-preta) 1px, transparent 1px);
  background-size: 20px 20px;
  /* opacity: 0.2; */
  animation: movePattern 12s linear infinite;
  z-index: 0;
}

/* ANIMAÇÕES */
@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInRight {
  from { transform: translateX(60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes movePattern {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* RESPONSIVO */
@media (max-width: 980px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 5rem 6%;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-image img {
    width: 260px;
  }

  .pattern {
    display: none;
  }

  .navbar ul {
    display: none;
  }
}

/* SECTION SOBRE */
.sobre {
  background-color: #dfe3dc;
  padding: 6rem 8%;
  position: relative;
  overflow: hidden;
}

/* CONTAINER PRINCIPAL */
.sobre-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  animation: fadeIn 1.3s ease-in-out;
}

/* IMAGEM E DECORAÇÕES */
.sobre-img {
  position: relative;
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
}

.sobre-img img {
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.sobre-img .pattern {
  position: absolute;
  top: -50px;
  left: -70px;
  width: 340px;
  height: 300px;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 20px 20px;
  animation: movePattern 12s linear infinite;
  z-index: 1;
}

.sobre-img .decor {
  position: absolute;
  bottom: -40px;
  left: 60px;
  width: 130px;
  height: 130px;
  background-color: var(--cor-destaque);
  border-radius: 50%;
  z-index: 2;
  animation: pulse 3s infinite ease-in-out;
}

/* TEXTO */
.sobre-texto {
  flex: 1;
  min-width: 320px;
}

.titulo-secao {
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
}

.sobre-texto h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.sobre-texto h2 span {
  color: var(--cor-preta);
}

.descricao {
  color: #333;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  opacity: 0.9;
}

/* INFO (EXPERIÊNCIA / ÁREAS / PREMIAÇÕES) */
.sobre-info {
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.sobre-info .label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.5px;
}

.sobre-info .valor {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--cor-preta);
  margin-top: 0.2rem;
}

/* CARDS INFERIORES */
.sobre-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 5rem;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  overflow: hidden;
}

.sobre-cards .card {
  text-align: center;
  padding: 2.8rem 1rem;
  background-color: #e4e7e1;
  transition: all 0.3s ease;
}

.sobre-cards .card:hover {
  transform: scale(1.02);
}

.sobre-cards .card h3 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.sobre-cards .card p {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.sobre-cards .card.destaque {
  background-color: var(--cor-preta);
  color: white;
}

.sobre-cards .card.destaque p {
  color: var(--cor-destaque);
}

/* ANIMAÇÕES */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes movePattern {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* RESPONSIVIDADE */
@media (max-width: 980px) {
  .sobre-container {
    flex-direction: column;
    text-align: center;
  }

  .sobre-img {
    order: -1;
    margin-bottom: 2rem;
  }

  .sobre-texto h2 {
    font-size: 2rem;
  }

  .sobre-info {
    justify-content: center;
  }

  .sobre-cards {
    margin-top: 3.5rem;
  }
}

@media (max-width: 600px) {
  .descricao {
    font-size: 0.95rem;
  }

  .sobre-cards .card h3 {
    font-size: 2.2rem;
  }

  .sobre-cards .card p {
    font-size: 0.9rem;
  }
}

.sobre {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.sobre.show {
  opacity: 1;
  transform: translateY(0);
}

/* Section 3 */

/* === SECTION PORTFÓLIO === */
.portfolio {
  background-color: #fff;
  padding: 6rem 8%;
  position: relative;
  overflow: hidden;
}

.portfolio .container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio .titulo-secao {
  font-weight: 600;
  text-align: center;
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.portfolio h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
  color: #111;
}

/* PROJETOS */
.projeto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 6rem;
  flex-wrap: wrap;
  animation: fadeIn 1.2s ease-in-out;
}

.projeto.reverse {
  flex-direction: row-reverse;
}

.projeto-texto {
  flex: 1;
  min-width: 320px;
}

.projeto-texto h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.projeto-texto p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

/* IMAGENS */
.projeto-img {
  flex: 1;
  min-width: 300px;
}

.projeto-img img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.projeto-img img:hover {
  transform: scale(1.03);
}

/* TAGS */
.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-amarela {
  background-color: #efff00;
  color: #000;
}

.tag-rosa {
  background-color: #ff7cfb;
  color: #000;
}

/* NOVOS BOTÕES */
.botoes-projeto {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-saibamais,
.btn-acessar {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* BOTÃO 1 — SAIBA MAIS (preto sólido) */
.btn-saibamais {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
}

.btn-saibamais:hover {
  background-color: var(--cor-destaque);
  color: #000;
  border: 1px solid var(--cor-destaque);
  transform: translateY(-3px);
}

/* BOTÃO 2 — ACESSAR (borda apenas) */
.btn-acessar {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
}

.btn-acessar:hover {
  background-color: var(--cor-destaque);
  color: #000;
  border: 1px solid var(--cor-destaque);
  transform: translateY(-3px);
}

/* RESPONSIVO */
@media (max-width: 600px) {
  .botoes-projeto {
    justify-content: center;
  }

  .btn-saibamais,
  .btn-acessar {
    width: 100%;
    text-align: center;
  }
}


/* ANIMAÇÃO */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVIDADE */
@media (max-width: 960px) {
  .projeto {
    flex-direction: column;
    text-align: center;
  }

  .projeto.reverse {
    flex-direction: column;
  }

  .projeto-img img {
    max-width: 90%;
    margin: 0 auto;
  }

  .portfolio h2 {
    font-size: 1.9rem;
  }
}

/* Section 3 - Icone de ferramentas */

/* === FERRAMENTAS DO PROJETO === */
.projeto-ferramentas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
}

.projeto-ferramentas .ferramenta img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) brightness(0.9);
}

.projeto-ferramentas .ferramenta img:hover {
  transform: scale(1.1);
  filter: grayscale(0%) brightness(1);
}

/* Section 3 - Barra de filtro */

/* === BARRA DE FILTROS === */
.barra-filtros {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 3rem 0 4rem 0;
  position: relative;
}

.filtro-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  background: #f8f8f8;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.filtro-menu li {
  position: relative;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem;
}

.filtro-menu li:hover {
  color: #000;
}

/* Indicador animado (linha que desliza) */
.filtro-indicador {
  position: absolute;
  bottom: 0;
  height: 3px;
  background-color: var(--cor-destaque);
  border-radius: 10px;
  transition: all 0.35s ease;
}

/* Estado ativo */
.filtro-menu li.ativo {
  color: #000;
}

/* === ANIMAÇÃO DOS PROJETOS === */
.projeto {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
}

/* Ocultação suave e simultânea */
.projetos-ocultos .projeto {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.projeto.oculto {
  display: none !important;
}

.projeto {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}


/* === RESPONSIVO (MOBILE CLEAN, 2 COLUNAS) === */
@media (max-width: 768px) {
  .barra-filtros {
    margin: 2.5rem 0 3rem 0;
  }

  .filtro-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    background: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
    justify-items: center;
  }

  .filtro-menu li {
    font-size: 0.95rem;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
  }

  .filtro-menu li:hover {
    color: #000;
  }

  .filtro-menu li.ativo {
    color: #000;
    position: relative;
  }

  .filtro-menu li.ativo::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background: var(--cor-destaque);
    border-radius: 10px;
    margin: 0.3rem auto 0 auto;
  }

  /* Remove a linha animada no mobile (mantém apenas o sublinhado do ativo) */
  .filtro-indicador {
    display: none;
  }
}


/* Section 4 */

/* === SECTION CURRÍCULO === */
.curriculo {
  background-color: #faf8f2;
  padding: 6rem 8%;
  position: relative;
  overflow: hidden;
}

.curriculo .container {
  max-width: 1200px;
  margin: 0 auto;
}

.curriculo .titulo-secao {
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  text-align: left;
}

.curriculo h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: left;
  color: #111;
}

/* GRID PRINCIPAL */
.curriculo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.coluna-esquerda h3,
.coluna-direita h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.curriculo hr {
  border: none;
  border-top: 1px solid #ddd;
  margin-bottom: 2rem;
}

/* EXPERIÊNCIA */
.experiencia {
  margin-bottom: 3rem;
}

.experiencia h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  background-color: #efff00;
  color: #000;
  margin-bottom: 0.8rem;
}

.periodo {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.7rem;
}

.descricao {
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* FERRAMENTAS */
.ferramentas {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ferramentas li {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.8rem;
  transition: all 0.3s;
  position: relative;
}

.ferramentas li:hover {
  color: var(--cor-destaque);
  transform: translateX(4px);
}

/* RESPONSIVO */
@media (max-width: 960px) {
  .curriculo-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .curriculo h2 {
    text-align: center;
  }

  .curriculo .titulo-secao {
    text-align: center;
  }

  .coluna-esquerda h3,
  .coluna-direita h3 {
    text-align: center;
  }
}

/* Teste */

/* === SEÇÃO CERTIFICAÇÕES === */
.certificacoes {
  margin-top: 4rem;
  padding: 2rem 8%;
  background-color: #fff;
  color: #111;
}

.certificacoes h3 {
  display: inline-block;
  background-color: #e6e6e6;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

/* LISTA PRINCIPAL */
.lista-certificacoes {
  list-style: disc;
  padding-left: 1.5rem;
  line-height: 1.7;
}

.lista-certificacoes > li {
  margin-bottom: 1.5rem;
}

.lista-certificacoes > li strong {
  font-size: 1.05rem;
  color: #111;
}

/* SUBLISTAS */
.lista-certificacoes ul {
  list-style: circle;
  margin-top: 0.5rem;
  margin-left: 1.3rem;
  color: #333;
}

.lista-certificacoes ul li {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .certificacoes {
    padding: 1.5rem 6%;
  }

  .lista-certificacoes {
    font-size: 0.95rem;
  }

  .certificacoes h3 {
    font-size: 1rem;
  }
}

/* Style de Ler mais e Ler menos */

.ler-mais-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

/* Botão estilo minimalista e consistente com o site */
.btn-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: #fffef6;
  border: 2px solid #000;
  border-radius: 40px;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-toggle:hover {
  background: #f0f733;
  border-color: #f0f733;
  transform: translateY(-2px);
}

.btn-toggle i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.btn-toggle.active i {
  transform: rotate(180deg);
}

/* Transição suave das experiências ocultas */
.ocultas {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ocultas.mostrar {
  display: block;
  opacity: 1;
  transform: translateY(0);
}



/* Section 5 */

/* === SECTION SERVIÇOS === */
.servicos {
  background-color: #111116;
  color: #fff;
  padding: 6rem 8%;
  position: relative;
}

.servicos .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.servicos .titulo-secao {
  color: #efff00;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.servicos h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

/* === GRID DE SERVIÇOS === */
.grid-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.card-servico {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2.5rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.card-servico:hover {
  border-color: #efff00;
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(239, 255, 0, 0.15);
}

.card-servico .icon {
  display: block;
  font-size: 2rem;
  color: #efff00;
  margin-bottom: 1rem;
}

.card-servico h3 {
  font-size: 1rem;
  font-weight: 700;
}

/* === COMO FUNCIONA === */
.como-funciona {
  margin-top: 5rem;
}

.como-funciona .subtitulo {
  color: #efff00;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-align: center;
}

.etapas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  position: relative;
}

.etapa {
  text-align: center;
  padding: 2rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.etapa h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.etapa p {
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.6;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .grid-servicos {
    gap: 1.5rem;
  }

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

  .circulo,
  .circulo.menor {
    display: none;
  }
}


/* Section 6 */

/* === SECTION CTA === */
.cta {
  position: relative;
  background-color: #efff00;
  color: #000;
  text-align: center;
  padding: 6rem 8%;
  overflow: hidden;
}

.cta .container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Título pequeno */
.cta .titulo-secao {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Texto principal */
.cta h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #111;
}

/* Botão principal */
.btn-cta {
  display: inline-block;
  background-color: #111;
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-3px);
}

/* === DECORAÇÕES DE PONTOS === */
.decor {
  position: absolute;
  width: 160px;
  height: 120px;
  background-size: 14px 14px;
  opacity: 0.12;
  z-index: 1;
}

.decor-left {
  bottom: 30px;
  left: 30px;
}

.decor-right {
  top: 40px;
  right: 40px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .cta h2 {
    font-size: 1.8rem;
  }

  .decor {
    display: none;
  }
}


/* === FOOTER === */
.footer {
  background-color: #1b1c1e;
  color: #fff;
  text-align: center;
  padding: 4rem 8%;
  position: relative;
  z-index: 10;
}

.footer .container {
  max-width: 900px;
  margin: 0 auto;
}

.footer h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #bfc3c6;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer .descricao {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* === SOCIAL LINKS === */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  background-color: #2563eb;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: #efff00;
  color: #111116;
  transform: scale(1.1);
}

/* === DIREITOS === */
.footer .direitos {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 0.5rem;
}

.footer .assinatura {
  font-size: 0.9rem;
  color: #888;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .footer h2 {
    font-size: 1.5rem;
  }

  .footer .descricao {
    font-size: 0.9rem;
  }
}

/* Botão para subir */
/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

/* Ícone */
.scroll-top i {
  font-size: 1.6rem;
}

/* Quando o botão está ativo */
.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Efeito hover */
.scroll-top:hover {
  background-color: #efff00;
  color: #000;
  transform: translateY(-3px);
}

/* Smooth scroll (global) */
:root {
  scroll-behavior: smooth;
}


/* Section Case/Posts em Destaque */

 /* ===== CASES DE DESTAQUE SECTION ===== */
    .cases-destaque-section {
        padding: 4rem 2rem;
        background-color: #faf8f2;
    }

    .cases-destaque-container {
        max-width: 1400px;
        margin: 0 auto;
    }

    .cases-destaque-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .cases-destaque-label {
        font-size: 0.875rem;
        color: #666666;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
        display: block;
    }

    .cases-destaque-title {
        font-size: 2.5rem;
        font-weight: 900;
        color: #1f1f1f;
        margin: 0;
    }

    .cases-destaque-carousel-wrapper {
        position: relative;
        width: 100%;
        margin: 0 auto;
    }

    .cases-destaque-carousel {
        display: flex;
        gap: 2rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 1rem 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: #FFFF00 #f5f5f5;
        -webkit-overflow-scrolling: touch;
    }

    /* Scrollbar para Chrome, Safari e Edge */
    .cases-destaque-carousel::-webkit-scrollbar {
        height: 6px;
    }

    .cases-destaque-carousel::-webkit-scrollbar-track {
        background: #f5f5f5;
        border-radius: 10px;
        margin: 0 20px;
    }

    .cases-destaque-carousel::-webkit-scrollbar-thumb {
        background: #FFFF00;
        border-radius: 10px;
        border: 2px solid #f5f5f5;
    }

    .cases-destaque-carousel::-webkit-scrollbar-thumb:hover {
        background: #e6e600;
    }

    .cases-destaque-item {
        flex: 0 0 auto;
        scroll-snap-align: center;
        min-height: 600px;
        border-radius: 12px;
        overflow: hidden;
        background-color: white;
        border: 1px solid #e0e0e0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .cases-destaque-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

    /* Card customizado */
    .cases-destaque-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 1.5rem;
        background-color: white;
        overflow-y: auto;
    }

    .cases-destaque-card-header {
        display: flex;
        gap: 1rem;
        margin-bottom: 1.5rem;
        align-items: flex-start;
        position: relative;
    }

    .cases-destaque-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
    }

    .cases-destaque-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cases-destaque-author {
        flex: 1;
        min-width: 0;
    }

    .cases-destaque-author h3 {
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
        color: #1f1f1f;
    }

    .cases-destaque-author p {
        margin: 0.25rem 0 0 0;
        font-size: 0.875rem;
        color: #666666;
    }

    .cases-destaque-date {
        font-size: 0.75rem;
        color: #999999;
        display: block;
        margin-top: 0.25rem;
    }

    .cases-destaque-linkedin-link {
        position: absolute;
        top: 0;
        right: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #f0f0f0;
        transition: all 0.3s;
        text-decoration: none;
    }

    .cases-destaque-linkedin-link:hover {
        background-color: #e0e0e0;
        transform: scale(1.1);
    }

    /* Carrossel de imagens */
    .cases-destaque-images-carousel {
        position: relative;
        margin-bottom: 1.5rem;
        border-radius: 8px;
        overflow: hidden;
        background-color: #f5f5f5;
    }

    .cases-destaque-images-container {
        position: relative;
        width: 100%;
        height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cases-destaque-images-container img {
        width: auto;
        height: 100%;
        object-fit: cover;
        position: absolute;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .cases-destaque-images-container img.active {
        opacity: 1;
        position: relative;
    }

    .cases-destaque-images-nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
        pointer-events: none;
        z-index: 10;
    }

    .cases-destaque-img-btn {
        pointer-events: all;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.8);
        border: none;
        cursor: pointer;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        color: #1f1f1f;
        font-weight: bold;
    }

    .cases-destaque-img-btn:hover {
        background-color: #FFFF00;
        transform: scale(1.1);
    }

    .cases-destaque-images-dots {
        position: absolute;
        bottom: 0.75rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 0.5rem;
        z-index: 11;
    }

    .cases-destaque-image-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.6);
        cursor: pointer;
        transition: all 0.3s;
    }

    .cases-destaque-image-dot.active {
        background-color: #FFFF00;
        width: 20px;
        border-radius: 3px;
    }

    .cases-destaque-card-content {
        flex: 1;
        margin-bottom: 1.5rem;
    }

    .cases-destaque-post-text {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.6;
        color: #1f1f1f;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .cases-destaque-post-text.expanded {
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .cases-destaque-read-more {
        background: none;
        border: none;
        color: #0A66C2;
        font-weight: 600;
        cursor: pointer;
        padding: 0.5rem 0;
        font-size: 0.875rem;
        transition: color 0.3s;
    }

    .cases-destaque-read-more:hover {
        color: #004182;
    }

    .cases-destaque-card-stats {
        display: flex;
        gap: 1.5rem;
        padding: 1rem 0;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 1rem;
    }

    .cases-destaque-stat {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        color: #666666;
    }

    .cases-destaque-stat-icon {
        font-size: 1.2rem;
    }

    .cases-destaque-stat-value {
        font-weight: 600;
        color: #1f1f1f;
    }

    .cases-destaque-card-link {
        display: inline-block;
        padding: 0.75rem 1.25rem;
        background-color: #000;
        color: #fff;
        text-decoration: none;
        border-radius: 6px;
        font-weight: 600;
        font-size: 0.875rem;
        transition: all 0.3s;
        text-align: center;
        border: 2px solid #000;
    }

    .cases-destaque-card-link:hover {
        background-color: #e6e600;
        border-color: #e6e600;
    }

    /* Indicadores de navegação */
    .cases-destaque-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
        flex-wrap: wrap;
    }

    .cases-destaque-indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #d0d0d0;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

    .cases-destaque-indicator:hover {
        background-color: #999999;
        transform: scale(1.2);
    }

    .cases-destaque-indicator.active {
        background-color: #FFFF00;
        width: 24px;
        border-radius: 4px;
        box-shadow: 0 0 8px rgba(255, 255, 0, 0.5);
    }

    /* ===== RESPONSIVO ===== */
    
    /* Desktop grande (1200px+) - 2 posts lado a lado */
    @media (min-width: 1200px) {
        .cases-destaque-item {
            width: calc(50% - 1rem);
        }
    }

    /* Tablet (768px - 1199px) - 1 post grande */
    @media (min-width: 768px) and (max-width: 1199px) {
        .cases-destaque-section {
            padding: 3rem 1.5rem;
        }

        .cases-destaque-title {
            font-size: 2rem;
        }

        .cases-destaque-item {
            width: calc(70% - 1rem);
        }
    }

    /* Mobile médio (480px - 767px) - 1 post em tela cheia */
    @media (min-width: 480px) and (max-width: 767px) {
        .cases-destaque-section {
            padding: 2rem 1rem;
        }

        .cases-destaque-title {
            font-size: 1.5rem;
        }

        .cases-destaque-item {
            width: 100%;
            min-height: 550px;
        }

        .cases-destaque-carousel {
            gap: 1rem;
        }

        .cases-destaque-card {
            padding: 1rem;
        }

        .cases-destaque-images-container {
            height: 200px;
        }
    }

    /* Mobile pequeno (< 480px) - 1 post otimizado */
    @media (max-width: 479px) {
        .cases-destaque-section {
            padding: 1.5rem 0.75rem;
        }

        .cases-destaque-label {
            font-size: 0.75rem;
            margin-bottom: 0.25rem;
        }

        .cases-destaque-title {
            font-size: 1.25rem;
        }

        .cases-destaque-item {
            width: 100%;
            min-height: 500px;
        }

        .cases-destaque-carousel {
            gap: 0.75rem;
        }

        .cases-destaque-card {
            padding: 1rem;
        }

        .cases-destaque-card-header {
            margin-bottom: 1rem;
        }

        .cases-destaque-post-text {
            font-size: 0.875rem;
        }

        .cases-destaque-card-stats {
            gap: 1rem;
            padding: 0.75rem 0;
        }

        .cases-destaque-images-container {
            height: 180px;
        }

        .cases-destaque-img-btn {
            width: 32px;
            height: 32px;
            font-size: 1.2rem;
        }
    }

    /* Ajustes para altura dinâmica */
    @media (max-height: 800px) {
        .cases-destaque-item {
            min-height: 500px;
        }

        .cases-destaque-images-container {
            height: 200px;
        }
    }

    @media (max-height: 600px) {
        .cases-destaque-item {
            min-height: 450px;
        }

        .cases-destaque-images-container {
            height: 150px;
        }
    }