/* === ESTILOS GLOBAIS === */

/* Reset Simples */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores do tema escuro aplicadas diretamente para o fundo */
  --bg-gradient: linear-gradient(135deg, #293969, #000000);
  --bg-color: #0b0f1b; /* Azul escuro profundo */
  --primary-text-color: #f0f0f0;

  /* Variáveis adicionais */
  --font-family-base: "Poppins", sans-serif;
  --container-width: 1140px;
  --card-bg-color: #1a202c;

  --secondary-text-color: #ffffff;
  --accent-color: #00f0c0; /* Verde ciano vibrante */
  --accent-color-darker: #00c49a;
  --border-color: #ffffff;
  --header-pill-border-color: rgba(58, 71, 90, 0.5);
  --input-border-color: #ffffff;
  --accent-color-rgb: 0, 240, 192;
  --header-height: 50px;
  --header-content-effective-height: 50px;
  --success-color: #10b981;
  --error-color: #ef4444;
  --hero-text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  --btn-hover-bg-color: #1a202c; /* Fundo do botão no hover (pode ser o mesmo que o card-bg) */
  --btn-bg-color: transparent; /* Fundo padrão do botão (transparente para mostrar a borda) */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  background-image: var(--bg-gradient);
  background-color: var(--bg-color);
  background-attachment: fixed;
  color: var(--primary-text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  padding-top: var(--header-height);
  padding-bottom: 90px; /* Aumentado um pouco para garantir espaço */
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -10;
}

/* === ESTILOS BASE DE ELEMENTOS === */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color-darker);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h4,
p,
strong,
label {
  color: var(--primary-text-color);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--secondary-text-color);
}

label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: var(--secondary-text-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

strong {
  font-weight: 600;
}

/* === LAYOUT & COMPONENTES === */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  z-index: 1;
}

section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}



/* --- ESTILOS DE BOTÃO ATUALIZADOS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  background-color: var(--btn-bg-color);
  color: var(--primary-text-color);
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.2s ease, box-shadow 0.3s ease;
  text-align: center;
  letter-spacing: normal;
  text-transform: none;
  font-size: 1rem; /* Ajustado para um tamanho mais padrão */
}

.btn:hover {
  background-color: var(--accent-color); /* Fundo accent no hover */
  color: var(--bg-color); /* Texto escuro para contraste no hover */
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.2);
}

.btn-primary {
  /* Herda de .btn */
}
.btn-primary:hover {
  /* Efeitos de hover já definidos em .btn:hover */
}

/* === HEADER === */
.header {
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: padding 0.3s ease;
}

.navbar.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px; /* Altura total do header */

  border-radius: 15px;
  padding: 0.5rem 1.5rem;
  margin-right: auto;
  margin-left: auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--header-pill-border-color);
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-left .logo {
  position: relative;
  display: block;
  height: var(--header-content-effective-height);
  width: 145px;
}
/* === SEÇÃO NOSSO SONHO === */
#our-dream {
  padding: 80px 0;
}

.our-dream-wrapper {
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 3.5rem;
  display: flex;
  gap: 3.5rem;
  border: 1px solid rgba(var(--accent-color-rgb), 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  align-items: center;
}

.our-dream-content {
  flex: 1;
}

.our-dream-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent-color); /* Usando a cor de destaque principal */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: rgba(var(--accent-color)), 0.1; /* Um fundo sutil */
  border: 1px solid rgba(var(--accent-color-rgb), 0.3);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.our-dream-content h2 {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.our-dream-content p {
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.our-dream-buttons .btn-secondary {
  background-color: var(--btn-bg-color);
  border-color: var(--border-color);
  color: var(--primary-text-color);
}

.our-dream-buttons .btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
  border-color: var(--accent-color);
}

.our-dream-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* Para posicionar a tag "CRIADO.COM IA" */
}

.our-dream-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  filter: brightness(0.8) contrast(1.2); /* Ajuste para dar um tom mais escuro e vibrante */
}

.created-by-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro semitransparente */
  color: rgba(255, 255, 255, 0.7); /* Texto mais claro */
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.logo-img-header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 160px;
  width: auto;
  max-width: none;
  transition: transform 0.3s ease, height 0.3s ease;
}
.nav-list {
  position: fixed; /* MUITO IMPORTANTE: Fixa o menu na viewport */
  top: 0; /* Alinha o topo do menu com o topo da viewport */
  right: 0; /* MUITO IMPORTANTE: Alinha o menu à direita da viewport */
  width: 100%; /* Ocupa 100% da largura da viewport (ou um valor menor, como 80vw, se quiser que ele não cubra tudo) */
  max-width: 400px; /* Adiciona um limite máximo de largura, para não ficar muito largo em tablets grandes */
  height: 100vh; /* Ocupa 100% da altura da viewport */
  background-color: var(--bg-color); /* Fundo escuro do menu */
  flex-direction: column; /* Itens em coluna */
  justify-content: center; /* Centraliza itens verticalmente */
  align-items: center; /* Centraliza itens horizontalmente */
  padding: 60px 20px; /* Padding interno */
  overflow-y: auto; /* Permite scroll se o conteúdo for grande */
  z-index: 999; /* Garante que esteja acima de quase tudo */

  transform: translateX(
    100%
  ); /* Esconde o menu totalmente para a direita, fora da tela */
  opacity: 0; /* Escondido visualmente */
  visibility: hidden; /* Não visível, não interativo */
  pointer-events: none; /* Impede cliques quando escondido */

  /* Transições para o slide-in/slide-out e opacidade */
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.4s ease-out, visibility 0s linear 0.5s; /* Atraso para visibility ao esconder */

  /* Adicionais para o visual (borda, sombra) */
  border-left: 1px solid var(--header-pill-border-color); /* Borda na lateral esquerda ao abrir */
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.3); /* Sombra para o lado esquerdo */
}

/* Estado ATIVO do menu mobile */
.nav-list.active {
  transform: translateX(0); /* Desliza para dentro da tela */
  opacity: 1; /* Totalmente visível */
  visibility: visible; /* Visível e interativo */
  pointer-events: auto; /* Permite cliques */
  /* Transições para o estado ativo (sem atraso para visibility ao mostrar) */
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.4s ease-in, visibility 0s linear 0s;
}

.nav-item {
  /* Estilo padrão para itens de navegação em desktop */
}

.nav-link {
  color: var(--secondary-text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-text-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-right {
  display: flex;
  align-items: center;
  height: var(--header-content-effective-height);
  gap: 1.2rem;
}

.social-icons-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icons-header a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.social-icons-header a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.social-icons-header a img {
  height: 16px;
  width: 16px;
  object-fit: contain;
}

.btn-agendar {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 25px;
}

/* Esconde o botão de toggle por padrão em desktop */
.nav-toggle {
  display: none; /* Garante que o botão hambúrguer apareça */
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* Garante que esteja acima de outros elementos */
  width: 40px; /* Largura do botão */
  height: 40px; /* Altura do botão */
  position: relative; /* Para posicionar o ícone do hambúrguer dentro */
  padding: 0;

  /* Novas regras para alinhamento à direita */
  margin-left: auto; /* Empurra o botão para a direita, ocupando o espaço restante */
  /* Remove padding ou outras propriedades que possam afastá-lo da borda se existirem */
  /* Se ele já estiver dentro de um flexbox, margin-left: auto é o suficiente */
}
/* Esconde os itens "mobile-only" em desktop */
.mobile-only-item {
  display: none;
}

/* Estilos do ícone Hambúrguer (para desktop, mas animado em mobile) */
.hamburger-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-text-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  width: 25px;
  height: 3px;
  background-color: var(--primary-text-color);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, top 0.3s ease, background-color 0.3s ease;
}

.hamburger-icon::before {
  top: -8px; /* Posição da linha de cima */
}

.hamburger-icon::after {
  top: 8px; /* Posição da linha de baixo */
}

/* Estilos para quando o menu está ATIVO (ícone de X) */
.nav-toggle.active .hamburger-icon {
  background-color: transparent; /* Esconde a linha do meio */
}

.nav-toggle.active .hamburger-icon::before {
  top: 0;
  transform: rotate(45deg); /* Gira para formar o X */
}

.nav-toggle.active .hamburger-icon::after {
  top: 0;
  transform: rotate(-45deg); /* Gira para formar o X */
}

/* === SEÇÃO HERO === */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Nova tag "AGÊNCIA DE IA" com gradiente accent */
.hero-tag-accent {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bg-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(
    145deg,
    var(--accent-color),
    var(--accent-color-darker)
  );
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(var(--accent-color-rgb), 0.2);
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 0.5rem; /* Ainda mais reduzido */
  text-shadow: var(--hero-text-shadow);
  color: var(--primary-text-color);
}

.hero-content h1 .highlight,
.hero-content h1 span {
  color: var(--accent-color);
}

/* Container para a imagem tags.svg */
.hero-tags-container {
  width: 100%;
  max-width: 480px; /* Levemente reduzido para telas grandes */
  margin-top: 0;
  margin-bottom: 0.75rem; /* Ainda mais reduzido */
  position: relative;
  height: auto;
}

.tags-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px; /* Levemente reduzido para telas grandes */
  object-fit: contain;
  margin-top: -100px;
  margin-bottom: -100px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  color: var(--secondary-text-color);
  text-shadow: var(--hero-text-shadow);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-buttons .btn {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
  border-radius: 15px;
}

.hero-sub-link {
  display: block;
  text-align: center;
  color: var(--primary-text-color);
  margin-top: 0;
  font-size: 1rem;
}
.hero-sub-link b {
  font-weight: 600;
  color: var(--accent-color);
}

/* === SEÇÃO DE CONTATO === */
.contact {
  overflow: hidden;
}

.contact-wrapper {
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 3.5rem;
  display: flex;
  gap: 3.5rem;
  border: 1px solid rgba(var(--accent-color-rgb), 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info {
  flex: 1;
  padding-right: 2rem;
}

.contact-info h2 {
  text-align: left;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.contact-info h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.contact-info p {
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-info ul {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(var(--accent-color-rgb), 0.15);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-color);
  border: 1px solid rgba(var(--accent-color-rgb), 0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.3);
}

.info-icon img {
  max-width: 22px;
  max-height: 22px;
}

.contact-info strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--primary-text-color);
  font-size: 1rem;
}

.contact-info li p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.contact-form {
  flex: 1.3;
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background-color: rgba(var(--bg-color), 0.7);
  border: 1px solid var(--input-border-color);
  border-radius: 15px;
  color: var(--primary-text-color);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--card-bg-color);
  box-shadow: 0 0 0 4px rgba(var(--accent-color-rgb), 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--secondary-text-color);
  opacity: 0.7;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.05rem;
  margin-top: 1rem;
  border-radius: 15px;
}

/* Notificações Toast */
#toast-container {
  position: fixed;
  top: calc(var(--header-height) + 1rem);
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: var(--card-bg-color);
  color: var(--primary-text-color);
  padding: 1rem 1.5rem;
  border-left-width: 5px;
  border-left-style: solid;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(100%);
  animation: slideInAndOut 6s forwards;
  min-width: 250px;
}

.toast.error {
  border-left-color: var(--error-color);
}

.toast.success {
  border-left-color: var(--success-color);
}
/* Estilos customizados para o Chatbot como Seção */
.inline-chat-ui {
  width: 100%;
  max-width: 700px; /* Largura máxima para a interface do chat na seção */
  height: 550px; /* Altura fixa para a área de chat */
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0 auto; /* Centraliza o chat se a largura máxima for atingida */
}

.chat-header {
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #293969;
}

.chat-header-title {
  color: #e0e0e0;
  font-size: 1.1rem;
  font-weight: 600;
}

.chat-header-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  margin-right: 12px;
  flex-shrink: 0;
}

.chat-messages {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #4f4f4f #1e1e1e;
}
.chat-messages::-webkit-scrollbar {
  width: 8px;
}
.chat-messages::-webkit-scrollbar-track {
  background: #293969;
  border-radius: 10px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background-color: #4f4f4f;
  border-radius: 10px;
  border: 2px solid #1e1e1e;
}

.message {
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 80%;
  line-height: 1.4;
  color: #e0e0e0;
}

.message.user {
  background-color: #293969;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  color: #fff;
}

.message.bot {
  background-color: #0b0f1b;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.message.bot .bot-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  background-color: #00c49a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #1e1e1e;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.message-content {
  display: flex;
  align-items: flex-start;
}

.message-text {
  word-wrap: break-word;
}

.message.typing-indicator {
  color: #aaa;
  font-style: italic;
  padding: 5px 15px;
  align-self: flex-start;
}

.chat-input-area {
  display: flex;
  padding: 12px 15px;
}

.chat-input {
  flex-grow: 1;
  padding: 10px 15px;
  border: 1px solid #293969;
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
  color: #e0e0e0;
  font-size: 0.95rem;
  margin-right: 10px;
  outline: none;
}
.chat-input:focus {
  border-color: var(--accent-color);
}

.send-btn {
  background-color: var(--accent-color);
  color: #181818;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background-color 0.2s;
}
.send-btn:hover {
  background-color: var(--accent-color-darker);
}

.chat-footer {
  padding: 8px 15px;
  text-align: center;
  font-size: 0.75rem;
  color: #888;
}

/* FOOTER FIXO ESTILIZADO */
#fixed-doubt-footer {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  width: auto;
  max-width: var(--container-width); /* Mesma largura máxima do header */
  margin-left: auto;
  margin-right: auto;

  padding: 0.5rem 1.5rem; /* Padding igual ao do header para altura consistente */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--header-pill-border-color);
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.08),
    rgba(var(--card-bg-color), 0.6)
  );
  z-index: 1000;

  display: flex;
  flex-direction: row; /* Texto e botão lado a lado */
  align-items: center; /* Alinha verticalmente ao centro */
  justify-content: center; /* Centraliza o grupo texto+botão */
  gap: 1.5rem; /* Espaço entre o texto e o botão */
}

#fixed-doubt-footer p {
  margin: 0; /* Remove margem padrão do parágrafo */
  color: #cbd5e1;
  font-size: 1rem;
}
#fixed-doubt-footer p strong {
  color: #e2e8f0;
}

.btn-maia-footer {
  background: linear-gradient(135deg, #293969, #000000);
  color: #ffffff;
  padding: 0.6rem 1.5rem; /* Padding ajustado para não aumentar muito a altura */
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #00f0c0;
  box-shadow: 0 4px 10px rgba(250, 204, 21, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
  white-space: nowrap; /* Impede que o texto do botão quebre linha */
}

.btn-maia-footer:hover {
  background: linear-gradient(135deg, #00f0c0, #000000);
  box-shadow: 0 6px 15px #00f0c0, 0 2px 5px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.btn-maia-footer:active {
  transform: translateY(0px);
  box-shadow: 0 3px 8px rgba(250, 204, 21, 0.25), 0 1px 2px rgba(0, 0, 0, 0.1);
}
.btn-maia-footer img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}
@keyframes slideInAndOut {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  10%,
  15% {
    opacity: 1;
    transform: translateX(0);
  }
  85%,
  90% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* === ESTILOS RESPONSIVOS === */
@media (max-width: 991.98px) {
  /* Medium devices (tablets, less than 992px) */
  .container {
    max-width: 960px;
  }

  :root {
    --header-height: 70px;
    --header-content-effective-height: 40px;
  }
  body {
    padding-top: var(--header-height);
  }
  .nav-list1 {
    display: none;
    visibility: hidden;
  }
  .header {
    padding: 0.25rem 0;
  }
  .navbar.container {
    padding: 0.4rem 1rem;
    border-radius: 15px;
  }
  .tags-img {
    margin-top: -50px; /* Margem negativa para sobreposição em telas grandes */
    margin-bottom: -50px; /* Margem negativa para sobreposição em telas grandes */
  }
  .navbar-left .logo {
    height: var(--header-content-effective-height);
    width: 140px;
  }
  .logo-img-header {
    height: 100px;
  }

  /* Exibe o botão de toggle e esconde a lista de navegação padrão em desktop */
  .nav-toggle {
    display: block; /* Mostra o botão de hambúrguer */
  }

  /* Esconde elementos que são apenas para desktop */
  .navbar-right .social-icons-header,
  .navbar-right .btn-agendar {
    display: none;
  }

  /* Exibe os itens "mobile-only" em mobile */
  .mobile-only-item {
    display: block; /* Ou flex, dependendo do layout interno */
  }

  /* Estilos do ícone Hambúrguer */
  .hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-text-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .hamburger-icon::before,
  .hamburger-icon::after {
    content: "";
    width: 25px;
    height: 3px;
    background-color: var(--primary-text-color);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease, background-color 0.3s ease;
  }

  .hamburger-icon::before {
    top: -8px; /* Posição da linha de cima */
  }

  .hamburger-icon::after {
    top: 8px; /* Posição da linha de baixo */
  }

  /* Estilos para quando o menu está ATIVO (ícone de X) */
  .nav-toggle.active .hamburger-icon {
    background-color: transparent; /* Esconde a linha do meio */
  }

  .nav-toggle.active .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg); /* Gira para formar o X */
  }

  .nav-toggle.active .hamburger-icon::after {
    top: 0;
    transform: rotate(-45deg); /* Gira para formar o X */
  }

  /* Estilos da lista de navegação (o menu que desliza) */
  .nav-list {
    position: fixed; /* Fixado para cobrir a tela toda */
    top: 0; /* Começa do topo da tela */
    right: 0; /* Alinha à direita (pode ser left se preferir) */
    width: 100%; /* Largura total da tela */
    height: 100vh; /* Altura total da viewport */
    background-color: var(
      --bg-color
    ); /* Fundo escuro do menu (pode ser ajustado) */
    flex-direction: column; /* Itens em coluna */
    justify-content: center; /* Centraliza itens verticalmente */
    align-items: center; /* Centraliza itens horizontalmente */
    padding: 60px 20px; /* Padding para afastar do topo/laterais */
    overflow-y: auto; /* Permite scroll se o conteúdo for grande */
    z-index: 999; /* Garante que esteja acima de quase tudo */

    transform: translateX(100%); /* Começa fora da tela (direita) */
    opacity: 0; /* Escondido */
    visibility: hidden; /* Não visível */
    pointer-events: none; /* Não clicável */
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
      opacity 0.4s ease-out, visibility 0s linear 0.5s;
    /* Cubic-bezier para uma transição de deslize mais fluida */
  }

  /* Estado ATIVO do menu mobile */
  .nav-list.active {
    transform: translateX(0); /* Desliza para dentro da tela */
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Permite cliques */
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
      opacity 0.4s ease-in, visibility 0s linear 0s;
  }

  .nav-item {
    width: 100%; /* Itens ocupam largura total */
    text-align: center;
    margin-bottom: 20px; /* Espaçamento entre os itens */
  }

  .nav-item:last-of-type {
    /* Use last-of-type para pegar o último LI */
    margin-bottom: 0;
  }

  .nav-link {
    display: block;
    padding: 15px 0; /* Mais padding para facilitar o toque */
    color: var(--primary-text-color);
    font-size: 1.4rem; /* Aumenta o tamanho da fonte */
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
  }
  .nav-link:hover,
  .nav-link.active {
    color: var(--accent-color); /* Cor de destaque no hover/active */
    background-color: rgba(var(--accent-color-rgb), 0.1); /* Um leve fundo */
    border-radius: 8px;
  }

  /* Estilos específicos para o botão Agendar Diagnóstico no mobile */
  .btn-agendar-mobile {
    width: 100%; /* Ocupa toda a largura do item */
    max-width: 300px; /* Limita a largura máxima */
    margin: 20px auto; /* Centraliza e adiciona margem */
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 15px;
  }

  /* Estilos para os ícones sociais no menu mobile */
  .social-icons-mobile {
    display: flex; /* Usa flexbox para os ícones */
    justify-content: center; /* Centraliza os ícones */
    gap: 20px; /* Espaçamento entre os ícones */
    margin-top: 30px; /* Margem superior para separar dos links */
  }

  .social-icons-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px; /* Tamanho maior para clique fácil */
    height: 45px;
    background-color: rgba(
      255,
      255,
      255,
      0.08
    ); /* Fundo um pouco mais visível */
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .social-icons-mobile a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
  }

  .social-icons-mobile a img {
    height: 22px; /* Tamanho maior para os ícones */
    width: 22px;
  }

  /* Ajustes para o copyright no footer, se o menu cobrir o rodapé */
  footer {
    z-index: 998; /* Deve ficar abaixo do menu */
  }

  @media (max-width: 767.98px) {
    /* Small devices (landscape phones, less than 768px) */
    section {
      padding: 60px 0;
    }
    h1 {
      font-size: 2.8rem;
    }
    h2 {
      font-size: 2rem;
    }
    .nav-list1 {
      display: none;
      visibility: hidden;
    }
    :root {
      --header-content-effective-height: 35px;
    }
    .navbar-left .logo {
      height: var(--header-content-effective-height);
      width: 90px;
    }
    .logo-img-header {
      height: 140px;
    }

    .navbar.container {
      padding: 0.3rem 1rem;
      border-radius: 15px;
    }

    .hero-tag-accent {
      padding: 6px 12px;
      font-size: 0.75rem;
      margin-bottom: 1.2rem;
    }
    .hero-content h1 {
      font-size: 2.8rem;
      margin-bottom: 0.3rem; /* Ainda mais reduzido */
    }
    .hero-tags-container {
      margin-bottom: 0.5rem; /* Ainda mais reduzido */
      max-width: 380px; /* Ajustado */
    }
    .tags-img {
      max-height: 240px; /* Ajustado */
    }
    .hero-content p {
      font-size: 1rem;
      max-width: 90%;
      margin-bottom: 1.8rem;
    }
    .hero-buttons .btn {
      padding: 0.8rem 1.8rem;
      font-size: 0.9rem;
      border-radius: 15px;
    }
    .hero-sub-link {
      font-size: 0.95rem;
    }

    .contact-wrapper {
      flex-direction: column;
      padding: 2rem;
      gap: 2rem;
    }
    .contact-info p {
      font-size: 1rem;
    }
    .form-group input,
    .form-group textarea {
      padding: 0.9rem 1rem;
      border-radius: 15px;
    }

    /* Ajustes específicos para o menu mobile em telas menores */
    .nav-link {
      font-size: 1.3rem;
    }
    .btn-agendar-mobile {
      padding: 12px 25px;
      font-size: 1rem;
    }
    .social-icons-mobile a {
      width: 40px;
      height: 40px;
    }
    .social-icons-mobile a img {
      height: 20px;
      width: 20px;
    }
    .nav-item {
      margin-bottom: 15px;
    }
    #fixed-doubt-footer {
      flex-direction: row; /* Volta para coluna em telas pequenas */
      padding: 0.6rem 1rem;
      gap: 0.5rem; /* Reduz o gap em telas pequenas */
    }
    #fixed-doubt-footer p {
      font-size: 0.9rem;
    }
    .btn-maia-footer {
      padding: 0.6rem 1.2rem;
      font-size: 0.9rem;
    }
    .btn-maia-footer svg {
      width: 16px;
      height: 16px;
    }
    body {
      padding-bottom: 130px; /* Mais padding no body em mobile por causa do footer em coluna */
    }
  }

  @media (max-width: 575.98px) {
    /* Extra small devices (portrait phones, less than 576px) */
    body {
      font-size: 15px;
    }
    section {
      padding: 40px 0;
    }
    h1 {
      font-size: 2.2rem;
    }
    .nav-list1 {
      display: none;
      visibility: hidden;
    }
    :root {
      --header-content-effective-height: 30px;
    }
    .navbar-left .logo {
      height: var(--header-content-effective-height);
      width: 80px;
    }
    .logo-img-header {
      height: 165px;
    }
    .navbar.container {
      padding: 0.25rem 0.75rem;
      border-radius: 15px;
    }
    /* .menu-toggle { foi substituído por .nav-toggle */
    /* font-size: 1.6rem; foi movido para .nav-toggle */
    /* Certifique-se de que não haja .menu-toggle aqui */
    .nav-toggle {
      /* Ajuste do tamanho do botão em telas muito pequenas */
      font-size: 1.6rem;
    }

    .hero-tag-accent {
      align-items: center;
      justify-content: center;
      padding: 5px 10px;
      font-size: 0.7rem;
      margin-bottom: 1rem;
    }
    .hero-content h1 {
      font-size: 2.2rem;
      line-height: 1.2;
      margin-bottom: 0.25rem; /* Ainda mais reduzido */
    }
    .hero-tags-container {
      margin-bottom: 0.4rem; /* Ainda mais reduzido */
      max-width: 280px; /* Ajustado */
    }
    .tags-img {
      max-height: 240px; /* Ajustado */
    }
    .hero-content p {
      font-size: 0.9rem;
      margin-bottom: 1.5rem;
    }
    .hero-buttons {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      width: 100%;
    }
    .hero-buttons .btn {
      width: 100%;
      max-width: 280px;
      border-radius: 15px;
    }
    .hero-sub-link {
      font-size: 0.9rem;
    }

    .contact-wrapper {
      padding: 1.5rem;
    }
    .contact-info h2 {
      font-size: 1.8rem;
    }
    .form-group input,
    .form-group textarea {
      padding: 0.8rem;
      border-radius: 15px;
    }

    .btn {
      padding: 0.9rem 1rem;
      border-radius: 15px;
    }
    .contact-form button[type="submit"] {
      padding: 1rem;
      font-size: 1rem;
      border-radius: 15px;
    }

    /* Ajustes específicos para o menu mobile em telas muito pequenas */
    .nav-link {
      font-size: 1.1rem;
    }
    .btn-agendar-mobile {
      padding: 10px 20px;
      font-size: 0.95rem;
    }
    .social-icons-mobile {
      gap: 15px;
    }
    .social-icons-mobile a {
      width: 35px;
      height: 35px;
    }
    .social-icons-mobile a img {
      height: 18px;
      width: 18px;
    }
    .nav-item {
      margin-bottom: 10px;
    }
    /* Ajuste para telas bem pequenas */
    #fixed-doubt-footer {
      gap: 0.4rem;
    }
    #fixed-doubt-footer p {
      font-size: 0.85rem;
    }
    .btn-maia-footer {
      padding: 0.5rem 1rem;
      font-size: 0.85rem;
    }
    .btn-maia-footer svg {
      width: 14px;
      height: 14px;
    }
  }
}
/* === SEÇÃO DE SERVIÇOS === */
#services {
  padding: 80px 0;
  text-align: center;
}

#services h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  font-weight: 600;
  color: var(--primary-text-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center; /* Centraliza os cards no grid */
  align-items: stretch; /* Garante que os cards tenham a mesma altura */
}

.service-card {
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(var(--accent-color-rgb), 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alinha o conteúdo à esquerda dentro do card */
  text-align: left; /* Garante que o texto dentro do card esteja à esquerda */
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(var(--accent-color-rgb), 0.2);
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.08),
    rgba(var(--card-bg-color), 0.7)
  );
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(var(--accent-color-rgb), 0.15);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(var(--accent-color-rgb), 0.3);
}

.card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-text-color);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--secondary-text-color);
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Permite que o parágrafo ocupe o espaço restante */
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: var(--accent-color-darker);
}

.card-link .arrow-icon {
  font-size: 1rem; /* Tamanho da seta */
  transition: transform 0.3s ease;
}

.card-link:hover .arrow-icon {
  transform: translateX(5px); /* Move a seta no hover */
}

/* Responsividade para a seção de serviços */
@media (max-width: 991.98px) {
  #services h2 {
    font-size: 2.5rem;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  .service-card {
    padding: 1.8rem;
  
    margin-left: 15px;
    margin-right: 15px;
  }
  .card-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 1.2rem;
  }
  .card-icon img {
    width: 25px;
    height: 25px;
  }
  .service-card h3 {
    font-size: 1.4rem;
  }
  .service-card p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 767.98px) {
  #services h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr; /* Uma coluna em telas menores */
    max-width: 400px; /* Limita a largura dos cards em mobile */
    margin: 0 auto; /* Centraliza a grade */
  }
  .service-card {
    padding: 1.5rem;
    margin-left: 15px;
    margin-right: 15px;
  }
  .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
  }
  .card-icon img {
    width: 22px;
    height: 22px;
  }
  .service-card h3 {
    font-size: 1.3rem;
  }
  .service-card p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  #services h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  .service-card {
    padding: 1.2rem;
    gap: 2rem; /* Adiciona espaço entre os elementos do card */
    margin-left: 15px;
    margin-right: 15px;
  }
  .card-icon {
    width: 35px;
    height: 35px;
  }
  .card-icon img {
    width: 20px;
    height: 20px;
  }
  .service-card h3 {
    font-size: 1.2rem;
  }
  .service-card p {
    font-size: 0.8rem;
  }
  .card-link {
    font-size: 0.9rem;
  }
}
/* RESPONSIVIDADE PARA A SEÇÃO NOSSO SONHO */
@media (max-width: 991.98px) {
  .our-dream-wrapper {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
    margin-left: 15px;
    margin-right: 15px;
  }
  .our-dream-content h2 {
    font-size: 2.2rem;
  }
  .our-dream-content p {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .our-dream-wrapper {
    padding: 2rem;
         gap: 2rem;
         margin-left: 15px;
    margin-right: 15px;
  }
.our-dream-content h2 {
    font-size: 1.8rem;
    text-align: center; /* Este já está centralizando o H2 */
  }
  .our-dream-content p {
    font-size: 0.9rem;
    text-align: center; /* Este já está centralizando o P */
  }
 
  .our-dream-buttons .btn-secondary {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }
  .created-by-tag {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
}

@media (max-width: 575.98px) {
  .our-dream-wrapper {
    padding: 1.5rem;
        
         margin-left: 15px;
    margin-right: 15px;
  }
  .our-dream-content h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  .our-dream-content p {
    font-size: 0.9rem;
    text-align: center;
  }
  .our-dream-tag {
  margin: 0 auto 1rem auto; /* Centraliza a tag */
  display: block; /* Garante que a tag seja um bloco para centralizar */
  width: fit-content; /* Ajusta a largura ao conteúdo para centralização */
}
  .our-dream-buttons {
    display: flex;
    justify-content: center; /* Centraliza o botão */
  }
  .our-dream-buttons .btn-secondary {
    width: 100%;
    max-width: 250px;
  }
  .our-dream-image {
    padding: 1rem 0; /* Adiciona padding ao redor da imagem em mobile */
  }
}
/* === SEÇÃO AGENTES DE IA / BRABAFLOW === */
#ai-agents {
  padding: 80px 0;
  text-align: center;
}

.ai-agents-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bg-color); /* Texto escuro */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(
    145deg,
    var(--accent-color),
    var(--accent-color-darker)
  ); /* Gradiente de destaque */
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(var(--accent-color-rgb), 0.2);
}

#ai-agents h2 {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-text-color);
}

#ai-agents p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: var(--secondary-text-color);
}

.brabaflow-diagram {
  position: relative;
  width: 100%;
  max-width: 900px; /* Largura máxima do diagrama */
  aspect-ratio: 16/9; /* Proporção de aspecto para o diagrama */
  margin: 0 auto;
  display: flex; /* Para centralizar os elementos */
  justify-content: center;
  align-items: center;
}

.brabaflow-center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%; /* Ajuste o tamanho da imagem central */
  max-width: 500px; /* Limite máximo para a imagem central */
  height: auto;
  object-fit: contain;
  filter: brightness(0.8) contrast(1.2); /* Suaviza a imagem central */
  z-index: 1; /* Garante que fique atrás dos cards de agente */
}

.agent-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(var(--accent-color-rgb), 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 2; /* Garante que os cards fiquem por cima */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(var(--accent-color-rgb), 0.15);
}

.agent-card img {
  width: 90px; /* Tamanho da imagem do perfil do agente */
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color); /* Borda ao redor da imagem */
  flex-shrink: 0;
}

.agent-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--primary-text-color);
  white-space: nowrap; /* Impede que o título quebre linha */
}

.agent-info small {
  font-size: 0.8rem;
  color: var(--secondary-text-color);
  white-space: nowrap; /* Impede que o subtítulo quebre linha */
}

/* Posicionamento dos cards dos agentes */
.agent-marketing {
  top: 15%;
  left: 3%;
}

.agent-sales {
  top: 15%;
  right: 0%;
}

.agent-automation {
  bottom: 15%;
  left: 3%;
}

.agent-analytics {
  bottom: 15%;
  right: 0%;
}

.agent-projects {
  bottom: 0; /* Centralizado na parte inferior */
  left: 50%;

  transform: translateX(-50%); /* Centraliza horizontalmente */
}

/* Responsividade para a seção de agentes */
@media (max-width: 991.98px) {
  #ai-agents h2 {
    font-size: 2.5rem;
  }
  #ai-agents p {
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
  }
  .brabaflow-diagram {
    aspect-ratio: 4/3; /* Ajusta proporção para tablets */
    max-width: 700px;
  }
  .brabaflow-center-image {
    width: 70%;
  }
  .agent-card {
    padding: 0.8rem 1.2rem;
    gap: 0.8rem;
  }
  .agent-card img {
    width: 75px;
    height: 75px;
  }
  .agent-info h4 {
    font-size: 1rem;
  }
  .agent-info small {
    font-size: 0.75rem;
  }

  /* Ajusta posicionamento para tablets */
  .agent-marketing {
    top: 10%;
    left: 2%;
  }
  .agent-sales {
    top: 10%;
    right: 2%;
  }
  .agent-automation {
    bottom: 10%;
    left: 2%;
  }
  .agent-analytics {
    bottom: 10%;
    right: 2%;
  }
  .agent-projects {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 767.98px) {
  #ai-agents h2 {
    font-size: 2.2rem;
    line-height: 1.1;
  }
  #ai-agents p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .brabaflow-diagram {
    aspect-ratio: 1/1.2; /* Ajusta proporção para smartphones verticais */
    max-width: 350px; /* Limita largura em telas menores */
    height: 600px; /* Altura fixa para diagramas em colunas */
    flex-direction: column; /* Coloca os cards em coluna */
    justify-content: flex-start; /* Alinha ao topo */
    align-items: center; /* Centraliza horizontalmente */
    padding-top: 50px; /* Espaço para o topo do diagrama */
  }
  .brabaflow-center-image {
    width: 90%;
    max-width: 300px;
    position: relative; /* Volta para posicionamento normal para fluxo de coluna */
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 30px; /* Espaço abaixo da imagem central */
  }
  .agent-card {
    position: relative; /* Volta para posicionamento normal no fluxo */
    width: 80%; /* Ocupa mais largura */
    max-width: 300px;
    margin-bottom: 20px; /* Espaço entre os cards */
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
  }
  .agent-card:last-child {
    margin-bottom: 0; /* Remove margem do último card */
  }
}

@media (max-width: 575.98px) {
  #ai-agents h2 {
    font-size: 1.8rem;
  }
  #ai-agents p {
    font-size: 0.9rem;
  }
  .brabaflow-diagram {
    max-width: 300px;
    height: 550px;
  }
  .brabaflow-center-image {
    width: 100%;
    max-width: 250px;
    margin-bottom: 25px;
  }
  .agent-card {
    width: 90%;
    max-width: 280px;
    margin-bottom: 15px;
    padding: 0.7rem 1rem;
    gap: 0.6rem;
  }
  .agent-card img {
    width: 40px;
    height: 40px;
  }
  .agent-info h4 {
    font-size: 0.95rem;
  }
  .agent-info small {
    font-size: 0.7rem;
  }
}
/* === SEÇÃO DE TAGS DE TECNOLOGIA (CARROSSEL) === */
#tech-tags {
  padding: 60px 0;
  overflow: hidden; /* Garante que as tags que saem da tela fiquem escondidas */
}

.tech-tags-wrapper {
  display: flex; /* Coloca os grids lado a lado */
  width: max-content; /* Permite que o wrapper tenha largura total dos grids */
  animation: scrollTags 60s linear infinite; /* Animação principal */
}

.tech-tags-wrapper:hover {
  animation-play-state: paused; /* Pausa a animação no hover */
}

.tech-tags-grid {
  display: flex;
  flex-wrap: nowrap; /* Impede que os itens quebrem linha no grid */
  gap: 1.2rem;
  padding-right: 1.2rem; /* Garante o gap entre o final de um grid e o começo do próximo */
  flex-shrink: 0; /* Impede que os grids encolham */
  justify-content: flex-start; /* Alinha os itens ao início do flex container */
  align-items: center; /* Alinha verticalmente no centro */
}

.tech-tag-item {
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
  color: var(--secondary-text-color);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: default; /* Remove o cursor de ponteiro se as tags não forem clicáveis */
}
/* === SEÇÃO DE LOGOS DE TECNOLOGIA === */
#tech-logos {
  padding: 60px 0;
}

.tech-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-logo-item {
  width: 80px; /* Ajuste o tamanho dos logos */
  height: auto;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.tech-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(var(--accent-color-rgb), 0.1);
}

/* Responsividade para os logos */
@media (max-width: 991.98px) {
  .tech-logos-grid {
    gap: 1rem;
  }
  .tech-logo-item {
    width: 70px;
  }
}

@media (max-width: 767.98px) {
  #tech-logos {
    padding: 40px 0;
  }
  .tech-logos-grid {
    gap: 0.8rem;
  }
  .tech-logo-item {
    width: 60px;
  }
}

@media (max-width: 575.98px) {
  #tech-logos {
    padding: 30px 0;
  }
  .tech-logos-grid {
    gap: 0.6rem;
  }
  .tech-logo-item {
    width: 50px;
  }
}

.tech-tag-item:hover {
  background-color: rgba(var(--accent-color-rgb), 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(var(--accent-color-rgb), 0.1);
}

/* Keyframes para a animação de rolagem */
@keyframes scrollTags {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* Move o wrapper em 50% para um loop perfeito */
  }
}


/* Responsividade para as tags */
@media (max-width: 991.98px) {
  .tech-tags-grid {
    gap: 1rem;
  }
  .tech-tag-item {
    padding: 0.7rem 1.3rem;
    font-size: 0.85rem;
  }
  /* Ajuste a velocidade da animação em telas menores, se necessário */
  .tech-tags-wrapper {
    animation-duration: 50s; /* Um pouco mais rápido */
  }
}

@media (max-width: 767.98px) {
  #tech-tags {
    padding: 40px 0;
  }
  .tech-tags-grid {
    gap: 0.8rem;
  }
  .tech-tag-item {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }
  .tech-tags-wrapper {
    animation-duration: 50s; /* Mais rápido */
  }
}

@media (max-width: 575.98px) {
  #tech-tags {
    padding: 30px 0;
  }
  .tech-tags-grid {
    gap: 0.6rem;
  }
  .tech-tag-item {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 5px;
  }
  .tech-tags-wrapper {
    animation-duration: 50s; /* Ainda mais rápido */
  }
}
/* === SEÇÃO DE PROCESSO === */
#process-section {
  padding: 80px 0;
  text-align: center;
}

.process-header {
  margin-bottom: 3.5rem;
}

.process-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bg-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(
    145deg,
    var(--accent-color),
    var(--accent-color-darker)
  );
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(var(--accent-color-rgb), 0.2);
}

#process-section h2 {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-text-color);
}

#process-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--secondary-text-color);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  
  justify-content: center;
  align-items: start; /* Alinha os cards pelo topo */
}

.process-step-card {
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 2.5rem;
  border: 1px solid rgba(var(--accent-color-rgb), 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-left: 15px;
  margin-right: 15px;
}

.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(var(--accent-color-rgb), 0.2);
}

.step-number-container {
  position: relative;
  width: 120px; /* Largura para o número e a imagem */
  height: 120px; /* Altura para o número e a imagem */
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-number {
  position: absolute;
  font-size: 6rem; /* Tamanho do número grande */
  font-weight: 700;
  color: rgba(var(--accent-color-rgb), 0.2); /* Cor translúcida */
  z-index: 1; /* Garante que o número fique atrás da imagem, se houver */
  line-height: 1;
}

.step-image {
  position: relative;
  z-index: 2; /* Garante que a imagem fique sobre o número */
  width: 60px; /* Tamanho da imagem no centro */
  height: 60px;
  object-fit: contain;
  filter: brightness(0.8) contrast(1.2) drop-shadow(0 0 8px rgba(var(--accent-color-rgb), 0.5));
}


.process-step-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-text-color);
}

.process-step-card p {
  font-size: 0.95rem;
  color: var(--secondary-text-color);
  margin-bottom: 0; /* Remove margem inferior para o último p */
}

/* Responsividade para a seção de processo */
@media (max-width: 991.98px) {
  .process-header {
    margin-bottom: 3rem;
  }
  #process-section h2 {
    font-size: 2.5rem;
  }
  #process-section p {
    font-size: 1rem;
  }
  .process-steps-grid {
    gap: 1.5rem;
  }
  .process-step-card {
    padding: 2rem;
  }
  .step-number {
    font-size: 5rem;
  }
  .step-image {
    width: 55px;
    height: 55px;
  }
  .process-step-card h3 {
    font-size: 1.6rem;
  }
  .process-step-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .process-header {
    margin-bottom: 2.5rem;
  }
  #process-section h2 {
    font-size: 2.2rem;
  }
  #process-section p {
    font-size: 0.95rem;
  }
  .process-steps-grid {
    grid-template-columns: 1fr; /* Uma coluna em telas menores */
    max-width: 400px; /* Limita a largura dos cards */
    margin: 0 auto; /* Centraliza a grade */
  }
  .process-step-card {
    padding: 1.8rem;
  }
  .step-number {
    font-size: 4.5rem;
  }
  .step-image {
    width: 50px;
    height: 50px;
  }
  .process-step-card h3 {
    font-size: 1.4rem;
  }
  .process-step-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .process-header {
    margin-bottom: 2rem;
  }
  #process-section h2 {
    font-size: 1.8rem;
  }
  #process-section p {
    font-size: 0.9rem;
  }
  .process-step-card {
    padding: 1.5rem;
  }
  .step-number {
    font-size: 4rem;
  }
  .step-image {
    width: 45px;
    height: 45px;
  }
  .process-step-card h3 {
    font-size: 1.2rem;
  }
  .process-step-card p {
    font-size: 0.8rem;
  }
}
/* === SEÇÃO VIDA NOVA === */
#new-life-section {
  padding: 80px 0;
  overflow: hidden;
}

.new-life-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem; /* Espaçamento entre a imagem e o conteúdo */
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.03), /* Levemente mais sutil */
    rgba(var(--card-bg-color), 0.4) /* Fundo um pouco mais transparente */
  );
  margin-left: 15px;
  margin-right: 15px;
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 3.5rem;
  border: 1px solid rgba(var(--accent-color-rgb), 0.1); /* Borda mais sutil */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.new-life-image-area {
  flex: 1;
  position: relative;
  max-width: 50%; /* Limita a largura da imagem em desktop */
}

.new-life-main-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  filter: brightness(0.9) contrast(1.1); /* Suaviza a imagem */
}

.new-life-image-overlay-text {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
}

.new-life-content {
  flex: 1;
  text-align: left;
}

.new-life-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bg-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(
    145deg,
    var(--accent-color),
    var(--accent-color-darker)
  );
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(var(--accent-color-rgb), 0.2);
}

.new-life-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-text-color);
}

.new-life-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--secondary-text-color);
}

.new-life-benefits-grid {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap; /* Permite que os itens quebrem linha */
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(var(--accent-color-rgb), 0.08); /* Fundo sutil para o benefício */
  border: 1px solid rgba(var(--accent-color-rgb), 0.2);
  border-radius: 10px;
  padding: 1rem;
  color: var(--primary-text-color);
  font-weight: 500;
  font-size: 0.9rem;
  min-width: 120px; /* Largura mínima para o item */
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 8px rgba(var(--accent-color-rgb), 0.2);
}

.benefit-icon {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.new-life-cta {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.new-life-sub-link {
  display: block; /* Para que fique em sua própria linha */
  text-align: left; /* Alinha o texto à esquerda */
  color: var(--primary-text-color);
  font-size: 1rem;
}
.new-life-sub-link b {
  font-weight: 600;
  color: var(--accent-color);
}

/* Responsividade para a seção Vida Nova */
@media (max-width: 991.98px) {
  .new-life-wrapper {
    flex-direction: column; /* Empilha a imagem e o conteúdo */
    gap: 2.5rem;
    padding: 2.5rem;
  }
  .new-life-image-area {
    max-width: 80%; /* Aumenta o tamanho da imagem em tablets */
  }
  .new-life-content {
    text-align: center; /* Centraliza o texto em tablets */
  }
  .new-life-tag {
    margin: 0 auto 1.5rem auto; /* Centraliza a tag */
  }
  .new-life-content h2 {
    font-size: 2.2rem;
  }
  .new-life-content p {
    font-size: 0.95rem;
  }
  .new-life-benefits-grid {
    justify-content: center; /* Centraliza os itens de benefício */
  }
  .new-life-cta {
    margin: 0 auto 1rem auto; /* Centraliza o botão */
  }
  .new-life-sub-link {
    text-align: center; /* Centraliza o sub-link */
  }
}

@media (max-width: 767.98px) {
  .new-life-wrapper {
    padding: 2rem;
  }
  .new-life-image-area {
    max-width: 100%; /* Imagem ocupa largura total em mobile */
  }
  .new-life-content h2 {
    font-size: 2rem;
  }
  .new-life-content p {
    font-size: 0.9rem;
  }
  .new-life-benefits-grid {
    gap: 1rem;
  }
  .benefit-item {
    padding: 0.8rem;
    font-size: 0.8rem;
    min-width: 100px;
  }
  .benefit-icon {
    width: 28px;
    height: 28px;
  }
  .new-life-cta {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }
  .new-life-sub-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .new-life-wrapper {
    padding: 1.5rem;
    gap: 2rem;
  }
  .new-life-content h2 {
    font-size: 1.8rem;
  }
  .new-life-content p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  .new-life-benefits-grid {
    flex-direction: column; /* Empilha os benefícios em telas muito pequenas */
    align-items: center;
    gap: 0.8rem;
  }
  .benefit-item {
    width: 100%; /* Ocupa largura total */
    max-width: 180px; /* Limita a largura para não ficar muito grande */
    padding: 0.7rem;
    font-size: 0.85rem;
  }
  .benefit-icon {
    width: 24px;
    height: 24px;
  }
  .new-life-cta {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    width: 100%;
    max-width: 250px;
  }
  .new-life-sub-link {
    font-size: 0.85rem;
  }
}
/* === SEÇÃO POWERED BY CARROSSEL === */
#powered-by-carousel {
  padding: 60px 0; /* Ajuste o padding conforme necessário */
  overflow: hidden; /* Oculta o conteúdo que excede o contêiner */
  text-align: center;
}

.powered-by-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--secondary-text-color);
  margin-bottom: 2rem; /* Espaço entre o título e o carrossel */
}

.powered-by-wrapper {
  display: flex; /* Coloca os dois grids lado a lado */
  width: max-content; /* Permite que o wrapper tenha largura total dos grids */
  animation: scrollPoweredBy 40s linear infinite; /* Animação principal */
}

.powered-by-wrapper:hover {
  animation-play-state: paused; /* Pausa a animação no hover */
}

.powered-by-grid {
  display: flex;
  flex-wrap: nowrap; /* Impede que os logos quebrem linha */
  gap: 3rem; /* Espaçamento entre os logos */
  padding-right: 3rem; /* Garante o gap entre o final de um grid e o começo do próximo */
  flex-shrink: 0; /* Impede que os grids encolham */
  align-items: center; /* Alinha verticalmente os logos */
}

.powered-by-logo {
  height: 35px; /* Altura padrão para os logos */
  width: auto;
  object-fit: contain;
  filter: brightness(0.8); /* Deixa os logos um pouco mais escuros para o fundo */
  opacity: 0.7; /* Transparência para os logos */
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.powered-by-logo:hover {
  opacity: 1; /* Logos mais visíveis no hover */
  filter: brightness(1); /* Remove o escurecimento no hover */
}

/* Keyframes para a animação de rolagem */
@keyframes scrollPoweredBy {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* Move o wrapper em 50% para um loop perfeito */
  }
}

/* Responsividade para o carrossel Powered By */
@media (max-width: 991.98px) {
  .powered-by-grid {
    gap: 2.5rem;
    padding-right: 2.5rem;
  }
  .powered-by-logo {
    height: 30px;
  }
  .powered-by-wrapper {
    animation-duration: 35s; /* Ajusta a velocidade */
  }
}

@media (max-width: 767.98px) {
  #powered-by-carousel {
    padding: 40px 0;
  }
  .powered-by-grid {
    gap: 2rem;
    padding-right: 2rem;
  }
  .powered-by-logo {
    height: 25px;
  }
  .powered-by-wrapper {
    animation-duration: 30s; /* Ajusta a velocidade */
  }
}

@media (max-width: 575.98px) {
  #powered-by-carousel {
    padding: 30px 0;
  }
  .powered-by-title {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .powered-by-grid {
    gap: 1.5rem;
    padding-right: 1.5rem;
  }
  .powered-by-logo {
    height: 20px;
  }
  .powered-by-wrapper {
    animation-duration: 25s; /* Ajusta a velocidade */
  }
}
/* === SEÇÃO DE FAQ (PERGUNTAS FREQUENTES) === */
#faq-section {
  padding: 80px 0;
  text-align: center;
}

.faq-header {
  margin-bottom: 3.5rem;
}

.faq-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bg-color); /* Texto escuro */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(
    145deg,
    var(--accent-color),
    var(--accent-color-darker)
  );
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(var(--accent-color-rgb), 0.2);
}

#faq-section h2 {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-text-color);
}

.faq-accordion {
  max-width: 800px; /* Largura máxima para o acordeão */
  margin: 0 auto;
  text-align: left; /* Alinha o texto das perguntas à esquerda */
}

.accordion-item {
  background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
  backdrop-filter: blur(5px);
  border-radius: 15px;
  border: 1px solid rgba(var(--accent-color-rgb), 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem; /* Espaçamento entre os itens do acordeão */
  overflow: hidden; /* Garante que o conteúdo seja cortado */
  transition: all 0.3s ease;
  margin-left: 15px;
  margin-right: 15px;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.2rem 2rem;
  background-color: transparent; /* Fundo transparente */
  border: none;
  color: var(--primary-text-color);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-header:hover {
  background-color: rgba(var(--accent-color-rgb), 0.05); /* Leve destaque no hover */
  color: var(--accent-color);
}

.accordion-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0; /* Impede que o ícone encolha */
  transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background-color: var(--accent-color);
  transition: transform 0.3s ease;
}

.accordion-icon::before {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.accordion-icon::after {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion-item.active .accordion-icon::before {
  transform: translateX(-50%) rotate(90deg); /* Gira a barra vertical para esconder */
}

.accordion-item.active .accordion-icon::after {
  transform: translateY(-50%) rotate(180deg); /* Gira a barra horizontal */
}

.accordion-content {
  padding: 0 2rem; /* Padding horizontal */
  max-height: 0; /* Inicia escondido */
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: var(--secondary-text-color);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-content p {
  padding-bottom: 1.5rem; /* Padding inferior do parágrafo dentro do conteúdo */
  margin-bottom: 0; /* Remove margem padrão do p */
}

.accordion-item.active .accordion-content {
  max-height: 200px; /* Ajuste conforme o conteúdo, precisa ser maior que o conteúdo */
  /* ou use 'max-content' mas pode causar um 'jump' */
  padding-bottom: 1.5rem; /* Adiciona padding inferior ao conteúdo expandido */
}

/* Responsividade para a seção FAQ */
@media (max-width: 991.98px) {
  .faq-header {
    margin-bottom: 3rem;
  }
  #faq-section h2 {
    font-size: 2.5rem;
  }
  .accordion-header {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  .accordion-content {
    padding: 0 1.5rem;
    font-size: 0.9rem;
  }
  .accordion-content p {
    padding-bottom: 1.2rem;
  }
}

@media (max-width: 767.98px) {
  .faq-header {
    margin-bottom: 2.5rem;
  }
  #faq-section h2 {
    font-size: 2.2rem;
  }
  .accordion-item {
    border-radius: 10px;
  }
  .accordion-header {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
  }
  .accordion-icon {
    width: 20px;
    height: 20px;
  }
  .accordion-content {
    padding: 0 1.2rem;
    font-size: 0.85rem;
  }
  .accordion-content p {
    padding-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .faq-header {
    margin-bottom: 2rem;
  }
  #faq-section h2 {
    font-size: 1.8rem;
  }
  .accordion-item {
    border-radius: 8px;
  }
  .accordion-header {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
  .accordion-icon {
    width: 18px;
    height: 18px;
  }
  .accordion-icon::before,
  .accordion-icon::after {
    width: 1.5px; /* Barras mais finas em mobile */
    height: 18px; /* Ajusta altura da barra vertical */
  }
  .accordion-icon::after {
    width: 18px; /* Ajusta largura da barra horizontal */
    height: 1.5px;
  }
  .accordion-content {
    padding: 0 1rem;
    font-size: 0.8rem;
  }
  .accordion-content p {
    padding-bottom: 0.8rem;
  }
}
/* === RODAPÉ PRINCIPAL === */
#main-footer {
  border: 1px solid rgba(var(--accent-color-rgb), 0.1);
  padding: 80px 0 0 0; /* Padding superior, sem padding inferior no bloco principal */
  color: var(--secondary-text-color);
  font-size: 0.9rem;
  position: relative; /* Para o "Voltar para o Topo" e particles-js se comportarem bem */
  z-index: 1; /* Garante que o rodapé esteja acima de particles-js */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 4rem; /* Espaçamento entre as colunas e o rodapé inferior */
}

.footer-column h4 {
  font-size: 1.1rem;
  color: var(--primary-text-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: var(--secondary-text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--accent-color);
}

.footer-column p {
  margin-bottom: 0.6rem;
  color: var(--secondary-text-color);
  line-height: 1.5;
}

.reclame-aqui-logo {
  width: 120px;
  height: auto;
  margin-top: 1rem;
  display: block;
}

.footer-newsletter .newsletter-form input {
  width: 100%;
  padding: 0.8rem 1rem;

  border: 1px solid #333;
  border-radius: 8px;
  color: var(--primary-text-color);
  font-family: inherit;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-newsletter .newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.footer-newsletter .newsletter-form .privacy-text {
  font-size: 0.75rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.footer-newsletter .newsletter-form .privacy-text a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-newsletter .newsletter-form .privacy-text a:hover {
  text-decoration: underline;
}

.footer-newsletter .newsletter-form .btn {
  width: auto; /* Para não ocupar 100% da largura */
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* Rodapé Inferior */
.footer-bottom {

 background: linear-gradient(
    145deg,
    rgba(var(--accent-color-rgb), 0.05),
    rgba(var(--card-bg-color), 0.5)
  );
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Permite que os itens quebrem linha */
  gap: 1.5rem; /* Espaçamento entre os itens */
}

.copyright {
  font-size: 0.75rem;
  color: #888;
  max-width: 60%; /* Limita a largura do texto de copyright */
  line-height: 1.6;
}

.footer-links-bottom {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links-bottom a {
  color: #888;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
  color: var(--accent-color);
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-to-top:hover {
  color: var(--accent-color);
}

.arrow-icon-up {
  font-size: 1.2rem;
  line-height: 1;
}

/* Botão Flutuante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px; /* Ajuste a distância da parte inferior */
  right: 20px; /* Ajuste a distância da direita */
  background-color: #25d366; /* Cor verde do WhatsApp */
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}


/* === RESPONSIVIDADE PARA O RODAPÉ === */
@media (max-width: 991.98px) {
  #main-footer {
    padding: 60px 0 0 0;
  }
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding-bottom: 3rem;
  }
  .footer-column h4 {
    margin-bottom: 1rem;
  }
  .footer-column ul li {
    margin-bottom: 0.6rem;
  }
  .footer-newsletter .newsletter-form .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  .footer-bottom {
    padding: 1.5rem 0;
  }
  .copyright {
    max-width: 100%; /* Ocupa a largura total em telas menores */
    text-align: center;
    order: 2; /* Garante que o copyright fique por baixo */
  }
  .footer-bottom-content {
    flex-direction: column; /* Empilha os itens */
    gap: 1rem;
  }
  .footer-links-bottom {
    justify-content: center;
    order: 1; /* Links ficam acima do copyright */
  }
  .back-to-top {
    order: 0; /* Botão "Voltar para o Topo" fica no topo */
    margin-bottom: 1rem;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 767.98px) {
  #main-footer {
    padding: 50px 0 0 0;
  }
  .footer-content {
    grid-template-columns: 1fr; /* Uma coluna em telas muito pequenas */
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .footer-column {
    text-align: center;
  }
  .footer-column ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }
  .footer-column ul li {
    margin-bottom: 0;
  }
  .footer-newsletter .newsletter-form input,
  .footer-newsletter .newsletter-form .btn {
    max-width: 300px; /* Limita a largura do input/botão */
    margin-left: auto;
    margin-right: auto;
  }
  .reclame-aqui-logo {
    margin: 1rem auto 0 auto; /* Centraliza o logo */
  }
}

@media (max-width: 575.98px) {
  #main-footer {
    padding: 40px 0 0 0;
  }
  .footer-content {
    gap: 1.5rem;
  }
  .footer-column h4 {
    font-size: 1rem;
  }
  .footer-column p,
  .footer-column ul li a {
    font-size: 0.85rem;
  }
  .footer-newsletter .newsletter-form .privacy-text {
    font-size: 0.7rem;
  }
  .footer-bottom {
    padding: 1rem 0;
  }
  .copyright,
  .footer-links-bottom a,
  .back-to-top {
    font-size: 0.7rem;
  }
  .back-to-top .arrow-icon-up {
    font-size: 1rem;
  }
  .whatsapp-float {
    width: 45px;
    height: 45px;
    bottom: 10px;
    right: 10px;
  }
  .whatsapp-float img {
    width: 25px;
    height: 25px;
  }
  .tech-tags{
    display: none;
    visibility: hidden;
  }
  .tech-tags-wrapper{
 display: none;
    visibility: hidden;
  }
}