/* Variáveis para o MODO DARK (Padrão) */
    :root {
  --bg-deep: #f0f7ff;
  --bg-card: #ffffff;
  --bg-light: #f0f7ff;
  --white: #ffffff;

  --header-bg: rgba(255, 255, 255, 0.9);
  --text: #0f172a;
  --muted: #64748b;

  --primary-light: #3b82f6;
  --primary: #1e3a8a;

  --line: #e2e8f0;
  --logo-filter: none;
  --shadow: 0 20px 30px rgba(30, 58, 138, 0.1);

  /* LOGIN */
  --loginPage-toggle: #e2e8f0;
  --loginPage-text: #1e3a8a;
  --loginPage-text2: #203e76;
  --loginPage-background: #ffffff;
}

[data-theme="dark"] {
  --bg-deep: #0f172a;
  --bg-card: #1e293b;
  --bg-light: #020617;
  --white: #020617;

  --header-bg: rgba(15, 23, 42, 0.9);
  --text: #f1f5f9;
  --muted: #94a3b8;

  --primary-light: #60a5fa;
  --primary: #3b82f6;

  --line: #334155;
  --logo-filter: brightness(0) invert(1);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

  /* LOGIN */
  --loginPage-toggle: #334155;
  --loginPage-text: #e5e7eb;
  --loginPage-text2: #cbd5f5;
  --loginPage-background: #020617;
}


    * { box-sizing: border-box; margin: 0; padding: 0; }
    
    body {
      font-family: "Open Sans", sans-serif;
      background: var(--bg-deep);
      color: var(--text);
      line-height: 1.6;
      transition: background 0.3s ease, color 0.3s ease;
    }

    h1, h2, h3 { font-family: "Montserrat", sans-serif; }
    .container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

    /* Header */
    header {
      position: sticky; top: 0; z-index: 100;
      background: var(--header-bg);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
    }
    .nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
    .brand img { height: 60px; filter: var(--logo-filter); transition: 0.3s; }

    .menu { display: flex; gap: 20px; align-items: center; }
    .menu a { font-weight: 600; text-decoration: none; color: var(--text); font-size: 0.9rem; }
    
    /* Footer */
    footer { padding: 40px 0; background: var(--white); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }




#contentBody
{
  min-height: 90dvh;
}

.toggle-switch {
    position: relative;
    right: 5px;
    width: 60px;
    height: 35px;
    --light: #d8dbe0;
    --dark: #28292c;
    --link: rgb(27, 129, 112);
    --link-hover: rgb(24, 94, 82);
}

.switch-label {
    position: absolute;
    width: 100%;
    height: 35px;
    background-color: var(--dark);
    border-radius: 25px;
    cursor: pointer;
    border: 3px solid #868686;
}

.checkbox {
  position: absolute;
  display: none;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked ~ .slider {
  background-color: var(--light);
}

.slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    -webkit-box-shadow: inset 12px -4px 0px 0px var(--light);
    box-shadow: inset 12px -4px 0px 0px var(--light);
    background-color: var(--dark);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.checkbox:checked ~ .slider::before {
  -webkit-transform: translateX(50px);
  -ms-transform: translateX(50px);
      transform: translateX(25px);
  background-color: var(--dark);
  -webkit-box-shadow: none;
  box-shadow: none;
}



.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 70px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--shadow);
    z-index: 999;
    animation: fadeSlide 0.25s ease;
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.btn-login {
  color: var(--primary-light);
  border: 1px solid var(--primary-light);
  padding: 5px 15px;
  border-radius: 8px;
  font-weight: 600;
}

