:root {
  --azul: #196EFF;
  --verde: #B5FA12;
  --laranja: #FFA64D;
  --azulNovo: #bde3f8;
}

html {
  scroll-behavior: smooth;
}


/* === CORRIGE DEGRADÊ GLOBAL EM TODAS AS PÁGINAS === */
body {
  background: linear-gradient(to bottom, #bde3f8 0%, #ffffff 100%);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  color: #333;
  overflow-x: hidden;
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #bde3f8;/* rgba(25, 110, 255, 0.85); /* translúcido */
  color: #000;/* fff; */
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px); /* leve desfoque no fundo */
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

/* Menu - estilo padrão */
header nav ul li a {
    color: #000/* white; */
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

/* Efeito de hover: cor + sublinhado animado */
header nav ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: var(--azul)/*yellow;  cor do sublinhado */
    transition: width 0.3s ease;
}

header nav ul li a:hover::after {
    width: 100%;
}

header nav ul li a:hover {
    color: yellow; /* cor do texto ao passar o mouse */
}

/* Link ativo */
header nav ul li a.active {
    color: yellow;
}

header nav ul li a.active::after {
    width: 100%;
}

/* HEADER FIXO APÓS ROLAR */
header.scrolled {
  background: var(--azul); /* azul sólido */
  backdrop-filter: blur(0);
}

/* === ESTILO DO MENU === */
#menu {
  display: flex;
  gap: 20px;
}

#menu a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* EFEITO DE SUBLINHADO ANIMADO */
#menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--azul);
  transition: width 0.3s ease;
}

/* AO PASSAR O MOUSE */
#menu a:hover {
  color: var(--laranja);
}

#menu a:hover::after {
  width: 100%;
}

/* LINK ATIVO */
#menu a.active {
  border-bottom: 2px solid #196EFF;
  color: #000;
  /* font-weight: 500; */
}

#menu a.active::after {
  width: 100%;
  background-color: var(--azul);
}

/* --- HERO --- */
.hero {
  text-align: center;
  padding: 100px 60px;
  background: linear-gradient(180deg, var(--azulNovo), #ffffff);
  color: #000;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* --- BOTÃO DE AGENDAMENTO COM EFEITO PULSAR --- */
.hero .btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 15px 10px;
  border-radius: 50px; /*Era 8px*/
  border: none;
  background: var(--azul);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  animation: pulseGlow 2.5s infinite ease-in-out;
  box-shadow: 0 0 0 rgba(25, 110, 255, 0.6);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(25, 110, 255, 0.25);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(25, 110, 255, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(25, 110, 255, 0.6);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 rgba(25, 110, 255, 0.5);
    transform: scale(1);
  }
}

/* --- SEÇÕES COM FADE AO ROLAR --- */
section.fade {
  /* padding: 20px 20px; */
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.card {
  /* background: #f5f5f5; */
  background: linear-gradient(180deg, var(--azulNovo), #ffffff);
  border-radius: 12px;
  width: 200px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}



.icon {
  font-size: 48px;
  object-fit: contain; /* garante proporção */
  /*color: var(--azul);*/
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 15px 10px;
  border-radius: 50px; /*Era 8px*/
  border: none;
  background: var(--azul);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  animation: pulseGlow 2.5s infinite ease-in-out;
  box-shadow: 0 0 0 rgba(25, 110, 255, 0.6);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(25, 110, 255, 0.25);
}

.btn.contato {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.btn:hover { opacity: 0.8; }

/* Botão WhatsApp como imagem */
.btn.whats {
    display: inline-block;
    background: none;
    width: 45px;           /* largura do botão */
    height: 45px;          /* altura do botão */
    background-image: url('img/WhatsApp.webp'); /* coloque o caminho da sua imagem */
    background-size: cover;   /* ajusta a imagem para cobrir todo o botão */
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    padding: 10px 10px;
    text-decoration: none;  /* remove sublinhado se for <a> */
}

/* Efeito hover opcional */
.btn.whats:hover {
    transform: scale(1.1);   /* aumenta o botão levemente */
    transition: transform 0.2s ease-in-out;
}


/* Botão Instagram como imagem */
.btn.insta {
    display: inline-block;
    background: none;
    width: 45px;           /* largura do botão */
    height: 45px;          /* altura do botão */
    background-image: url('img/Instagram.webp'); /* coloque o caminho da sua imagem */
    background-size: cover;   /* ajusta a imagem para cobrir todo o botão */
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    padding: 10px 10px;
    text-decoration: none;  /* remove sublinhado se for <a> */
}


/* Efeito hover opcional */
.btn.insta:hover {
    transform: scale(1.1);   /* aumenta o botão levemente */
    transition: transform 0.2s ease-in-out;
}

/* Botão Email como imagem */
.btn.email {
    display: inline-block;
    background: none;
    width: 45px;           /* largura do botão */
    height: 45px;          /* altura do botão */
    background-image: url('img/e-mail.webp'); /* coloque o caminho da sua imagem */
    background-size: cover;   /* ajusta a imagem para cobrir todo o botão */
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    text-decoration: none;  /* remove sublinhado se for <a> */
}


/* Efeito hover opcional */
.btn.email:hover {
    transform: scale(1.1);   /* aumenta o botão levemente */
    transition: transform 0.2s ease-in-out;
}

.img-responsiva {
  width: 100%;
  height: auto;
  max-width: 150px; /* opcional */
  border-radius: 10px; /* opcional */
  display: block;
  margin: 0 auto;
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.service-card {
    background-color: #f5f5f5;
    padding: 20px;
    flex: 1 1 300px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-card h3 {
    margin-top: 0;
}

.service-card a {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.service-card a:hover {
    color: #0056b3;
}

footer {
  background: var(--azul);
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

/* --- FADE-IN INICIAL DO HEADER E HERO --- */
.fade-in-load.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* === SEÇÃO MINHA FORMAÇÃO (imagem à esquerda e texto à direita) === */
#formacao {
  background: linear-gradient(180deg, #bde3f8, #ffffff); /*#bde3f8 novo azul*/
  padding: 20px 20px;
}

.formacao-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1 !important;
  transform: none !important;
}

.formacao-imagem {
  flex: 1 1 200px;
  text-align: center;
}

.formacao-imagem img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 65px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.formacao-imagem img:hover {
  transform: scale(1.03);
}

.formacao-texto {
  flex: 1 1 600px;
  text-align: left;
}

.formacao-texto h1 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 25px;
}

.formacao-texto ul {
  list-style: disc;
  margin-left: 20px;
  padding-left: 20px;
}

.formacao-texto li {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #111;
}

/* --- RESPONSIVO --- */
@media (max-width: 900px) {
  .formacao-container {
    flex-direction: column;
    text-align: center;
  }

  .formacao-texto {
    text-align: center;
  }

  .formacao-texto ul {
    list-style: none;
    padding: 0;
  }

  .formacao-texto li::before {
    content: "• ";
    color: #196EFF;
  }
}

/* === SEÇÕES DE SERVIÇOS === */
  .servico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1100px;
    margin: 20px auto;
    padding: 10px;
  }

  .servico-img {
    flex: 1 1 300px;
    text-align: center;
  }

  .servico-img img {
    width: 220px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.4s ease;
  }

  .servico-img img:hover {
    transform: scale(1.05);
  }

  .servico-texto {
    flex: 2 1 500px;
    text-align: left;
  }

  .servico-texto h2 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 15px;
  }

  .servico-texto p {
    color: #111;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .servico:nth-child(even) {
    flex-direction: row-reverse;
  }

  /* === CONTAINER DE SERVIÇOS COM ALTERNÂNCIA === */
.servicos-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 20px auto;
  padding: 10px;
}

.servicos-list > .servico:nth-child(even) {
  flex-direction: row-reverse;
}
  
/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  #menu {
    display: none;
    flex-direction: column;
    background: var(--azul);
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 10px;
    border-radius: 8px;
  }
  #menu.show {
    display: flex;
  }
  #menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }

  /* Responsividade */
  @media (max-width: 768px) {
    .servico {
      flex-direction: column;
      text-align: center;
    }

    .servico-texto {
      text-align: center;
    }

    .servico-img img {
      width: 180px;
    }
  }
}

/* === AJUSTES DE ESPAÇAMENTO EM MOBILE === */
@media (max-width: 768px) {
  .servico {
    gap: 40px;
    padding: 30px 15px;
  }
  .servico-texto h2 {
    font-size: 1.4rem;
  }
  .servico-texto p {
    font-size: 0.95rem;
  }
}

a,
a:visited,
a:active {
  text-decoration: none; /* remove o sublinhado */
  color:inherit;       /* mantém a cor do texto como definido no card */
}
a:hover {
  color: #ffffff;
}

/* === BOTÕES FLUTUANTES ALINHADOS === */
.floating-buttons {
  position: fixed;
  /* background: var(--azul); */
  right: 18px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px; /* espaçamento entre os botões */
  z-index: 9999;
}

.floating-buttons a img {
  width: 64px;
  height: 64px;
  display: flex;
  border-radius: 50%;
  box-shadow: 0 4px 8px #196eff/* rgba(0,0,0,0.25) */;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-buttons a:hover img {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}

/* Responsividade (ajusta o espaçamento em telas pequenas) */
@media (max-width: 768px) {
  .floating-buttons {
    right: 15px;
    bottom: 20px;
    gap: 10px;
  }
}

