@charset "UTF-8";

/* ================= VARIÁVEIS ================= */
:root {
  --cor-principal: #0ea5e9;
  --cor-secundaria: #020617;
  --texto-claro: #e5e7eb;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cor-secundaria);
  color: var(--texto-claro);
  overflow-x: hidden;
  
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Alternativa mais segura */
.hero,
.categorias,
#profissionais,
.top-categorias,
#contato {
  flex: 1 0 auto;
}



section {                    /* ← importante */
  flex: 1 0 auto;         /* cresce e ocupa o espaço disponível */
}

/* ================= MENU ================= */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 40px;

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

  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  z-index: 1000;
}

/* ===== LOGO ===== */
.menu .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu .logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.menu .logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #38bdf8;
}

/* ===== LINKS ===== */
.menu .links {

  gap: 5px;
}


.menu .links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  transition: width 0.3s ease;
  border-radius: 10px;
}

.menu .links a:hover {
  color: #38bdf8;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 120px 20px 80px;

  background:
    linear-gradient(rgba(2,6,23,.75), rgba(2,6,23,.85)),
    url('imagens/montador.png') center/cover no-repeat fixed;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(90deg, #38bdf8, #4bc1f8, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
}

.hero p {
  font-weight: 600;
  margin-bottom: 30px;
  max-width: 600px;
}

.btn-whats {
  margin-top: 20px;
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: transform .3s, box-shadow .3s;
}

.btn-whats:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37,211,102,.5);
}

/* ================= CATEGORIAS ================= */
.categorias {
  margin-top: 0px;
  padding: 60px 20px;

  width: 100%;

  background: linear-gradient(
    180deg,
    #0f172a 0%,
    #111c33 100%
  );

  box-shadow:
    0 5px 30px rgba(2, 49, 71, 0.08),
    inset 0 1px 0 rgba(15, 138, 190, 0.15);

  
  text-align: center;
}

.lista-categorias p {
    padding-top: 15px;
    
  }

.lista-categorias h3 {
    padding-top: 15px;
    font-size: 1.2rem;
    
  }
.lista-categorias {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 40px auto 0 auto;
  padding: 0 40px; /* espaço nas laterais */
  max-width: 1100px; /* limita largura */
}

.categoria-card {
  max-width: 220px;
  text-decoration: none;
  color: #0ea5e9;
  font-weight: 600;
  transition: transform 0.3s ease;
  gap: 20px;
}

#categorias .titulo {
  color: #0ea5e9;
  font-size: 1.8rem;
}

.categoria-card p {
  color: white;
  
}

.categoria-card:hover {
  transform: translateY(-5px);
}

.categoria-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #0ea5e9;
  margin: 0 auto;
  background: #f1f5f9;
  transition: transform .3s, box-shadow .3s;
}

.categoria-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categoria-img:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(14,165,233,.6);
}

/* ================= PROFISSIONAIS ================= */
#profissionais {
  padding: 100px 20px;
  background: #020617;
  text-align: center;
  
}

#profissionais .titulo {
  margin-bottom: 50px;
  
  font-weight: 700;
  color: #0ea5e9;
}

.profissionais {
  
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 0 40px;
}

.card-profissional {
  max-width: 220px;
  text-align: center;
  text-decoration: none;
  color: #e5e7eb;
  transition: transform 0.3s ease;
}



.card-profissional img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0ea5e9;
  background: #f1f5f9;
  transition: transform .3s, box-shadow .3s;
}

.card-profissional:hover {
  transform: translateY(-6px);
}
.card-profissional img:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(14,165,233,.6);
}

.card-profissional h3 {
  margin-top: 15px;
  font-size: 1.3rem;
  color: #0ea5e9;
  
}

.card-profissional span {
  font-size: .8rem;
  opacity: .8;
}

/*=Card dos profissionais avulsos para deixar a imagem de perfil maior=*/


.card {
  max-width: 220px;
  text-align: center;
  text-decoration: none;
  color: #e5e7eb;
  transition: transform 0.3s ease;
}

.card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0ea5e9;
  background: #f1f5f9;
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-6px);
}
.card img:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(14,165,233,.6);
}

.card h3 {
  margin-top: 15px;
  font-size: 1.3rem;
  color: #0ea5e9;
  
}

.card span {
  font-size: .8rem;
  opacity: .8;
}

/* ================= FOTO PROFISSIONAL ================= */

.foto-profissional {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #0ea5e9;
  
}

.foto-profissional img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

/* ================= SELO DESTAQUE MODERNO ================= */

.selo-destaque {
  position: absolute;
  top: 10px;
  right:-35px;

  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #020617;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;

  padding: 6px 40px;
  transform: rotate(15deg);
  text-align: center;
 
 
}

/* Brilho animado elegante */
.selo-destaque::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-25deg);
  animation: brilho 3s infinite;
}

@keyframes brilho {
  0% { left: -100%; }
  50% { left: 120%; }
  100% { left: 120%; }
}

/* Borda dourada na foto quando destaque */
.card-profissional.destaque .foto-profissional {
  border: 2px solid #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
 
}

/* ================= OUTROS PROFISSIONAIS TOPO ================= */

.top-categorias {

  margin-top: 40px;
  padding: 40px 20px;

  width: 100%;

  
  text-align: center;

 
}


.top-categorias-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.top-categoria {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--texto-claro);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all .3s ease;
}

.top-categoria img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cor-principal);
  background: #0f172a;
  transition: transform .3s ease, box-shadow .3s ease, border .3s ease;
}

/* HOVER PADRÃO DO SEU SITE */
.top-categoria:hover img {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(14,165,233,.6);
  border: 2px solid #38bdf8;
}

.top-categoria:hover {
  color: var(--cor-principal);
}

/* ================= CONTATO ================= */
#contato {
  padding: 80px 20px;
  text-align: center;
}



/* ================= SEM PROFISSIONAIS ================= */

.sem-profissionais {
  flex: 1; /* ocupa o espaço disponível */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px; /* padding menor */
}


.aviso-box {
  margin-top: 50px;
  background: linear-gradient(180deg, #0f172a, #111c33);
  padding: 30px 40px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 40px rgba(14,165,233,.08);
  max-width: 500px;
}

.aviso-box i {
  font-size: 40px;
  color: var(--cor-principal);
  margin-bottom: 20px;
}

.btn-whats i {
  color: #ffffff !important;
}


.aviso-box h2 {
  color: var(--cor-principal);
  margin-bottom: 15px;
}

.aviso-box p {
  margin-bottom: 30px;
  opacity: .9;
}

/* ================= FOOTER ================= */

.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  padding: 70px 20px 30px;
  margin-top: 80px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  color: var(--cor-principal);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-col h4 {
  color: var(--cor-principal);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col p {
  opacity: .8;
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--texto-claro);
  opacity: .8;
  transition: all .3s ease;
}

.footer-col a:hover {
  color: var(--cor-principal);
  opacity: 1;
  padding-left: 5px;
}

.footer-copy {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  font-size: 0.85rem;
  opacity: .6;
}


/* ================= RESPONSIVO DESKTOP ================= */
@media (min-width: 1024px) {

  .links {
    display: flex;
    gap: 30px;
  }

  .menu .links a {
    position: relative;
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 3px 8px;
    transition: color 0.3s ease;
    
    /* barra vertical fixa */
    border-right: 1px solid rgba(229, 231, 235, 0.6);
    
  }
  .hero {
    flex-direction: row;
    text-align: left;
    padding: 140px 100px;
    gap: 80px;
  }

  .hero::after {
    content: "";
    width: 40%;
    height: 560px;
    background: url('imagens/montador.png') center/cover no-repeat;
    border-top-left-radius: 180px;
    border-bottom-left-radius: 180px;
    box-shadow: -35px 0 70px rgba(0,0,0,.65);
  }

  section {
    padding: 120px 100px;
  }
}

.links {
  display: flex; /* começa sempre fechado */
  gap: 30px;
  
}

.categoria-card p {
 
  font-size: 1rem;
}

#profissionais .titulo {
  font-size: 1.7rem;
}


/* ================= TABLET ================= */
@media (min-width: 768px) and (max-width: 1023px) {

  /* MENU */
  .menu {
    padding: 0 30px;
  }

  .menu .links {
    display: flex;
    gap: 15px;
  }

  .menu .links a {
    font-size: 0.95rem;
  }

  /* HERO */
  .hero {
    padding: 120px 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* CATEGORIAS */
  .lista-categorias {
    gap: 30px;
    padding: 0 20px;
  }

  .categoria-img {
    width: 130px;
    height: 130px;
  }

  /* PROFISSIONAIS */
  .profissionais {
    gap: 30px;
    padding: 0 20px;
  }

  .card-profissional {
    max-width: 180px;
  }

  .card-profissional img {
    width: 120px;
    height: 120px;
  }

  /* OUTROS PROFISSIONAIS */
  .top-categorias-container {
    gap: 30px;
    padding: 0 20px;
  }

  .top-categoria img {
    width: 110px;
    height: 110px;
  }

  /* FOOTER */
  .footer-container {
    gap: 40px;
  }

}



@media (max-width: 767px) {

  .lista-categorias {
    padding: 0 20px;
    gap: 25px;
    
    
  }

  #categorias .titulo {
    
    font-size: 1.7rem;
  }

  .lista-categorias p {
    padding-top: 6px;
    font-size: 0.8rem;
    
  }

  .lista-categorias h3 {
    padding-top: 6px;
    font-size: 1.1rem;
    
  }

  .categoria-card {
    
    gap: 20px;
  }

  .categoria-img {
    width: 115px;
    height: 115px;
  }

  #profissionais .titulo {
    font-size: 1.4rem;
    font-weight: 900; 
  }

  .profissionais {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 0 10px;
  }

  .card-profissional {
    width: 140px;
  }

  .foto-profissional {
    width: 120px;
    height: 120px;
  }

  .card-profissional h3 {
    color:#0ea5e9;
    text-shadow: 2px 2px 2px rgba(7, 7, 7, 0.856);
  }

  .card-profissional img {
    width: 150px;
    height: 150px;
  }

  .links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(2, 6, 23, 0.945);
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    
    
    display: none;
    z-index: 2000; /* garante que fique acima do resto */
  }

  .links.active {
    display: flex;
  }

  .links a {
    padding: 15px 0;
  }

  /* barra separadora entre links */
.menu .links a {
  position: relative;
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 3px 8px;
  transition: color 0.3s ease;
  font-size: 1.1rem;
  
  /* barra vertical fixa */
  

}

  .hamburger {
    
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001; /* acima do menu para clicar sempre */
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
  }

  .top-categorias-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 40px;
    
    justify-items: center;
  }
  
  
  .top-categoria img {
    width: 120px;
    height: 120px;
  }
  
  .top-categoria span {
    font-size: 0.8rem;
    margin-top: 10px;
    font-weight: 600;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer {
    padding: 60px 25px 30px;
  }
}

  





