@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* ==========================================
   Botão WhatsApp (no canto inferior central)
============================================= */

.whatsapp-btn {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    z-index: 5000;
    height: 45px;
    width: 45px;
}

/* ==============================
   Barra de rolagem personalizada
================================= */

/* Tamanho da barra */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Fundo da trilha */
::-webkit-scrollbar-track {
  background: #272727;
  border-radius: 10px;
}

/* Parte móvel (thumb) */
::-webkit-scrollbar-thumb {
  background-color: #43ABAD;
  border-radius: 10px;
}

/* Hover do thumb */
::-webkit-scrollbar-thumb:hover {
  background-color: #56c8ca;
}

/* PINTAR as setas/ botões no mesmo cinza do fundo */
::-webkit-scrollbar-button,
::-webkit-scrollbar-button:vertical,
::-webkit-scrollbar-button:horizontal,
::-webkit-scrollbar-button:down,
::-webkit-scrollbar-button:up,
::-webkit-scrollbar-button:left,
::-webkit-scrollbar-button:right {
  background-color: #272727 !important;
  background-image: none !important; /* tentar remover ícone nativo, se houver */
  border: none !important;
  width: 6px !important;
  height: 6px !important;
  min-width: 6px;
  min-height: 6px;
  display: block;
}

/* Canto da janela (caso apareça) */
::-webkit-scrollbar-corner {
  background: #272727;
}

/* Compatibilidade Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #43ABAD #272727;
}

/* Oculta a barra até interação */
body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

body:hover::-webkit-scrollbar {
  width: 6px;
  transition: width 0.25s ease;
}

/* =========================================
   Padronizar tamanhos dos blocos de idiomas
============================================ */

/* Garantir que apenas as colunas que contêm .services3 sejam afetadas */
.services3-container .row {
    display: flex;
    flex-wrap: wrap;
}

.services3-container .col-lg-4,
.services3-container .col-md-6 {
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

/* ======= Services 3 ======= */
.services3 {
    text-align: left;
    margin-bottom: 0; /* Remover margem inferior para não afetar o espaçamento */
    padding: 40px;
    padding-bottom: 0;
    background: #323232;
    border-bottom: 1px solid #323232;
    transition: .2s;
    overflow: hidden;
    cursor: pointer;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%; /* Garantir que ocupe toda a largura da coluna */
    box-sizing: border-box;
}

.services3:hover {
    background: #323232;
    z-index: 100;
    border-bottom: 1px solid #43ABAD;
}

.services3-text-area p {
    transition: .25s;
    font-family: inherit !important;
    opacity: 0;
    color: #999;
    margin-bottom: -35px;
}

.services3:hover .services3-text-area p {
    opacity: 1;
}

.services3-img-area,
.services3-text-area {
    display: inline-block;
    vertical-align: bottom;
    transition: transform .2s ease-in-out;
}

.services3-heading {
    font-family: 'Yu Gothic UI Light', sans-serif;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 300;
}

.services3-img-area {
    font-size: 42px;
    color: #43ABAD;
    margin-bottom: 20px;
    margin-right: 0;
    width: 100%;
    transition: all 200ms ease-in-out;
}

.services3:hover .services3-text-area,
.services3:hover .services3-img-area {
    transform: translate3d(0, -67px, 0);
}

.services3:hover .services3-img-area {
    opacity: 0;
}

.services3 .services3-img-area img {
    margin-bottom: 5px;
    max-height: 40px;
    width: auto;
}

/* Garantir que o conteúdo interno também ocupe o espaço disponível */
.services3-text-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ==============================
   Mensagem de Alerta - Portfólio
================================= */

.alert {
  background-color: #3d3d3d;
  color: #d8d8d8;
  padding: 16px 20px;
  margin-top: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;

  border: 1px solid #4b4b4b; /* borda sutil */
  
  opacity: 0;
  transform: translateY(4px);
  animation: alertEnter .35s ease forwards;
  transition: background-color .25s ease, border-color .25s ease;
}

/* Ícone */
.alert .icon {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-top: 2px;
  color: #43ABAD;
}

/* Hover clean */
.alert:hover {
  background-color: #434343;
  border-color: #5a5a5a;
}

/* Animação de entrada */
@keyframes alertEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}