/* ------------------------- */
/* CONFIGURAÇÕES INICIAIS   */
/* ------------------------- */
:root{
    font-size: 10px;
  --main-color: #fece00;
  --black-color: #131313;
  --white-color: #ffffff;
  --back-ground: #121418 ;   
  --border: 0.1rem solid rgba(255, 255, 255, 0.3); 
}

/* reset simples */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
}

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

/* aumenta espaço no final da página */
body {
    padding-bottom: 300px; 
    position: relative;
    overflow-x: hidden;
}

/* ------------------------- */
/* VÍDEO DE FUNDO            */
/* ------------------------- */
.caixa-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.caixa-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mascara {
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background: linear-gradient(
    109deg,
    rgba(10,12,16,0.99) 15%, 
    rgba(10,12,16,0.7) 51.8%, 
    rgba(10,12,16,0.99) 91.5%
  );
}

/* ------------------------- */
/* CABEÇALHO                 */
/* ------------------------- */




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

nav ul li {
    display: inline-block;  
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  background-color: var(--back-ground);
  border-bottom: var(--border);
  width: 100%;
  left: 0;
  right: 0;
}

.topo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem 3rem;
}

.topo img {
  height: 4rem;
  align-items: left ;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* MENU */
.menu{
  display: flex;
  gap: 2rem;
}

.menu a {
  display: flex;
  gap: 2rem;
  list-style: NONE;
  margin: 0 2rem;
  font-size: 1.8rem;
  color: var(--white-color);
  font-weight: 600;
  transition: 0.1s linear;
}

.menu a:hover {
  color: var(--main-color);
  border-bottom: 0.1rem solid var(--main-color);
  padding-bottom: 0.5rem;
}


.conteudo {
  position: relative;
  z-index: 2;
  padding: 20rem 0 0rem;
  color: var(--white-color);
}

/* ------------------------- */
/* first-text                      */
/* ------------------------- */


.hero .container {

  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.conteudo .hero .container p span {
  margin-bottom: 1rem;
  color: var(--main-color);
}

.hero .container h3 {
  font-size: 6rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color:var(--white-color);
}

.hero .container p {
  color: var(--white-color);
  max-width: 900px;
  font-size: 2rem;
  font-weight: 300;
  padding: 1rem 0;
  line-height: 1.8;
}

/* Botão realize seu projeto */
.botao-link {
  background-color: var(--main-color);
  cursor: pointer;
  margin-top: 1rem;
  font-size: 2rem;
  color: var(--black-color);
  padding: 1rem 3rem;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
  transition: 0.3s ease; 
}

.hero .container a:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px var(--main-color);
  filter: brightness(1.2);
}

/* ------------------------- */
/* SOBRE NÓS                 */
/* ------------------------- */
.sobre
{
  position: relative;
  z-index: 2;
  padding: 0rem 0 0rem;
}
.titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: var(--white-color);
}

.titulo span {
  font-size: 4rem;
  padding: 0 1rem;
  text-transform: uppercase;
  color: var(--main-color);
}

/* GRID SOBRE */
.sobre .sobre-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0rem;
  background-color: var(--back-ground);
  padding: 2rem 0rem 2rem 2rem;
  align-items: center;
}

.sobre-texto p {
  color: var(--white-color);
  font-size: 2.4rem;
  line-height: 1.8;
  padding: 0rem 0rem 3rem 0rem;
    font-weight: 300;
  letter-spacing: 0.5px;
}
.sobre-texto p span {
  margin-bottom: 1rem;
  color: var(--main-color);
text-transform: uppercase;
}
.sobre-img img {
  width: 90%;
  height: auto;
  border-radius: 6px;
}

.sobre-texto h2 {
  color: var(--white-color);
  font-size: 2.4rem;
  line-height: 1.8;
  padding: 0rem 0rem 1rem 0rem;
    font-weight: 300;
  letter-spacing: 0.5px;
}

/* BOTÃO Saiba mais */
.btn {
  display: inline-block;
  margin-top: 0rem;
  padding: 1rem 3rem;
  background: var(--main-color);
  font-size: 1.7rem;
  color: var(--black-color);
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn:hover {
  transform: scale(1.2);
  box-shadow: 0 0 18px var(--main-color);
  filter: brightness(1.15);
}


/* === MENU MOBILE === */

/* Fundo com blur ao abrir o menu */
body.menu-aberto::before {
  content: "";
  position: fixed;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.4);
  z-index: 2;
}

/* Botão hamburguer */
.toggle_btn {
  display: none;
  font-size: 3.2rem;
  color: white;
  z-index: 5;
  cursor: pointer;
  position: absolute;
  left: 2rem;
  top: 2.5rem;
}

/* Efeito de hambúrguer */
.toggle_btn.active i {
  transition: 0.3s ease;
  transform: rotate(90deg);
}

 /*DROPDOWN MENU*/
.dropdown_menu {
  position: fixed;
  top: 8rem;
  left: 0;
  width: 100%;
  background: rgba(18, 20, 24, 0.95);
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  z-index: 4;

  display: flex;
  justify-content: center;

  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.35s ease;
}
.dropdown_menu ul {
  list-style: none;
  padding: 0;
  width: 100%;
}

.dropdown_menu li {
  text-align: center;
  padding: 1.6rem 0;
}

/* Estado quando aberto */
.dropdown_menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown_menu a {
  color: white;
  font-size: 2rem;
  font-weight: 500;
  transition: 0.3s ease;
}

.dropdown_menu a:hover {
  color: var(--main-color);
}

/* ===== FAIXA DE DESTAQUES ===== */
.faixa-destaques {
  margin-top: 15rem;
    margin-bottom: 15rem;
  width: 100%;
  background: #0c0c0c;
  padding: 5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  max-width: 100%;
  overflow: hidden;
}

.destaques-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
  text-align: center;
}

.destaque-item p,
.destaque-texto p {
  font-weight: 300;
  letter-spacing: 0.5px;
}

.destaque-item {
  flex: 2;
  min-width: 220px;

}

.destaque-numero {
  font-size: 8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--main-color);
  text-shadow: 0 0 25px var(--main-color);
      filter: brightness(3);
}


.destaque-item p {
  font-size: 1.8rem;
  color: white;
  margin-top: 0.5rem;
}

.destaque-texto {
  min-width: 280px;  
  
  grid-column: 1 / -1; /* ocupa as duas colunas */
  margin-top: 2rem;
}

.destaque-texto p {
  font-size: 2rem;
  color: #e0e0e0;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}


/* ===== NOSSOS CLIENTES ===== */

.faixa-clientes {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 5rem 1.5rem;
}

.clientes {
  padding: 6rem 2rem;
  background: var(--back-ground);
}

.clientes-logos {
  max-width: 1200px;
  margin: 4rem auto 0;

  display: flex;
  justify-content: center;   
  align-items: center;
  gap: 4rem;                
  flex-wrap: wrap;          
}


.clientes-logos img {
  border-radius: 20px;
  max-width: 160px;
  width: 100%;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.clientes-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ===== ANIMAÇÃO FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* ------------------------- */
/* RODAPE                 */
/* ------------------------- */

/* Rodape */
#footerFinal {
    width: 100%;
    background: #0c0c0c; 
    padding: 40px 0;
    color: white;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s ease;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Container principal */
.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* Contatos lado a lado */
.footer-contatos {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

/* Cada item de contato */
.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    width: 22px;
    height: 22px;
}

.footer-item a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
}

.footer-item a:hover {
    text-decoration: underline;
}

/* Frase */
.footer-frase {
    font-size: 2rem;
    font-style: italic;
    color: #e3e3e3;
    max-width: 800px;
    line-height: 1.6;
        font-weight: 300;
  letter-spacing: 0.5px;
}



.whatsapp-float {
    position: fixed;

  width: 56px;
  height: 56px;

  bottom: 16px;
  right: 16px;

    background-color: #25D366;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 4px 10px rgba(0,0,0,0.3);

    z-index: 10000;
}

.whatsapp-float img {
    width: 38px;
    height: 38px;
}

/* Efeito de brilho no hover */
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 0 18px #25D366;
}

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: 15rem 2rem 8rem;
  position: relative;
  z-index: 2;
}

.portfolio-grid {
  max-width: 1200px;
  margin: 6rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  align-items: start;
}

.portfolio-item {
  text-align: center;
}

.portfolio-item img {
  width: 100%;
  border-radius: 10px;
}

/* imagem central em destaque */
.portfolio-item.destaque {
  transform: translateY(-30px);
}

.portfolio-btn {
  margin-top: 2rem;
  width: 100%;
  padding: 1.3rem;
  background: linear-gradient(135deg, #fece00, #f5b800);
  color: var(--black-color);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.portfolio-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transition: all 0.6s ease;
}

.portfolio-btn:hover::before {
  left: 120%;
}

.portfolio-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(254, 206, 0, 0.4);
  filter: brightness(1.05);
}

/* ===== EFEITO CASCATA ===== */
.portfolio-detalhes {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  margin-top: 1.5rem;
}

.portfolio-detalhes p {
  background: rgba(18, 20, 24, 0.95);
  border-left: 4px solid var(--main-color);
  padding: 1.8rem;
  border-radius: 6px;
  font-size: 1.6rem;
  line-height: 1.7;
  font-weight: 300;
  color: #e6e6e6;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.35s ease;
}

/* estado aberto */
.portfolio-item.ativo .portfolio-detalhes {
  max-height: 350px;
}

.portfolio-item.ativo .portfolio-detalhes p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NOSSO ÚLTIMO PROJETO (EDITORIAL) ===== */
.ultimo-projeto {
  padding: 14rem 2rem;
  background: var(--back-ground);
  position: relative;
  z-index: 2;
}
.projeto-editorial {
  max-width: 1100px;
  margin: 6rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* Bloco horizontal */
.projeto-bloco {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: center;
}

/* Destaque central */
.projeto-bloco.destaque {
  grid-template-columns: 320px 1fr;
}

/* Imagem pequena */
.projeto-img img {
  width: 100%;
  border-radius: 10px;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.projeto-bloco:hover .projeto-img img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* Texto */
.projeto-texto h3 {
  font-size: 2.6rem;
  color: var(--white-color);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.projeto-texto span {
  display: block;
  font-size: 1.4rem;
  color: var(--main-color);
  letter-spacing: 2px;
  margin-bottom: 1.4rem;
}

.projeto-texto p {
  font-size: 1.7rem;
  line-height: 1.8;
  color: #e0e0e0;
  font-weight: 300;
  max-width: 650px;
}

/* ===== CARROSSEL CENTRAL FIXO ===== */

.carousel-container {
  max-width: 1100px;
  margin: 6rem auto 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* base */
.carousel-item {
  position: absolute;
  width: 260px;
  opacity: 0;
  transform: translateX(0) scale(0.85);
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s ease;
  pointer-events: none;
}

.carousel-item img {
  width: 100%;
  border-radius: 12px;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.carousel-item.active {
  width: 380px;
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 3;
  pointer-events: auto;
}

.carousel-item.active img {
  filter: grayscale(0%);
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

/* ESQUERDA */
.carousel-item.prev {
  transform: translateX(-320px) scale(0.85);
  opacity: 0.5;
}

/* DIREITA */
.carousel-item.next {
  transform: translateX(320px) scale(0.85);
  opacity: 0.5;
}

/* DESCRIÇÃO */
.carousel-desc {
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.carousel-item.active .carousel-desc {
  opacity: 1;
  transform: translateY(0);
}

/* BOTÕES */
.carousel-btn {
  background: rgba(254,206,0,0.9);
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  z-index: 5;
  transition: all 0.3s ease;
}

.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }

.carousel-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px var(--main-color);
}

/* ===== DESCRIÇÃO COM FUNDO ESCURO ===== */

.carousel-desc-area {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  min-height: 140px;
  position: relative;
}

/* Caixa escura */
.carousel-desc {
  max-width: 460px;
  background: rgba(12,12,12,0.95);
  padding: 2.4rem;
  border-radius: 12px;
  border-left: 4px solid var(--main-color);

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.45s ease;

  position: absolute;
  pointer-events: none;
  text-align: center;
}

/* Texto */
.carousel-desc h3 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.carousel-desc p {
  font-size: 1.6rem;
  color: #e2e2e2;
  line-height: 1.7;
  font-weight: 300;
}

/* Só aparece no item ativo */
.carousel-desc.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}


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

  /* HEADER */
  /*navbar*/

   .menu {
    display: none;
  }

  .topo {
    justify-content: center;
    position: relative;
  }

.toggle_btn {
    display: block;
  }

  .caixa-video,
  .caixa-video video {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
  }


    .whatsapp-float {
    width: 56px;
    height: 56px;

    right: 12px;
    bottom: 12px;
  }

  .whatsapp-float img {
    width: 32px;
    height: 32px;
  }
  

  /* first-text */
  .hero .container {
    width: 100%;
    padding: 12rem 2rem 2rem;
    text-align: center;
  }

  .hero .container h3 {
    font-size: 2.8rem;
  }

  .hero .container p {
    font-size: 1.6rem;
    max-width: 100%;
  }

  .botao-link {
    font-size: 1.5rem;
    padding: 1rem 2rem;
  }

  /* SOBRE - vira 1 coluna */
  .sobre .sobre-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  /* Destaques - mobile */
.destaques-container {
    grid-template-columns: 1fr;
  gap: 3rem;
}

.destaque-numero {
  font-size: 4.5rem;
}

.destaque-texto p {
  font-size: 1.6rem;
}

/* Clientes - mobile */

 /* Título clientes em coluna */
  .faixa-clientes .titulo {
    flex-wrap: wrap;          
    font-size: 2.6rem;
    line-height: 1.2;
    max-width: fit-content;
  }

  .faixa-clientes .titulo span {
    font-size: 2.6rem;
    padding: 0 0.6rem;
  }


.clientes-logos {
  grid-template-columns: repeat(2, 1fr);
}

  .projeto-bloco,
  .projeto-bloco.destaque {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .projeto-texto p {
    max-width: 100%;
  }

    .footer-contatos {
        flex-direction: column;
        gap: 15px;
    }

    .footer-frase {
        font-size: 1.4rem;
    }

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

  .portfolio-item.destaque {
    transform: none;
  }

  .carousel-item.prev {
    transform: translateX(-200px) scale(0.8);
  }

  .carousel-item.next {
    transform: translateX(200px) scale(0.8);
  }

  .carousel-item.active {
    width: 260px;
  }

  .container .titulo {
    flex-wrap: wrap;          
    font-size: 2.6rem;
    line-height: 1.2;
    max-width: fit-content;
}
.container .titulo span {
    font-size: 2.6rem;
    padding: 0 0.6rem;
  }

}

