/* static/core/css/style.css */

/* header */
/* ========== HEADER & NAV ========== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4rem !important; /* espaçamento entre os menus principais */
}

.nav-menu li {
  position: relative;
}

.nav-menu > ul > li > a {
  color: #2b6cb0;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  display: inline-block;
}

.nav-menu li:hover > a {
  color: #1a4e91;
}

/* esconder submenus por padrão */
.dropdown > .dropdown-content {
  display: none !important;
}

/* mostrar apenas ao passar o mouse */
.dropdown:hover > .dropdown-content {
  display: block !important;
}

.dropdown-content {
  position: absolute;
  top: 2.2rem;
  left: 0;
  background-color: #fff;
  min-width: 160px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

.dropdown-content li {
  padding: 0;
}

.dropdown-content a {
  display: block;
  padding: 0.6rem 1rem;
  color: #2b6cb0;
  text-decoration: none;
  font-weight: normal;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* empurra o conteúdo para baixo, evitando sobreposição pelo header fixo */
.site-content {
  padding-top: 0.1px; 
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #111;
}

.logo {
    position: fixed;
    top: 10px;
    left: 10px;
    height: 150px;
    z-index: 1000;
}

.back-button {
    position: fixed;
    top: 200px;
    left: 10px;
    background-color: #2c6fbb;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    z-index: 999;
}

.container {
    max-width: 800px;
    margin: 120px auto 40px auto;
    padding: 0 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin: 20px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-top: 10px;
}

ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

p {
    line-height: 1.5;
    margin-bottom: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #f5f5f5;
}

.calculation {
  font-size: 1.2em;
  font-family: 'Cambria', 'Georgia', serif;
  margin: 12px 0;
  display: block;
  line-height: 1.6;
}

/* ========== FOOTER ========== */
  footer {
    text-align: center;
    font-size: 0.9rem;
    padding: 1rem;
    color: #888;
    background-color: #f8f9fa;
    border-top: 1px solid #e2e8f0;
  }
