/* Base */
body {
  background-color: #000;
  color: #fff;
  font-family: monospace, Arial, sans-serif;
  margin: 0;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
  background: #0a0a0a;
  border-bottom: 2px solid #04d9ff;
}

header img {
  width: 150px;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  text-align: center;
  color: #04d9ff;
}

/* Principal */
.principal {
  height: 90vh;
  background: url("imagens/cyberseguranca.webp") no-repeat center center/cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  padding-top: 80px;
}

.principal .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.principal-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.principal h1 {
  font-size: 4.5rem;
  margin-top: 0px;   
  margin-bottom: 65px;    
  background: linear-gradient(135deg, #00ffff, #04d9ff, #0080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 2px;
}

.principal-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #04d9ff;
}

.principal-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Botões */
.cta,
.cta-secondary {
  display: inline-block;
  margin: 10px;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cta {
  background: #04d9ff;
  color: #000;
}

.cta:hover {
  background: #00aaff;
  transform: scale(1.05);
}

.cta-secondary {
  background: transparent;
  border: 2px solid #04d9ff;
  color: #04d9ff;
}

.cta-secondary:hover {
  background: #04d9ff;
  color: #000;
  transform: scale(1.05);
}

/* Seçoes */
section {
  padding: 60px 20px;
  text-align: center;
}

/* Seção Sobre */
.sobre {
  padding: 60px 20px;
}

.sobre h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #04d9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.sobre h3 {
  font-size: 1.8rem;
  margin: 40px 0 20px 0;
  color: #04d9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.sobre img{
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sobre img:hover {
  transform: scale(1.1);
}

.sobre p {
  font-family: Arial;
  max-width: 900px;
  margin: 0 auto 20px auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #e0e0e0;
}

.sobre p strong {
  color: #04d9ff;
  font-size: 1.2rem;
}

/* Seçao Conteudo do curso */
.conteudo-curso {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(9, 148, 173, 0.116) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.conteudo-curso h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #04d9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.conteudo-curso h3 {
  font-size: 1.8rem;
  margin: 40px 0 20px 0;
  color: #04d9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.conteudo-curso img{
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.conteudo-curso img:hover {
  transform: scale(1.1);
}

/* Alinhamento especifico para a lampada */
.conteudo-curso h3 img[src*="lampada"] {
  vertical-align: middle;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 8px rgba(4, 217, 255, 0.3));
}

.conteudo-curso ul {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: left;
  list-style: none;
  padding: 0;
}

.conteudo-curso li {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid rgba(4, 217, 255, 0.3);
  border-radius: 10px;
  padding: 15px 20px;
  margin: 10px 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  font-family: Arial;
  line-height: 1.6;
  color: #e0e0e0;
}

.conteudo-curso li:hover {
  border-color: #04d9ff;
  background: rgba(17, 17, 17, 0.9);
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(4, 217, 255, 0.2);
}

.conteudo-curso li strong {
  color: #04d9ff;
}

/* Diferenciais */
.diferenciais {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), 
              url("imagens/Unimar-laptop.png") no-repeat center center/cover;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(4, 217, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.diferenciais h2 {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #04d9ff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(17, 17, 17, 0.95);
  border: 2px solid #04d9ff;
  border-radius: 15px;
  padding: 25px;
  width: 300px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(4, 217, 255, 0.1);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(4, 217, 255, 0.3);
  border-color: #00aaff;
  background: rgba(17, 17, 17, 0.98);
}

.card h3 {
  color: #04d9ff;
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.card p {
  font-family: Arial;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Rodape */
footer {
  background: #0a0a0a;
  text-align: center;
  padding: 15px;
  border-top: 2px solid #04d9ff;
}

/* Media Queries para Responsividade */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .principal h1 {
    font-size: 3.5rem;
    margin-bottom: 40px;
  }
  
  .principal-content h2 {
    font-size: 2.5rem;
  }
  
  .principal-content p {
    font-size: 1.1rem;
  }
  
  .sobre h2, .conteudo-curso h2 {
    font-size: 2.2rem;
  }
  
  .sobre h3, .conteudo-curso h3 {
    font-size: 1.6rem;
  }
  
  .cards {
    gap: 20px;
  }
  
  .card {
    width: 280px;
    padding: 20px;
  }
}

/* Tablets pequenos (481px - 768px) */
@media (max-width: 768px) {
  header {
    padding: 15px;
  }
  
  header img {
    width: 120px;
  }
  
  .principal {
    height: 80vh;
    padding-top: 60px;
  }
  
  .principal h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
  }
  
  .principal-content h2 {
    font-size: 2rem;
  }
  
  .principal-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .cta, .cta-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
    margin: 8px;
  }
  
  section {
    padding: 40px 15px;
  }
  
  .sobre h2, .conteudo-curso h2 {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 10px;
  }
  
  .sobre h3, .conteudo-curso h3 {
    font-size: 1.4rem;
    flex-direction: column;
    gap: 10px;
  }
  
  .sobre img, .conteudo-curso img {
    width: 35px;
    height: 35px;
  }
  
  .sobre p {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .conteudo-curso ul {
    padding: 0 10px;
  }
  
  .conteudo-curso li {
    padding: 12px 15px;
    font-size: 0.95rem;
  }
  
  .diferenciais {
    min-height: 80vh;
    padding: 40px 15px;
  }
  
  .diferenciais h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .card {
    width: 100%;
    max-width: 400px;
    padding: 20px;
  }
}

/* Smartphones (320px - 480px) */
@media (max-width: 480px) {
  header {
    padding: 10px;
  }
  
  header img {
    width: 100px;
  }
  
  .principal {
    height: 70vh;
    padding-top: 40px;
  }
  
  .principal h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
  }
  
  .principal-content h2 {
    font-size: 1.6rem;
  }
  
  .principal-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .cta, .cta-secondary {
    padding: 10px 18px;
    font-size: 0.85rem;
    margin: 5px;
    width: 200px;
    text-align: center;
  }
  
  section {
    padding: 30px 10px;
  }
  
  .sobre h2, .conteudo-curso h2 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .sobre h3, .conteudo-curso h3 {
    font-size: 1.2rem;
    text-align: center;
  }
  
  .sobre img, .conteudo-curso img {
    width: 30px;
    height: 30px;
  }
  
  .sobre p {
    font-size: 0.9rem;
    padding: 0 5px;
  }
  
  .conteudo-curso ul {
    padding: 0 5px;
  }
  
  .conteudo-curso li {
    padding: 10px 12px;
    font-size: 0.9rem;
    margin: 8px 0;
  }
  
  .diferenciais {
    min-height: 70vh;
    padding: 30px 10px;
  }
  
  .diferenciais h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
  
  .card {
    padding: 15px;
  }
  
  .card h3 {
    font-size: 1.1rem;
  }
  
  .card p {
    font-size: 0.9rem;
  }
  
  footer {
    padding: 10px;
    font-size: 0.8rem;
  }
}

/* Smartphones muito pequenos (até 320px) */
@media (max-width: 320px) {
  .principal h1 {
    font-size: 1.8rem;
  }
  
  .principal-content h2 {
    font-size: 1.4rem;
  }
  
  .principal-content p {
    font-size: 0.8rem;
  }
  
  .cta, .cta-secondary {
    width: 180px;
    font-size: 0.8rem;
  }
  
  .sobre h2, .conteudo-curso h2 {
    font-size: 1.3rem;
  }
  
  .sobre h3, .conteudo-curso h3 {
    font-size: 1.1rem;
  }
  
  .sobre p {
    font-size: 0.85rem;
  }
  
  .conteudo-curso li {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
  
  .diferenciais h2 {
    font-size: 1.4rem;
  }
  
  .card h3 {
    font-size: 1rem;
  }
  
  .card p {
    font-size: 0.85rem;
  }
}