/* Estilo Geral */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #f4f7fc;
    color: #333;
    font-weight: 300;
    scroll-behavior: smooth;
    overflow-x: hidden; /* <- ISSO resolve a rolagem lateral no mobile */
  }
  
  /* HEADER (Topo) */
  .top-menu {
    background-color: #2E268F;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
    overflow-x: hidden; /* <- também garante que o header não vaze */
  }
  
  .top-container {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Logo */
  .logo {
    height: 50px;
  }
  
  /* Botão de Menu Mobile */
  .menu-btn {
    background: none;
    border: none;
    color: #dddddd;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Escondido no desktop */
  }
  
  /* Menu Desktop */
  .desktop-menu {
    display: flex;
    gap: 20px;
  }
  
  .desktop-menu a {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
  }
  
  /* Menu Mobile Dropdown */
  .menu-content {
    display: none;
    position: fixed;
    right: 20px;
    top: 60px;
    background-color: #2E268F;
    border: none;
    border-radius: 6px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.25);
    min-width: 180px;
    text-align: left;
    padding: 10px 0;
    z-index: 1100;
  }
  
  .menu-content a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-weight: 400;
  }
  
  .menu-content a:hover {
    background-color: #4436a3;
  }
  
  .menu-content.show {
    display: block;
  }
  
  /* Botão Voltar ao Topo */
  #btnTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 22px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  #btnTop:hover {
    background: #0056b3;
    transform: translateY(-3px);
  }
  
  /* Conteúdo Principal */
  .main-content {
    margin-top: 100px;
    padding: 20px;
    text-align: center;
  }
  
  /* Botões */
  .btn-primary {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: 400;
  }
  
  .btn-primary:hover {
    background: #0056b3;
  }
  
  .btn-secondary {
    background: #0056a3;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 400;
  }
  
  .btn-secondary:hover {
    background: #004080;
  } 
  .btn-terciary {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 400;
  }
  
  .btn-terciary:hover {
    background: #0056b3;
  }
  
  /* Cards e Seções */
  .info-section {
    margin-top: 40px;
  }
  
  .info-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 10px auto;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  /* Formulário */
  .form-section {
    background: white;
    border-radius: 8px;
    padding: 30px 20px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .form-group {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
  }
  
  .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
  }
  
  /* Responsividade Mobile */
  @media (max-width: 768px) {
    .desktop-menu {
      display: none !important;
    }
    .menu-btn {
      display: block !important;
    }
    
    html, body {
      overflow-x: hidden !important;
    }
  }
    
  .foto-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 20px auto;
}

.foto-perfil {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e0ecf8;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.2);
}

.btn-camera {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
}

.btn-camera:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}
