/* 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;
    color: #333;
    background-color: #f5f7fa;
  }
  
  /* Cabeçalho */
  header {
    background-color: #0d2c3d;
    color: white;
    padding-bottom: 20px;
    position: relative;
  }
  
  header img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    filter: brightness(0.6);
  }
  
  .header-content {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    max-width: 700px;
    text-align: center;
  }
  
  .header-content h1 {
    font-size: 3.2rem;
    font-weight: 600;
  }
  
  .header-content h3 {
    font-weight: 300;
    margin-bottom: 12px;
  }
  
  /* Navegação */
  nav {
    background-color: #15425a;
    display: flex;
    justify-content: center;
    padding: 14px;
  }
  
  nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 18px;
    font-weight: 500;
    transition: 0.3s;
  }
  
  nav a:hover {
    color: #ffc107;
  }
  
  /* Seções */
  section {
    padding: 60px 20px;
  }
  
  .container {
    max-width: 1100px;
    margin: auto;
  }
  
  h2 {
    color: #0d2c3d;
    margin-bottom: 20px;
    font-size: 2.2rem;
  }
  
  /* Botão principal */
  .btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #15425a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 20px;
  }
  
  .btn:hover {
    background-color: #235c77;
  }
  
  /* Cards */
  .benefits {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .benefit {
    flex: 1 1 30%;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
  }
  
  .benefit small {
    display: block;
    margin-top: 10px;
    color: #555;
  }
  
  /* Footer */
  footer {
    background-color: #0d2c3d;
    color: white;
    text-align: center;
    padding: 20px;
  }
  
  /* Menu fixo */
  nav.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Fade-in animation */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
  }
  
  .fade-in.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .servicos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
  }
  
  .servico {
    flex: 1 1 30%;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .servico:hover {
    transform: translateY(-5px);
  }
  
  .servico img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  

  /* Responsividade telas pequenas */
  @media (max-width: 768px) {

  .header-content {
    top: 18%;
    max-width: 90%;
  }

  .header-content h1 {
    font-size: 2.2rem;
  }

  .header-content h3 {
    font-size: 1.1rem;
  }

  .header-content p {
    font-size: 0.95rem;
  }

  nav {
    flex-wrap: wrap;
    padding: 10px;
  }

  nav a {
    margin: 8px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {

  .header-content {
    top: 14%;
  }

  .header-content h1 {
    font-size: 1.8rem;
  }

  .header-content h3 {
    font-size: 1rem;
  }

  .header-content p {
    font-size: 0.85rem;
  }

  nav a {
    margin: 6px;
    font-size: 0.9rem;
  }
}