/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
  padding-top: 110px;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url('https://images.unsplash.com/photo-1522075469751-3a6694fb2f61') center/cover;
  background-attachment: fixed;
  color: white;
}

body.light-mode {
  background: #f8f9fa;
  color: #212529;
}

body.dark-mode {
  background: #212529;
  color: #f8f9fa;
}

/* LOGO AUXILIAR */
.logo {
  color: #00c4ff;
  font-weight: 700;
  font-size: 1.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  flex-direction: column;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 25px;
}

/* SEÇÕES INTERNAS */
.content {
  padding: 100px 20px;
  text-align: center;
  color: white;
}

/* SERVIÇOS / EQUIPE */
.services,
.team {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.card {
  background-color: #1e1e1e;
  border: 1px solid #2a2a2a;
  padding: 25px;
  box-shadow: 0 0 10px rgba(0,180,216,0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  text-align: center;
  color: white;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,183,255,0.2);
  border-color: rgba(0,183,255,0.25);
}

/* FORMULÁRIO DE CONTATO */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 40px auto;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  resize: none;
  background: rgba(255,255,255,0.8);
}

.contact-form button {
  background: #00c4ff;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #009dcc;
}

/* PORTFÓLIO */
.portfolio-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background: rgba(255,255,255,0.05);
  min-height: 100vh;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 90%;
  max-width: 1200px;
  margin-top: 40px;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  text-align: center;
  padding: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.portfolio-card h3 {
  margin-top: 15px;
  color: #fff;
  font-size: 1.4rem;
}

.portfolio-card p {
  color: #ddd;
  font-size: 1rem;
  margin-top: 10px;
}

.sem-projetos {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 50px;
}

/* PAINEL ADMIN */
.admin-section {
  min-height: 100vh;
  background: linear-gradient(to right, #00111a, #002233);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 20px;
  color: #fff;
}

.admin-container {
  display: flex;
  height: 100vh;
  background: #0b1220;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.sidebar {
  width: 250px;
  background: #111b2a;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
}

.sidebar h2 {
  color: #00c4ff;
  text-align: center;
  margin-bottom: 30px;
}

.sidebar nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 12px 0;
  padding: 10px 15px;
  border-radius: 8px;
  transition: 0.3s;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: #00c4ff;
  color: #00111a;
  box-shadow: 0 0 10px #00c4ff;
}

.admin-content {
  flex: 1;
  padding: 50px;
  background: linear-gradient(135deg, #0b1220, #09111f);
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.admin-content h1,
.admin-content h2,
.admin-header h1 {
  color: #00c4ff;
}

.admin-header h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.admin-content p {
  text-align: center;
  color: #ddd;
  margin-bottom: 40px;
}

/* LOGIN / REGISTER */
.login-section {
  min-height: 100vh;
  background: linear-gradient(to right, #00111a, #002233);
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
  width: 350px;
  text-align: center;
  color: #fff;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.login-box h1 {
  color: #00c4ff;
  margin-bottom: 20px;
}

.login-text,
.register-text {
  text-align: center;
  margin-bottom: 20px;
}

/* FOOTER */
.footer {
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin-top: 100px;
}

.footer h2 {
  color: #00c4ff;
  margin-bottom: 15px;
}

.footer p {
  max-width: 700px;
  margin: 10px auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

.social-icons {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons img {
  width: 35px;
  height: 35px;
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.2);
  filter: invert(68%) sepia(96%) saturate(326%) hue-rotate(161deg) brightness(94%) contrast(89%);
}

.copy {
  margin-top: 25px;
  font-size: 0.9em;
  color: #999;
}

/* CHATBOT */
#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: #222;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  font-family: Arial, sans-serif;
  z-index: 2000;
}

#chat-header {
  background: #0dcaf0;
  padding: 10px;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}

#chat-body {
  height: 200px;
  overflow-y: auto;
  padding: 10px;
}

#chat-footer {
  display: flex;
  border-top: 1px solid #444;
}

#chat-input {
  flex: 1;
  padding: 8px;
  border: none;
  outline: none;
}

#chat-footer button {
  background: #0dcaf0;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}

#chatbox {
  max-width: 500px;
  width: 100%;
}

/* ANIMAÇÕES */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
body {
  padding-top: 100px;
}
.site-footer {
    margin-top: 60px;
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(255,255,255,0.10);
    color: #e5eef8;
}

.footer-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 45px 18px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
}

.footer-brand h3 {
    color: #00c4ff;
    font-weight: 900;
    margin-bottom: 12px;
}

.footer-brand p,
.footer-contact p {
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #fff;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 9px;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: #00c4ff;
    transform: translateX(4px);
}

.footer-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 11px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #00c4ff, #2563eb);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 16px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 35px 18px;
    }
}
