html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f5f5;
  color: #333;
  margin: 0;
  padding: 0;
  animation: fadeIn 1s ease-in-out;
}
ul {
  list-style: none;
  margin: 0;
  padding: 15px 40px;
  display: flex;
  justify-content: center;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.8s ease-in-out;
}
ul li { margin: 0 15px; }
ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 10px;
  transition: 0.3s;
}
ul li a:hover { color: #0077ff; transform: scale(1.1); }
#hero {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0077ff, #00c6ff);
  color: #fff;
  text-align: center;
  animation: fadeInUp 1.2s ease-in-out;
}
#hero h1 { font-size: 3rem; margin-bottom: 10px; }
#hero p { font-size: 1.2rem; }
section { padding: 60px 15%; animation: fadeIn 1.5s ease-in-out; }
h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
  position: relative;
}
h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0077ff;
  margin: 10px auto 0;
  border-radius: 2px;
  animation: growLine 1s ease-in-out;
}
.container { display: flex; justify-content: center; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); }
.card ul { margin: 10px 0 0 20px; padding: 0; list-style-type: disc; }
.card ul li { margin-bottom: 5px; line-height: 1.5; }
#contactos a {
  display: inline-block;
  margin: 10px 0;
  color: #0077ff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
#contactos a:hover { text-decoration: underline; transform: scale(1.05); }
footer {
  background: #111;
  color: #ddd;
  text-align: center;
  padding: 25px;
  animation: fadeIn 2s ease-in-out;
}
footer a {
  margin: 0 10px;
  color: #ddd;
  transition: 0.3s;
  text-decoration: none;
}

#certificados iframe,
#certificados embed {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 10px;
}

#certificados .card {
  margin-bottom: 40px; /* espaço entre os certificados */
}

#politica {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

#politica h1 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #ddd;
}

#botao {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #0077ff;
  background: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#botao:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
  background: #f0f0f0;
  color: #005fcc;
}

footer a:hover { color: #0077ff; transform: scale(1.1); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes growLine { from { width: 0; } to { width: 60px; } }
