@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap");

:root {
  --primary-orange: #ff8c00;
  --dark-orange: #e67e22;
  --accent-purple: #8e44ad;
  --light-purple: #a55eea;
  --bg-dark: #121212;
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-white: #f5f5f5;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 140, 0, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(142, 68, 173, 0.15) 0%,
      transparent 40%
    );
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out;
}

h2 {
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent-purple);
  padding-left: 15px;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  margin-top: 10px;
}

section {
  margin-bottom: 2rem;
}

.table-container {
  overflow-x: auto;
  background: var(--card-bg);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

th {
  background-color: rgba(142, 68, 173, 0.2);
  color: var(--primary-orange);
  padding: 15px;
  text-align: left;
  font-size: 0.9rem;
}

td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.turno {
  font-weight: bold;
  color: var(--light-purple);
  background: rgba(0, 0, 0, 0.2);
}

.livre {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  text-align: center;
}

.disciplina {
  background: rgba(255, 140, 0, 0.05);
  transition: all 0.3s ease;
}

.disciplina:hover {
  background: rgba(255, 140, 0, 0.15);
  transform: scale(1.02);
}

.destaque {
  border: 1px solid var(--accent-purple);
  background: rgba(142, 68, 173, 0.1) !important;
}

small {
  display: block;
  color: #aaa;
  margin-top: 4px;
}

a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.8rem;
}

a:hover {
  text-decoration: underline;
  color: var(--light-purple);
}

.links,
.cadeiras,
.contatos {
  gap: 10px;
}

.links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.links button {
  display: grid;
  width: 100%;
}

.cadeiras {
  display: flex;
  flex-direction: column;
}

button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--card-bg);
  color: var(--text-white);
  border: 1px solid rgba(255, 140, 0, 0.3);
  padding: 14px 20px;
  border-radius: 8px;
  cursor: pointer;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 600;
}

button i {
  color: var(--accent-purple);
  width: 18px;
}

button:hover {
  background: var(--primary-orange);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

button:hover i {
  color: #fff;
}

.contatos {
  flex-direction: column;
}

.emails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 1rem;
}

.email-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: var(--accent-purple);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: 0.3s ease;
}
.email-button:hover {
  background: var(--light-purple);
  transform: scale(1.02);
  color: #fff3cd;
}

.email-button i {
  width: 18px;
  height: 18px;
}

.cadeiras button {
  border-color: rgba(142, 68, 173, 0.3);
}

.cadeiras button:hover {
  background: var(--accent-purple);
  color: white;
  border-color: var(--light-purple);
}

.dia-atual {
  background-color: #fff3cd !important;
  border: 2px solid #ffc107;
  font-weight: bold;
  color: #000;
}

th.dia-atual {
  background-color: #ffc107;
  color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.2rem;
  }
  button {
    width: 100%;
    justify-content: center;
  }
}

.calendario-visual {
  margin-top: 2rem;
}

.calendario-visual .meses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.mes {
  background: var(--card-bg);
  padding: 18px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.mes:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.mes h3 {
  text-align: center;
  margin-bottom: 12px;
  color: var(--primary-orange);
  font-weight: 700;
  letter-spacing: 1px;
}

.dias {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.dias span,
.dias a {
  text-align: center;
  padding: 5px 5px;
  border-radius: 25px;
  font-size: 0.8rem;
  transition: 0.2s ease;
}

.dias span {
  color: rgba(255, 255, 255, 0.25);
}

.dias a.evento {
  background: var(--accent-purple);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(142, 68, 173, 0.4);
}

.dias a.evento:hover {
  background: var(--primary-orange);
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.6);
}

html {
  scroll-behavior: smooth;
}

.lista-eventos {
  margin-top: 3rem;
}

.eventos-container {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.eventos-container p {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 6px;
  transition: 0.3s ease;
}

.eventos-container p:target {
  background: rgba(255, 140, 0, 0.2);
  border-left: 4px solid var(--primary-orange);
  transform: scale(1.02);
}

@keyframes highlight {
  0% {
    background-color: rgba(255, 140, 0, 0.5);
  }
  100% {
    background-color: rgba(255, 140, 0, 0.2);
  }
}

.eventos-container p:target {
  animation: highlight 0.8s ease;
}

@media (max-width: 768px) {
  .mes {
    padding: 15px;
  }

  .dias span,
  .dias a {
    font-size: 0.75rem;
    padding: 6px 0;
  }

  .eventos-container {
    padding: 18px;
  }
}

.footer {
  margin-top: 2rem;
  padding: 1rem ;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-info h3 {
  color: var(--primary-orange);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.footer-info p {
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.footer-info span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-social {
  margin-top: 0.25rem;
}

.footer-social a {
  font-size: 1.8rem;
  margin: 0 15px;
  color: var(--text-white);
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-orange);
  transform: scale(1.2);
}

.footer-copy {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

.contatos ul{
  margin-bottom: 15px;
  padding-left: 18px;
}

.contatos p{
  margin-bottom: 6px;
}