/* =========================
   MIND RUSH - COMPONENTES REUTILIZÁVEIS
   Header, Cards, Botões, Forms, Footer, etc.
========================= */

/* =========================
   HEADER E NAVEGAÇÃO
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: transparent; /* O header começa transparente por defeito */
  transition: var(--transition);
  height: var(--header-height);
}
body:not(.page-home) header,
header.glass-card {
  background: rgba(35, 35, 79, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 1rem 0;
}

/* =========================
   LOGO
========================= */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  z-index: 1002;
  /* Estilos para visibilidade e transição suave */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo img {
  height: clamp(50px, 8vw, 70px);
  width: auto;
}

@media (min-width: 769px) {
  .page-home header:not(.glass-card) .logo {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }
}

/* Mobile: header sempre opaco, logo sempre visível */
@media (max-width: 768px) {
  header {
    background: rgba(35, 35, 79, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--border-glass) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  }

  .logo {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Menu mobile otimizado - não ocupar tela toda */
  #navbar .dropdown-menu {
    width: min(350px, 90vw); /* Largura limitada */
    height: auto; /* Altura automática */
    max-height: 70vh; /* Altura máxima */
    padding: 1.5rem 1rem; /* Padding reduzido */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinhamento no topo */
    align-items: center;
    text-align: center;
    top: var(--header-height);
    right: 1rem; /* Margem da borda direita */
    border-radius: 1rem; /* Cantos arredondados */
    overflow-y: auto; /* Scroll se necessário */
  }

  .dropdown-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem; /* Gap menor */
    width: 100%;
    padding: 0.5rem; /* Padding menor */
  }

  /* Menu simples - compacto */
  .dropdown-links a {
    font-size: 1rem; /* Fonte menor */
    padding: 0.75rem 1.5rem; /* Padding menor */
    color: var(--text);
    text-align: center;
    transition: var(--transition);
    border-radius: 0.5rem;
    min-width: 180px; /* Largura menor */
  }

  .dropdown-links a:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
  }
}
/* =========================
   CONTROLES DO HEADER
========================= */
.header-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 1002;
}

/* =========================
   MENU TOGGLE E HAMBURGER
========================= */
.menu-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: calc(var(--z-menu-dropdown) + 1);
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 0;
  color: transparent;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.menu-toggle:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.hamburger {
  width: 20px;
  height: 16px;
  position: relative;
  display: block;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  left: 0;
  display: block;
}

.hamburger span:nth-child(1) { 
  top: 0; 
}

.hamburger span:nth-child(2) { 
  top: 7px; 
}

.hamburger span:nth-child(3) { 
  bottom: 0; 
}

/* Estados ativos do hamburger */
#navbar .menu-toggle.active .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 7px;
}

#navbar .menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

#navbar .menu-toggle.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 7px;
}

.menu-toggle:hover .hamburger span {
  background: var(--secondary);
}

/* =========================
   LANGUAGE SWITCHER
========================= */
.language-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.language-switcher select {
  background: rgba(35, 35, 79, 0.8);
  color: var(--text);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  min-width: 120px;
  backdrop-filter: blur(10px);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.language-switcher select:hover {
  border-color: var(--secondary);
  background: rgba(35, 35, 79, 0.9);
}

.language-switcher select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(41, 216, 228, 0.1);
  background: rgba(35, 35, 79, 0.95);
}

.language-switcher .globe-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.language-switcher select:hover ~ .globe-icon {
  color: var(--secondary);
}

.language-switcher::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--text-muted);
  pointer-events: none;
}

.language-switcher:hover::after {
  border-top-color: var(--secondary);
}

/* =========================
   DROPDOWN MENU
========================= */
#navbar .dropdown-menu {
  position: fixed !important;
  top: var(--header-height);
  right: 0;
  width: min(400px, 100vw);
  background: rgba(26, 26, 61, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-top: none;
  border-radius: 0 0 0 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 1rem 0;
  z-index: 9999;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

#navbar .dropdown-menu.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
  animation: slideInMenu 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 9999;
}

/* Menu com z-index simples */
.dropdown-menu {
  z-index: 9999;
}

@keyframes slideInMenu {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.dropdown-content h2,
.dropdown-content p {
  display: none !important;
}

.dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1rem;
}

.dropdown-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  transition: var(--transition);
  display: block;
  text-align: left;
  border-radius: 0.5rem;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.dropdown-links a:hover,
.dropdown-links a:focus {
  color: var(--secondary);
  background: rgba(41, 216, 228, 0.15);
  transform: translateX(4px);
  outline: none;
}

.dropdown-links a::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(41, 216, 228, 0.1), transparent);
  transition: left 0.5s ease;
}

.dropdown-links a:hover::before {
  left: 100%;
}

/* =========================
   MENU OVERLAY
========================= */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-menu-overlay);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Prevenção de scroll durante menu aberto */
body.menu-open {
  overflow: hidden;
}

/* =========================
   BREADCRUMBS
========================= */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--secondary);
  transition: var(--transition);
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  color: var(--primary);
  outline: none;
}

.breadcrumb-separator {
  color: var(--text-muted);
  margin: 0 0.25rem;
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* =========================
   CARDS
========================= */
.card {
  background: rgba(35, 35, 79, 0.6) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 1rem !important;
  padding: var(--card-padding) !important;
  transition: var(--transition) !important;
  position: relative !important;
  overflow: hidden !important;
}

.card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(41, 216, 228, 0.5) !important;
}

.card:focus-within {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.card h3,
.card .card-content h3 {
  font-size: clamp(0.9rem, 2.5vw, 0.95rem) !important;
  line-height: 1.3 !important;
  margin-bottom: 0.75rem !important;
  color: var(--text) !important;
  font-weight: 600 !important;
}

/* =========================
   SOLUTION CARDS
========================= */
#solucoes .solution-card {
  position: relative;
  text-align: center;
  padding: 2rem !important;
  transition: all 0.3s ease !important;
}

#solucoes .solution-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
}

.solution-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-circle {
  /* Removido: background, border-radius, box-shadow */
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.solution-card:hover .icon-circle {
  transform: scale(1.1);
}

.solution-icon .icon {
  width: 36px; /* Aumentado 30%: 28px * 1.3 = 36px */
  height: 36px; /* Aumentado 30%: 28px * 1.3 = 36px */
  color: var(--primary);
  stroke-width: 2.5;
}

#solucoes .solution-card h3 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  color: var(--text) !important;
  line-height: 1.3 !important;
}

#solucoes .solution-card p {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* =========================
   PROJECT E BLOG CARDS
========================= */
#projetos .card,
#blog .card {
  padding: 0 !important;
  overflow: hidden !important;
}

#projetos .project-image,
#blog .blog-image {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

#projetos .card-content,
#blog .card-content {
  padding: 1.5rem !important;
}

#projetos .card-content h3,
#blog .card-content h3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
}

/* Blog: títulos 35% menores */
#blog .card-content h3 {
  font-size: clamp(0.6rem, 1.6vw, 0.62rem) !important; /* 35% menor que 0.9-0.95rem */
}

#projetos .card-content p,
#projetos .card-content .blog-excerpt,
#projetos .card-content .read-more {
  display: none !important;
}

/* Blog: mostrar conteúdo com margens adequadas */
#blog .card-content .blog-excerpt {
  display: block !important;
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: var(--text-muted);
}

#blog .card-content .read-more {
  display: inline-block !important;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}

#blog .card-content .read-more:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

/* =========================
   BOTÕES
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  background: transparent;
  border: 2px solid rgba(224, 224, 224, 0.5);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
}

.btn:hover,
.btn:focus {
  background: var(--btn-hover);
  color: #fff;
  border-color: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(41, 216, 228, 0.3);
  outline: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 8px 20px rgba(41, 216, 228, 0.3);
}

/* Botão Ver Todos */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-view-all:hover,
.btn-view-all:focus {
  background: var(--secondary);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(41, 216, 228, 0.3);
  outline: none;
}

.btn-view-all svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.btn-view-all:hover svg {
  transform: translateX(4px);
}

/* Estados loading */
.btn-view-all.loading,
.btn-submit.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-view-all.loading::after,
.btn-submit.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.btn-submit.loading::after {
  width: 20px;
  height: 20px;
  margin-left: 10px;
}

/* =========================
   TECNOLOGIAS
========================= */
.tech-title {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text);
}

.tech-grid {
  display: flex;
  justify-content: center;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  justify-content: center;
  align-items: center;
}

.tech-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-item::after {
  content: attr(data-name);
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  z-index: 5;
}

.tech-item:hover::after {
  opacity: 1;
}

.tech-icon svg {
  width: clamp(24px, 5vw, 32px);
  height: clamp(24px, 5vw, 32px);
  opacity: 0.6;
  filter: grayscale(100%);
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.tech-item:hover .tech-icon svg {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.15);
}

/* =========================
   CLIENTES CARROSSEL
========================= */
.clients-grid {
  position: relative;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
}

.clients-slider {
  display: inline-flex;
  align-items: center;
  animation: scroll-infinite 42s linear infinite; /* Velocidade aumentada 30%: 60s / 1.3 ≈ 42s */
  gap: 1rem;
}

@keyframes scroll-infinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.clients-grid:hover .clients-slider {
  animation-play-state: paused;
}

.clients-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(80px, 15vw, 120px);
  height: clamp(50px, 10vw, 70px);
  flex-shrink: 0;
  padding: 0 0.5rem;
}

.clients-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
  transition: var(--transition);
}

.clients-item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.1);
}

/* =========================
   FORMULÁRIOS
========================= */
.contact-form {
  background: rgba(15, 15, 30, 0.6); /* Mais transparente: 0.9 → 0.6 */
  backdrop-filter: blur(25px);
  border: 1px solid rgba(41, 216, 228, 0.2); /* Border mais sutil */
  border-radius: 2rem;
  padding: clamp(3rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), /* Sombra mais suave */
              0 0 0 1px rgba(41, 216, 228, 0.1) inset;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, 
    rgba(41, 216, 228, 0.2), 
    rgba(216, 50, 143, 0.1), 
    rgba(41, 216, 228, 0.2)
  );
  border-radius: 2rem;
  opacity: 0.5;
  z-index: -1;
  animation: techGlow 4s ease-in-out infinite alternate;
}

@keyframes techGlow {
  0% {
    background: linear-gradient(45deg, 
      rgba(41, 216, 228, 0.2), 
      rgba(216, 50, 143, 0.1), 
      rgba(41, 216, 228, 0.2)
    );
    opacity: 0.5;
  }
  100% {
    background: linear-gradient(45deg, 
      rgba(216, 50, 143, 0.15), 
      rgba(41, 216, 228, 0.1), 
      rgba(216, 50, 143, 0.15)
    );
    opacity: 0.7;
  }
}

.form-group {
  grid-column: span 1;
  margin-bottom: 2rem;
}

.form-group.full-width,
.form-submit {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 0.75rem;
  color: var(--text);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(41, 216, 228, 0.1);
  background: rgba(0, 0, 0, 0.4);
}

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

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(41, 216, 228, 0.5);
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.btn-submit {
  min-width: 200px;
  position: relative;
}

/* Estados de validação */
.form-group.error input,
.form-group.error textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success textarea {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-error,
.form-success {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-error {
  color: var(--error);
}

.form-success {
  color: var(--success);
}

/* =========================
   NOTIFICAÇÕES
========================= */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  z-index: 9999;
  max-width: 400px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-close:hover {
  color: var(--text);
}

.notification--success {
  border-left: 4px solid var(--success);
}

.notification--error {
  border-left: 4px solid var(--error);
}

.notification--info {
  border-left: 4px solid var(--secondary);
}

/* =========================
   FOOTER
========================= */
footer {
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

footer .f-logo img {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  transition: var(--transition);
  display: block;
  text-align: justify;
}

.footer-section a:hover,
.footer-section a:focus {
  color: var(--secondary);
  transform: translateX(2px);
  outline: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
}

.social-link:hover,
.social-link:focus {
  color: var(--secondary);
  transform: translateY(-2px);
  background: rgba(41, 216, 228, 0.1);
  outline: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-item:hover {
  color: var(--secondary);
}

.contact-icon {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* =========================
   RESPONSIVE COMPONENTES
========================= */

/* Mobile */
@media (max-width: 768px) {
  .dropdown-menu {
    width: 100vw;
    border-radius: 0;
    border-right: none;
    top: var(--header-height);
  }
  
  .dropdown-menu .dropdown-links {
    padding: 0 2rem;
  }
  
  .dropdown-menu .dropdown-links a {
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .dropdown-menu .dropdown-links a:last-child {
    border-bottom: none;
  }

  .logo {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  .contact-form {
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 1.5rem;
    grid-template-columns: 1fr !important; /* Uma coluna no mobile */
    gap: 1.5rem;
    margin: 0 1rem; /* Margens laterais */
  }

  .form-group input,
  .form-group textarea {
    padding: 1rem 1.25rem; /* Mais padding para facilitar touch */
    font-size: 1rem; /* Texto maior */
    border-radius: 0.75rem;
  }

  .form-group textarea {
    min-height: 120px; /* Altura mínima do textarea */
  }

  .form-submit .btn {
    width: 100%; /* Botão full width */
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
    text-align: center; /* Centralizar todo o footer */
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Menor gap */
    margin-bottom: 2rem;
    text-align: center; /* Garantir centralização */
  }

  /* Logo centralizado */
  footer .f-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  footer .f-logo img {
    height: 60px;
  }

  /* Seções do footer centralizadas */
  .footer-section {
    text-align: center;
  }

  .footer-section h3 {
    margin-bottom: 1rem;
  }

  /* Redes sociais centralizadas */
  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }

  /* Texto centralizado */
  .footer-section p {
    text-align: center;
    margin-bottom: 1rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   ACESSIBILIDADE AVANÇADA
========================= */
body.keyboard-navigation .menu-toggle:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================
   FALLBACKS PARA BROWSERS ANTIGOS
========================= */
@supports not (backdrop-filter: blur(20px)) {
  .dropdown-menu {
    background: rgba(26, 26, 61, 0.95);
  }
}

/* =========================
   PREFERÊNCIAS DE ACESSIBILIDADE
========================= */
@media (prefers-reduced-motion: reduce) {
  .dropdown-menu,
  .menu-toggle .hamburger span,
  .menu-overlay {
    transition: none;
    animation: none;
  }
  
  .dropdown-menu.active {
    animation: none;
  }
  
  .clients-slider {
    animation: none;
  }
}