/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 0 20px;
  }
  
  header {
    background-color: #1e293b;
    color: white;
    padding: 20px 0;
    text-align: center;
  }
  
  header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  header p {
    font-size: 1.1rem;
    color: #cbd5e1;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
  }
  
  nav a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: bold;
  }
  
  nav a:hover {
    text-decoration: underline;
  }
  
  section {
    margin: 40px 0;
  }
  
  h2 {
    margin-bottom: 15px;
    color: #1e293b;
  }
  
  .card {
    background-color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #38bdf8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  footer {
    text-align: center;
    padding: 20px;
    background-color: #1e293b;
    color: white;
    margin-top: 40px;
  }
  
  a {
    color: #0ea5e9;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* Responsividade básica */
  @media (max-width: 768px) {
    nav ul {
      flex-direction: column;
      gap: 10px;
    }
  
    body {
      padding: 0 10px;
    }
  }

  .hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
  }
  
  .visible {
    opacity: 1;
    transform: translateY(0);
  }

  .image-inline {
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }
  
  .image-inline img {
    width: 400px;
    height: auto;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

  .modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
  }

  .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
  }

  .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }

  .close:hover {
    color: #38bdf8;
  }
