/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #F2F2F2;
  color: #222;
  line-height: 1.6;
}

/* CABEÇALHO FIXO */
header {
  background: linear-gradient(90deg, #003F4F, #005f73);
  color: #fff;
  position: fixed;
  top: 0;
  left:0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  z-index: 1000;
  height: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

header h1 {
  margin-left:10px;
  font-size: 20px;
}

/* Ícone hamburguer */
.menu-toggle {
  font-size: 22px;
  cursor: pointer;
  z-index: 1001;
}

.header-logo img{
  margin-top:25px;
  margin-left:0px;
  height:70px;
  max-width:90px;
  border-radius:0px;
}

/* Menu suspenso (oculto por padrão) */
nav {
  position: absolute;
  top: 60px;
  right: 20px;
  width: 250px;
  background: #004d5c;
  display: none;
  flex-direction: column;
  border-radius: 0 0 0px 0px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Quando ativo, aparece */
nav.active {
  display: flex;
  animation: slideDown 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

nav ul li {
  padding: 10px 20px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  display: block;
  transition: background 0.3s;
}

nav ul li a:hover {
  background: #036c80;
}

/* Animação do drop-down */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CONTAINER */
.container {
  padding: 20px 0rem 2rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius:0px;
}

/* HERO */
.hero {
  background: linear-gradient(rgba(0,78,102,0.6), rgba(0,78,102,0.0)), url('https://picsum.photos/1600/700?tech') center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px 100px;
  margin-top:40px;
  border-radius: 0px;
}

.btn {
  background: #ffdd57;
  color: #004e66;
  padding: 15px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.hero .btn {
  margin-bottom: 40px;
}

.btn:hover { background: #ffc107; }

/* SEÇÕES */
section {
  padding: 0rem 0.5rem;
  border-radius: 0px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

section:hover {
  transform: translateY(-4px);
}

section h2 {
  color: #003F4F;
  margin-bottom: 1.5rem;
  margin-top:10px;
  font-size: 2rem;
  font-weight: 600;
  border-left: 6px solid #0097A7;
  padding-left: 12px;
}

/* FLEX */
.flex-section {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;	
}

.flex-section img,
.flex-section video {
  max-width: 100%;
  height: auto;
  display: block;	
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.flex-section img:hover,
.flex-section video:hover {
  transform: scale(1.03);
}

.text {
  flex: 1;
  min-width: 280px;
}

.text ul {
  padding-left: 20px;
  list-style-type: disc;
}

/* GRID / CARDS */
.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card img,
.card video {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* CORES POR SEÇÃO */
#empresa { background: linear-gradient(135deg, #ffffff, #f4f9ff); }
#rpa { background: linear-gradient(135deg, #e0f7fa, #ffffff); }
#treinamento { background: linear-gradient(135deg, #e8f5e9, #ffffff); }
#sistemas { background: linear-gradient(135deg, #f5f5f5, #ffffff); }
#projetos { background: linear-gradient(135deg, #e3f2fd, #ffffff); }
#solucoes { background: linear-gradient(135deg, #fff3e0, #ffffff); }
#noticias { background: linear-gradient(135deg, #ede7f6, #ffffff); }
#carreiras { background: linear-gradient(135deg, #e1f5fe, #ffffff); }

/* RODAPÉ */
footer {
  background: #003F4F;
  color: #fff;
  padding: 0.5rem 0rem;
  text-align: center;
  margin-top: 0rem;
}

footer p {
  margin: 5px 0.5;
  font-size: 0.95rem;
}

footer a {
  color: #00d9ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #003F4F;
    width: 220px;
    display: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
  }

  nav.active ul {
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  /* Flex ajustado */
  .flex-section {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .flex-section img,
  .flex-section video {
    width: 100% !important;
    max-width: 100%;
    height: auto;
  }

  /* Hero ajustado para mobile */
  .hero {
    padding: 60px 15px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* Remover bordas arredondadas em alguns elementos */
section,
.card,
.card img,
.card video,
.flex-section img,
.flex-section video {
  border-radius: 0 !important;
}
