/* Reset e estilo base */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  color: #121212;
  background-color: #fff;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  color: #121212;
}

/* Nav centro - logo */
.nav-center ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.logo-img {
  height: 55px;
  /* ajuste o tamanho como preferir */
  width: auto;
  display: block;
}

/* Nav direita - links */
.nav-right ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin-right: 10px;
  align-items: center;
  /* centraliza verticalmente todos os itens */
}

.nav-right ul li a {
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  color: #56585e;
  display: flex;
  align-items: center;
  /* centraliza verticalmente o texto */
}

.nav-right ul li a:hover {
  color: #F6AA12;
}



.user-initial {
  pointer-events: none;
  /* para não interferir no clique */
}



/* ============================
   HERO (Header)
============================= */

.hero {
  width: 100%;
  padding: 80px 0;
}

.hero-container {
  max-width: 1300px;
  width: 90%;
  margin: 0 auto;
  display: flex;

  justify-content: space-between;
  gap: 50px;

}

/* TEXTO */
.hero-text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* tudo alinhado à esquerda */
  text-align: left;
  padding-left: 50px;
  /* substitui todos os margin-left */
}

/* TÍTULO */
.hero-text h1 {
  margin-top: 18%;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
  color: #121212;
}

/* PARÁGRAFO */
.hero-text p {
  max-width: 450px;
  font-size: 16px;
  line-height: 1.6;
  color: #56585e;
  margin-bottom: 30px;
}

/* BOTÃO */
.hero-button {
  font-family: 'Poppins', sans-serif;
  display: inline-block;
  padding: 14px 28px;
  width: 220px;
  text-align: center;
  background-color: #F7B731;
  color: white;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}


.hero-button:hover {
  background-color: #F6AA12;
  /* cor ao passar o mouse */
  transform: translateY(-1px);
  /* leve animação */
}

/* IMAGEM */
.hero-image img {
  margin-right: 50px;
  width: 400px;
  height: auto;
  object-fit: contain;
  user-select: none;
}




/* texto nosso serviço */

.hero-container:nth-of-type(2) .hero-text h1 {
  margin-top: 100px;
  font-size: 30px;
}


/* colunas com descrição do serviço */



.features {
  max-width: 1300px;
  width: 90%;
  margin: 40px auto;
  display: flex;
  justify-content: space-around;
  gap: 10px;
}


.feature-item {
  text-align: left;
  max-width: 220px;
  /* Limite de largura para que o texto não fique esticado */
  color: #56585e;

}

.feature-item img {
  text-align: center;
  /* Centraliza o texto dentro do item */
  margin: 0 auto;
  width: auto;
  height: 30px;
  margin-bottom: 20px;

}

.feature-item p {
  font-weight: 400;
  /* peso normal do texto */
  font-size: 15px;
  color: #56585e;
  line-height: 1.5;
}

.feature-item p strong {
  font-weight: 600;
  /* negrito mais leve, elegante */
  color: #121212;
  /* destaque sutil */
}




/* serviço de aplicativo mobile */

.solution-list {
  list-style: none;
  padding: 0;
  margin: 10px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-list p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #70727a;
  line-height: 1.6;
}



.solutions {
  padding: 80px 5%;
  background-color: #ffffff;
}


.solutions-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 colunas */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}


.solution-card {
  /* cor igual da imagem */
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  width: 100%;
  max-width: 520px;
  border: 1px solid #e6e6e6;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-image {
  margin-bottom: 30px;
}

.solution-card:nth-child(2) img {
  width: 270px;
}

.solution-card:nth-child(3) img {
  width: 270px;
}


.solution-image img {
  width: 180px;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}

.solution-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #121212;
  margin-bottom: 0;
}


.btn-solution {
  font-family: 'Poppins', sans-serif;
  display: inline-block;
  padding: 14px 28px;
  width: 220px;
  text-align: center;
  background-color: white;
  border: 1px solid #e2e2e2;
  color: #70727a;
  font-size: 13px;
  font-weight: 400;
  margin-top: 5px;
  cursor: pointer;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn-solution:hover {
  transform: translateY(-4px);
  color: #56585e;
  border: 1px solid #b3b3b3;
}



/* Botão flutuante (FAB) */
.fab {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, #F6AA12, #F6AA12, #F7B731);
  /* ajuste cor */
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(6, 20, 38, 0.18);
  cursor: pointer;
  z-index: 1200;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s;
  -webkit-tap-highlight-color: transparent;

  /* 👇 Adiciona animação de pulso */
  animation: fab-pulse 2.5s infinite ease-in-out;
}

/* hover / active / focus */
.fab:hover {
  transform: translateY(-4px) scale(1.05);
}

.fab:active {
  transform: translateY(-1px);
}

.fab:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.14), 0 12px 30px rgba(6, 20, 38, 0.18);
  border-radius: 50%;
}

/* SVG dentro do botão */
.fab svg {
  display: block;
  fill: currentColor;
}

/* badge de notificações (opcional) */
.fab-badge {
  font-family: 'Poppins';
  position: absolute;
  top: 12px;
  right: 10px;
  width: 5px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3b30;
  font-weight: 500;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);

  /* 👇 animação leve na badge */
  /* animation: badge-bounce 3s infinite ease-in-out; */
}

/* Ícone dentro do botão */
.fab-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* deixa a imagem branca (opcional) */
}

/* ===== ANIMAÇÕES ===== */
@keyframes fab-pulse {
  0% {
    box-shadow: 0 0 0 0 #ffd271;
  }

  70% {
    box-shadow: 0 0 0 20px rgba(255, 193, 70, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 70, 0);
  }
}

@keyframes badge-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* tamanhos menores em telas pequenas */
@media (max-width: 480px) {
  .fab {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

  .fab-badge {
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    line-height: 18px;
  }
}

/* Suporte para sites RTL (direção direita->esquerda) */
:root[dir="rtl"] .fab {
  right: auto;
  left: 24px;
}


/* ACEITO COOKIES */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #f9f9f9;
  color: #56585e;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.5rem;
  max-width: 600px;
  width: calc(100% - 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 14px;
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.4;
  flex: 1;
  text-align: left;
}

.cookie-banner a {
  color: #0056b3;
  text-decoration: underline;
}

.cookie-btn {
  background: #F7B731;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: #F6AA12;
}

/* Quando o checkbox for marcado, o banner some */
#fechar-cookie:checked+.cookie-banner {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
}

/* Responsivo para telas menores */
@media (max-width: 600px) {
  .cookie-banner {
    font-size: 13px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner button {
    align-self: flex-end;
  }
}

/* RODAPÉ */

.site-footer {
  background: #fff;
  margin-top: 80px;
  font-family: 'Poppins';
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}




.footer-brand p {
  font-size: 14px;
  width: 90%;
  margin: 0;
  color: #56585e;
  margin-bottom: 20px;
  line-height: 1.5;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 40px;
}

.footer-title {
  font-size: 14px;
  font-weight: 500;
  color: #121212;

}

.social-images {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-images img {
  width: 28px;
  /* ajuste se quiser maior */
  height: 28px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-images img:hover {
  transform: scale(1.1);
}


.footer-social a {
  margin-right: 10px;
  font-size: 14px;
  text-decoration: none;
  color: #121212;
}

.footer-column h4 {
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 500;
}


.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  text-decoration: none;
  color: #56585e;
  font-size: 14px;
}

.footer-column a:hover {
  color: #121212;
  font-weight: 500;
}



.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #56585e;
}

.contact-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}


.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding: 15px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #56585e;
}

.footer-links a {
  margin-left: 15px;
  text-decoration: none;
  color: #56585e;
}

.footer-links a:hover {
  color: #121212;
  font-weight: 500;
}

/* RESPONSIVO */
@media (max-width: 600px) {

  .footer-container {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 colunas */
    gap: 25px 20px;

    /* NOVA ORDEM (invertida conforme pedido) */
    grid-template-areas:
      "brand contato"
      "navegar servicos";
  }

  .footer-brand p {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    padding: 15px 0;
    gap: 10px;
    text-align: center;
    width: 90%;
    margin: 0 auto;
  }
}

/* RESPONSIVO */
@media (max-width: 600px) {
  .footer-container {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 colunas */
    gap: 20px 20px;
    padding: 20px 0;
  }

  /* assumindo a estrutura DOM: 1=brand, 2=navegar, 3=servicos, 4=contato */
  .footer-container> :nth-child(1) {
    /* Sobre nós */
    grid-column: 1;
    grid-row: 1;
    order: 0;
  }

  .footer-container> :nth-child(2) {
    /* Navegar */
    grid-column: 1;
    grid-row: 2;
    order: 2;
  }

  .footer-container> :nth-child(3) {
    /* Serviços */
    grid-column: 2;
    grid-row: 2;
    order: 3;
  }

  .footer-container> :nth-child(4) {
    /* Contato */
    grid-column: 2;
    grid-row: 1;
    order: 1;
  }

  /* pequenos ajustes visuais */
  .footer-container h4,
  .footer-container p,
  .footer-container a {

    font-size: 13px;
    text-align: left;
  }



  .footer-brand {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centraliza conteúdo interno */
    justify-content: center;
  }

  /* Centraliza qualquer parágrafo */
  .footer-brand p {
    text-align: center !important;
    width: 100%;
    margin: 0 auto;
  }

  /* Centraliza imagens dentro dela */
  .footer-brand img {
    display: block;
    margin: 0 auto;
  }


  .footer-column h4,
  .footer-brand h4 {
    width: 100%;
    text-align: center !important;
    /* força a centralização */
    margin: 0 auto;
    margin-bottom: 10px;
  }


  /* Centraliza cada coluna */
  .footer-column,
  .footer-brand {
    text-align: center;
  }


  /* Centraliza as listas dentro das colunas */
  .footer-column ul,
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centraliza os itens */
    width: 100%;
  }



  .footer-contact li {
    font-size: 13px;
    /* texto dos itens */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-contact li img {
    margin-right: 6px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 12px 0;
    width: 90%;
    margin: 0 auto;
  }

  /* Título da coluna */
  .footer-brand h4 {
    margin-top: 0 !important;
    visibility: hidden;
    /* esconde sem ocupar espaço de texto */
    position: relative;
  }




  .footer-brand h4::after {
    content: "Redes";
    /* novo título */
    visibility: visible;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    /* centraliza perfeitamente */
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0;
  }

  /* Ocultar o texto abaixo */
  .footer-brand p {
    display: none;
  }


  .footer-brand .social-images img {
    margin-top: -20px;
    width: 24px;
    height: 24px;
  }



}


/*  */

#login-area {
  transition: opacity 0.15s ease;
}



/* ===============================
   RESPONSIVO ADICIONAL
================================ */

/* NAVBAR - em telas pequenas */


/* HERO */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 0 10px;
  }

  .hero-text {
    padding-left: 0;
    align-items: center;
  }

  .hero-text h1 {
    width: 80%;
    text-align: center;
    font-size: 24px;
    margin-top: 20px;
  }

  .hero-text p {
    text-align: center;
    font-size: 14px;
    max-width: 80%;
  }

  .hero-button {
    width: 50%;
    font-size: 13px;

  }

  .hero-image img {
    display: none;
  }
}

/* FEATURES - ícones */
@media (max-width: 768px) {
  .features {

    margin-top: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .feature-item {

    max-width: 250px;
    text-align: center;
  }


  .feature-item p {
    font-size: 13px;
  }

}


/* SOLUÇÕES - cards */
@media (max-width: 768px) {
  .solutions-container {
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }


  .hero-container:nth-of-type(2) .hero-text h1 {
    margin-top: 60px;
    font-size: 20px;
    margin-bottom: 10px;
  }


  .solution-card h3 {
    font-size: 16px;
  }

  .solution-card {
    padding: 20px;
  }

  .solution-image img {
    width: 120px;

  }


  .solution-card:nth-child(2) img {
    width: 150px;
  }

  .solution-card:nth-child(3) img {
    width: 150px;
  }




  .btn-solution {
    width: 100%;
    max-width: 180px;
  }
}





/* TELA MUITO PEQUENA */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 13px;
  }

  .hero-button {
    font-size: 13px;
    padding: 12px 20px;
  }

  .feature-item p {
    font-size: 13px;
  }

  .solution-card h3 {
    font-size: 18px;
  }

  .solution-card p {
    font-size: 13px;
  }

  .btn-solution {
    font-size: 12px;
    padding: 10px 18px;
  }

  .footer-container {
    padding: 15px 10px;
    gap: 15px;
  }

  .footer-column h4 {
    font-size: 13px;
  }

  .footer-column li {
    font-size: 12px;
  }
}