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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}


.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #fff;
  color: #000;
  padding: 8px;
  z-index: 1000;
  text-decoration: none;
  font-weight: bold;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* Header e Navegação */
header {
  background-color: #cff48a;
  padding: 20px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover {
  color: #764dfb;
}

nav a:focus {
  outline: 3px solid #764dfb;
  outline-offset: 4px;
  background-color: #fff9d6;
}

/* Conteúdo Principal */
section, .content {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}

h2 {
  margin-bottom: 20px;
  color: #764dfb;
  font-size: 28px;
}

h3 {
  color: #764dfb;
  margin-top: 20px;
}

p {
  margin-top: 10px;
  line-height: 1.8;
  color: #333;
}

/* Cards e secções */
.about, .team, .location, .services-section {
  background-color: #fff;
  padding: 30px;
  margin-bottom: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.service-container, .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.service-card, .team-member {
  background-color: #f4f4f4;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover, .team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.service-card img, .team-member img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.team-member h3 small {
  display: block;
  font-size: 13px;
  color: #666;
}

/* Banner */
.banner {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
}

/* Footer */
footer {
  background-color: #cff48a;
  color: #333;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  margin-top: 60px;
}

/* Chatbot */
#chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #5a3ddf; /* contraste melhorado */
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 16px;        /* aumentado para acessibilidade */
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
}

#chatbot-container {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  max-height: 440px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}

#chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  font-size: 14px;
}

.message {
  margin-bottom: 10px;
}

.user {
  text-align: right;
  color: #444;
}

.bot {
  text-align: left;
  color: #764dfb;
}

#chat-input {
  display: flex;
  border-top: 1px solid #eee;
}

#chat-input input {
  flex: 1;
  padding: 12px;
  border: none;
  outline: none;
  font-size: 14px;
}

#chat-input button {
  background-color: #764dfb;
  color: white;
  border: none;
  padding: 12px 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

#chat-input button:hover {
  background-color: #aef058;
  color: #222;
}
