/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   VARIÁVEIS (CORES)
========================= */
:root {
  --primary: #1e3a8a;
  --secondary: #fbbf24;
  --bg: #f5f5f5;
  --text: #1f2937;
  --card: #ffffff;
}

/* =========================
   BASE
========================= */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 15px;
}

/* =========================
   LAYOUT
========================= */
.layout {
  display: flex;
  flex-direction: column;
}

.content {
  width: 100%;
}

.sidebar {
  margin-top: 20px;
}

/* =========================
   HEADER
========================= */
.header {
  background: var(--primary);
  color: #fff;
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

/* MENU */
.nav {
  display: none;
  flex-direction: column;
  background: #1e3a8a;
  position: absolute;
  top: 60px;
  right: 0;
  width: 200px;
}

.nav a {
  padding: 10px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* BOTÃO MENU MOBILE */
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
}

/* =========================
   HERO
========================= */
.hero {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
}

/* =========================
   CARDS
========================= */
.card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

/* =========================
   TIPOGRAFIA
========================= */
h1, h2, h3 {
  margin-bottom: 10px;
}

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

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 15px;
  background: var(--primary);
  color: #fff;
  margin-top: 20px;
}

/* =========================
   RESPONSIVO (DESKTOP)
========================= */
@media (min-width: 768px) {

  .layout {
    flex-direction: row;
    gap: 20px;
  }

  .content {
    flex: 3;
  }

  .sidebar {
    flex: 1;
    margin-top: 0;
  }

  .nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    width: auto;
  }

  .nav a {
    border: none;
    margin-left: 15px;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 40px;
  }
}

.logo-area {
  display: flex;
  flex-direction: column;
}

#google_translate_element {
  margin-top: 5px;
  font-size: 12px;
}