:root {
  --primary:           #00703c;
  --primary-dark:      #005a30;
  --primary-light:     #e8f5ee;
  --accent:            #f8a51b;
  --accent-dark:       #e09010;
  --accent-text:       #a86a00; /* variante escura do accent, usada em texto p/ contraste WCAG AA */
  --dark:              #1a1a2e;
  --gray-900:          #2d2d2d;
  --gray-700:          #555;
  --gray-500:          #6b6b6b; /* escurecido em relação ao original (#888) para atingir contraste AA */
  --gray-300:          #d0d0d0;
  --gray-100:          #f4f4f6;
  --white:             #ffffff;
  --card-shadow:       0 2px 12px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.14);
  --radius-sm:         6px;
  --radius-md:         12px;
  --radius-lg:         20px;
  --radius-pill:       100px;
  --transition:        0.25s ease;
  --header-height:     88px;
  --touch-target:      44px; /* área mínima de toque recomendada */

  /* Acento frio usado só nos 3 cards de "Como aproveitar" (cada um com sua cor) */
  --teal:              #0e7c86;
  --font-display:      'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Gradiente institucional usado no hero e no CTA final */
  --gradient-vibrant:  linear-gradient(135deg, #00703c 0%, #045a4a 45%, #0b3a52 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1rem; /* 16px base — evita zoom automático em inputs no iOS Safari */
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--gray-100);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* rede de segurança contra scroll horizontal indesejado */
}

/* REDESIGN VISUAL: fonte display (Poppins) para títulos — mais bold e marcante */
h1, h2, h3,
.logo-title,
.tab-btn,
.btn-primary {
  font-family: var(--font-display);
}

a {
  text-decoration: none;
  color: inherit;
}

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

::selection {
  background: var(--accent);
  color: var(--dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Link de acessibilidade: permite pular direto para o conteúdo via teclado */
.skip-link {
  position: absolute;
  top: -60px;
  left: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 2000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 8px;
}

/* Estado de foco visível e consistente para navegação via teclado (WCAG AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.tab-btn:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
}

/* =====================================================
   HEADER
===================================================== */
.header {
  /* REDESIGN VISUAL: glass mais expressivo (saturação) + fio de cor no rodapé do header */
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.07);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

.header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--accent));
  opacity: 0.85;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.logo-apresentacao {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.2;
  min-width: 0;
}

.logo-title {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.logo-title em {
  font-style: normal;
  color: var(--accent-text);
}

.logo-text p {
  font-size: 0.82rem;
  color: var(--gray-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-menu a {
  display: flex;
  align-items: center;
  min-height: var(--touch-target);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gray-700);
  padding: 0 16px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: var(--touch-target);
  height: var(--touch-target);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   HERO / CAPA
===================================================== */
/* A arte capaabrasel.jpg (feita pelo time de mkt) é a capa em si — já vem com título,
   subtítulo e um botão desenhados por dentro da imagem. Fica contida dentro do
   container normal da página (até 1100px), com cantos arredondados — não ocupa a
   tela inteira. Embaixo dela: badge de credibilidade + os 2 botões REAIS/clicáveis,
   sobre o mesmo gradiente institucional do resto da página. */
.hero-with-logo {
  position: relative;
  background: var(--gradient-vibrant);
  margin-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
  padding-top: 36px;
}

.hero-banner-wrapper {
  position: relative;
  z-index: 2;
}

.hero-banner-img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* Padrão geométrico discreto (mesmo motivo do CTA) + um brilho diagonal que desliza
   bem devagar por cima — textura e movimento sem recorrer a manchas de cor desfocadas */
.hero-with-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.09) 50%, transparent 65%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 260% 260%, auto;
  background-position: 0% 0%, 0 0;
  animation: sheenSweep 10s ease-in-out infinite;
}

@keyframes sheenSweep {
  0%, 100% { background-position: 0% 0%, 0 0; }
  50%      { background-position: 100% 100%, 0 0; }
}

/* Divisor diagonal assinatura: transição do hero vibrante para o branco da próxima seção */
.hero-with-logo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 32px 0 40px;
}

/* Usado só pelas regionais sem arte própria de capa (ver heroImage em
   regions.config.js) — título em texto no lugar da imagem da MG */
.hero-text-fallback {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 0 8px;
}

.hero-text-fallback h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-text-fallback h1 span {
  color: var(--accent);
}

.hero-text-fallback p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  margin: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-badge i {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA principal do hero em dourado para se destacar do fundo verde/azul */
.hero-content .btn-primary {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.hero-content .btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* CTA secundário do hero — contorno, para quem já é associado e só quer ver a lista */
.hero-content .btn-primary.hero-btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
  box-shadow: none;
}

.hero-content .btn-primary.hero-btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

/* =====================================================
   BOTÕES
===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--touch-target);
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0,112,60,0.25);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,112,60,0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-cta {
  background: var(--white);
  color: var(--primary);
  font-size: 1rem;
  border: 2px solid var(--white);
}

.btn-cta:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* =====================================================
   INTRO SECTION
===================================================== */
.intro-section {
  padding: 4rem 0 4.5rem;
  text-align: center;
  /* REDESIGN VISUAL: leve gradiente off-white -> lilás, tira o "branco puro" sem perder legibilidade */
  background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
}

.intro-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  position: relative;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.intro-section h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background-color: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

.intro-section p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.intro-section p strong {
  color: var(--primary);
}

/* =====================================================
   COMO APROVEITAR — cards explicativos, entre a Conexão Abrasel e os parceiros
===================================================== */
.benefits-strip {
  padding: 56px 0;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.benefits-strip h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 12px;
}

.benefits-strip h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 14px auto 36px;
}

.benefits-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-strip-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 28px 28px;
  min-height: var(--touch-target);
  background: var(--white);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-md);
  color: var(--gray-900);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-strip-item i {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.4rem;
  transition: background var(--transition), color var(--transition);
}

.benefit-strip-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.benefit-strip-item p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--gray-700);
  flex-grow: 1;
}

.benefit-strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 18px;
  min-height: var(--touch-target);
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), gap var(--transition);
}

.benefit-strip-cta i {
  font-size: 0.8rem;
  transition: transform var(--transition);
}

.benefit-strip-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}

.benefit-strip-item:hover i {
  background: var(--primary);
  color: var(--white);
}

.benefit-strip-item:hover .benefit-strip-cta {
  background: var(--primary);
  color: var(--white);
}

.benefit-strip-item:hover .benefit-strip-cta i {
  transform: translateX(3px);
}

@media (max-width: 860px) {
  .benefits-strip-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   CONEXÃO ABRASEL — banner de destaque
===================================================== */
.spotlight-section {
  padding: 56px 0;
  background: var(--gradient-vibrant);
  position: relative;
  overflow: hidden;
}

.spotlight-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.spotlight-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* A logo da Conexão Abrasel é uma marca horizontal (~3.4:1) — um círculo pequeno
   deixava ela minúscula/espremida. Agora o container acompanha o formato real da
   marca, bem maior, com fundo branco pra ela aparecer com as cores originais. */
.spotlight-icon {
  flex-shrink: 0;
  width: 240px;
  height: 84px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  overflow: hidden;
  padding: 14px 20px;
}

.spotlight-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.spotlight-text {
  flex: 1;
  min-width: 240px;
  color: var(--white);
}

.spotlight-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.spotlight-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.spotlight-text p {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
}

.spotlight-btn {
  flex-shrink: 0;
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  white-space: nowrap;
}

.spotlight-btn:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* =====================================================
   PARCEIROS
===================================================== */
.partners-section {
  padding: 72px 0 96px;
  /* Leve tom esverdeado + textura de pontos em vez de branco puro — é a maior seção
     da página (57 cards), então era onde o "fundo muito branco" mais pesava. */
  background-color: #fafcfa;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300703c' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
}

.partners-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.partners-section h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 12px auto 0;
}

.parceiros-instructions {
  text-align: center;
  font-size: 0.92rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.search-bar-wrapper {
  margin-bottom: 24px;
}

.search-bar {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 0.9rem;
  pointer-events: none;
}

#busca-parceiro {
  width: 100%;
  min-height: var(--touch-target);
  padding: 14px 48px 14px 44px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-pill);
  font-size: 1rem; /* 16px — impede o zoom automático do Safari iOS ao focar */
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-family: inherit;
}

/* Remove os ícones nativos de busca (Chrome/Safari) para não duplicar com o botão customizado */
#busca-parceiro::-webkit-search-decoration,
#busca-parceiro::-webkit-search-cancel-button,
#busca-parceiro::-webkit-search-results-button,
#busca-parceiro::-webkit-search-results-decoration {
  display: none;
}

#busca-parceiro:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,112,60,0.12), 0 8px 24px rgba(0,112,60,0.1);
}

#busca-parceiro::placeholder {
  color: var(--gray-500);
}

.search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-300);
  border: none;
  color: var(--gray-700);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: background var(--transition);
}

/* Área de toque expandida (~44x44) sem alterar o tamanho visual do botão */
.search-clear::before {
  content: '';
  position: absolute;
  inset: -10px;
}

.search-clear:hover {
  background: var(--gray-500);
  color: var(--white);
}

.segment-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px 0;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--touch-target);
  padding: 8px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,112,60,0.3);
  transform: translateY(-1px);
}

.tab-count {
  background: rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 0.72rem;
  padding: 1px 6px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.tab-btn:not(.active) .tab-count {
  background: var(--gray-100);
  color: var(--gray-500);
}

.search-status {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  min-height: 20px;
}

.partners-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
  animation: fadeInUp 0.4s ease both;
  /* Cor padronizada (institucional) em todos os cards — etiqueta, borda e ícones seguem a mesma cor */
  border-top: 4px solid var(--primary);
}

.partner-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--card-shadow-hover);
}

.partner-img-wrapper {
  position: relative;
  height: 200px;
  background: var(--gray-100);
  overflow: hidden;
}

.partner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.partner-card:hover .partner-img {
  transform: scale(1.04);
}

.partner-segment-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partner-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.partner-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  /* Padronizado em preto: a cor por segmento fica só na borda/badge do card (identidade visual),
     o texto em si permanece neutro para manter a leitura limpa e profissional entre os cards */
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* TESTE — badge de benefício extraído automaticamente da descrição */
.partner-benefit-badge {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}

.partner-benefit-badge i {
  color: var(--accent-dark);
  margin-top: 2px;
  flex-shrink: 0;
}

.partner-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

/* TESTE — descrições com "1) ... 2) ... 3)..." viram lista em vez de parágrafo corrido */
.partner-desc-lead {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 10px;
  font-weight: 600;
}

.partner-services {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.partner-services li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.partner-services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
  transform: rotate(45deg);
}

.partner-desc-trailing {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 14px;
}

.partner-desc.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-ver-mais {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0 12px;
  min-height: 36px;
  text-align: left;
  font-family: inherit;
  transition: color var(--transition), gap var(--transition);
}

.btn-ver-mais:hover {
  text-decoration: underline;
}

/* Lista compacta de diferenciais/benefícios (specialties, benefits, highlights) */
.partner-highlights {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.partner-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.45;
}

.partner-highlights li i {
  color: var(--primary);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.partner-highlights-more {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-style: italic;
  margin: -2px 0 14px;
}

.partner-coverage {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.partner-coverage i {
  color: var(--primary);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.partner-contact {
  border-top: 1px solid var(--gray-100);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.partner-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-700);
}

/* Todos os ícones de contato (e-mail, telefone, site) na mesma cor institucional —
   padronizado, sem variar por tipo. O ícone do WhatsApp segue à parte, sempre branco
   dentro do botão .btn-whatsapp-card/.btn-fallback-contact. */
.partner-contact i {
  color: var(--primary);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.partner-contact a {
  color: var(--gray-700);
  transition: color var(--transition);
}

.partner-contact a:hover {
  color: var(--primary);
}

/* Botão de WhatsApp padronizado na cor institucional (menos "verde neon" que o verde de marca
   do WhatsApp) — ícone e texto permanecem brancos, garantindo contraste e visibilidade do ícone */
.btn-whatsapp-card,
.btn-fallback-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--touch-target);
  background: var(--primary);
  color: var(--white) !important;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  transition: background var(--transition);
  width: 100%;
}

.btn-whatsapp-card i,
.btn-fallback-contact i {
  color: var(--white);
}

.btn-whatsapp-card:hover,
.btn-fallback-contact:hover {
  background: var(--primary-dark);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  color: var(--gray-500);
}

.no-results i {
  font-size: 3rem;
  color: var(--gray-300);
  display: block;
  margin-bottom: 16px;
}

.no-results p {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gray-700);
}

.no-results span {
  font-size: 0.875rem;
}

/* =====================================================
   CTA
===================================================== */
.cta-section {
  padding: 96px 0;
  /* Espelha o gradiente do hero para "fechar" a página com o mesmo mood — sem blobs coloridos */
  background: var(--gradient-vibrant);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Mesma textura + brilho diagonal do hero, reforçando a assinatura visual da página */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.09) 50%, transparent 65%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 260% 260%, auto;
  background-position: 0% 0%, 0 0;
  animation: sheenSweep 10s ease-in-out infinite;
}

/* Divisor diagonal simétrico ao do hero: marca a transição do branco dos parceiros para o CTA vibrante */
.cta-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 70px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 0 60%);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 24px;
  position: relative;
}

/* Fio de gradiente institucional no topo do rodapé — sem glow/blob atrás da logo */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--accent));
}

/* Barra de credibilidade acima das colunas — reforça autoridade institucional
   (sem apelar pra selo de segurança falso, que não faz sentido numa página sem checkout) */
.footer-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
}

.footer-stat i {
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-stat strong {
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.logo-footer {
  /* Logo do rodapé ampliada (era 160px) para dar mais presença institucional */
  width: 220px;
  border-radius: var(--radius-sm);
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 260px;
}

.footer-institutional h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.footer-contact p a {
  color: inherit;
  transition: color var(--transition);
}

.footer-contact p a:hover {
  color: var(--accent);
}

.footer-contact i {
  color: var(--accent);
  width: 16px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target);
  height: var(--touch-target);
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.footer-bottom p {
  margin-bottom: 4px;
}

.footer-credits {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-top-link:hover {
  color: var(--accent);
}

/* =====================================================
   BOTÕES FLUTUANTES
===================================================== */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.floating-whatsapp {
  background: #25D366;
}

.floating-instagram {
  background: linear-gradient(45deg, #405DE6, #833AB4, #C13584, #E1306C, #FD1D1D, #F77737, #FCAF45);
}

/* Botão "voltar ao topo" — inserido dinamicamente via JS, some/aparece conforme o scroll */
.floating-top {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  font-size: 1.1rem;
  opacity: 0;
  transform: scale(0.7) translateY(10px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.floating-top.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* =====================================================
   ANIMAÇÕES
===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* REDESIGN VISUAL: reveal suave ao rolar a página (aplicado via JS/IntersectionObserver
   em títulos de seção e cards de benefícios — os cards de parceiros já usam fadeInUp acima) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================
   TABLET ≤ 900px
===================================================== */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 420px;
  }
}

/* =====================================================
   MOBILE ≤ 640px
===================================================== */
@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .spotlight-section {
    padding: 40px 0;
  }

  .spotlight-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .spotlight-icon {
    width: 200px;
    height: 70px;
  }

  .spotlight-text {
    min-width: 0;
  }

  .spotlight-text p {
    max-width: none;
  }

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

  .header .container {
    flex-wrap: wrap;
    padding: 10px 16px;
    height: auto;
    min-height: var(--header-height);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.open {
    max-height: 300px;
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 12px 0;
    gap: 2px;
  }

  .nav-menu a {
    padding: 0 12px;
    border-radius: var(--radius-sm);
  }

  .logo-apresentacao {
    width: 52px;
    height: 52px;
  }

  .logo-title {
    font-size: 1.15rem;
  }

  .logo-text p {
    font-size: 0.72rem;
  }

  .hero-with-logo::after,
  .cta-section::after {
    height: 50px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .segment-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 0 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
    gap: 6px;
  }

  .segment-tabs::-webkit-scrollbar {
    height: 3px;
  }

  .segment-tabs::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 2px;
  }

  .partners-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
    align-items: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-links {
    align-items: center;
  }

  .footer-stat {
    flex-direction: column;
    gap: 6px;
  }

  .cta-section {
    padding: 64px 0;
  }

  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .floating-buttons {
    bottom: 20px;
    right: 16px;
  }
}

/* =====================================================
   MOBILE EXTRA — até 480px
===================================================== */
@media (max-width: 480px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: 92%;
    padding: 0 10px;
  }

  /* Header */
  .header .container {
    padding: 8px 10px;
    gap: 10px;
  }

  .logo-container {
    gap: 10px;
    max-width: calc(100% - 52px);
  }

  .logo-apresentacao {
    width: 46px;
    height: 46px;
  }

  .logo-title {
    font-size: 1rem;
    line-height: 1.1;
  }

  .logo-text p {
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .nav-menu ul {
    padding: 10px 0;
  }

  .nav-menu a {
    font-size: 0.95rem;
    padding: 0 12px;
  }

  /* Hero */
  .hero-with-logo::after,
  .cta-section::after {
    height: 36px;
  }

  .hero-badge {
    margin-bottom: 14px;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.92rem;
  }

  /* Intro */
  .intro-section {
    padding: 2.5rem 0 3rem;
  }

  .intro-section h2 {
    font-size: 1.45rem;
    margin-bottom: 1.2rem;
  }

  .intro-section h2::after {
    width: 72px;
    margin-top: 12px;
  }

  .intro-section p {
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 1.15rem;
  }

  /* Como aproveitar (cards) */
  .benefits-strip {
    padding: 32px 0;
  }

  /* Parceiros */
  .partners-section {
    padding: 56px 0 72px;
  }

  .partners-section h2 {
    font-size: 1.45rem;
    margin-bottom: 28px;
  }

  .search-bar {
    max-width: 100%;
  }

  #busca-parceiro {
    font-size: 1rem;
    padding: 13px 42px 13px 40px;
  }

  .search-icon {
    left: 14px;
  }

  .search-clear {
    right: 12px;
    width: 22px;
    height: 22px;
  }

  .segment-tabs {
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .tab-btn {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .tab-count {
    font-size: 0.68rem;
    min-width: 18px;
    padding: 1px 5px;
  }

  .search-status {
    font-size: 0.8rem;
    margin-bottom: 16px;
  }

  .partners-container {
    gap: 18px;
  }

  .partner-img-wrapper {
    height: 180px;
  }

  .partner-segment-tag {
    font-size: 0.62rem;
    padding: 3px 8px;
    top: 8px;
    left: 8px;
  }

  .partner-content {
    padding: 16px;
  }

  .partner-content h3 {
    font-size: 1.02rem;
    margin-bottom: 7px;
  }

  .partner-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .btn-ver-mais {
    font-size: 0.78rem;
    padding-bottom: 10px;
  }

  .partner-contact {
    padding-top: 12px;
    gap: 5px;
  }

  .partner-contact p {
    font-size: 0.84rem;
    align-items: flex-start;
  }

  .partner-contact i {
    margin-top: 3px;
  }

  .btn-whatsapp-card,
  .btn-fallback-contact {
    font-size: 0.82rem;
    padding: 10px 14px;
  }

  .no-results {
    padding: 42px 12px;
  }

  .no-results i {
    font-size: 2.4rem;
  }

  .no-results p {
    font-size: 1rem;
  }

  .no-results span {
    font-size: 0.82rem;
  }

  /* CTA */
  .cta-section {
    padding: 54px 0;
  }

  .cta-section h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .cta-section p {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

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

  /* Footer */
  .footer {
    padding: 48px 0 20px;
  }

  .footer-content {
    gap: 22px;
    margin-bottom: 28px;
  }

  .logo-footer {
    width: 170px;
  }

  .footer-institutional h3,
  .footer-contact h3,
  .footer-social h3 {
    font-size: 0.76rem;
    margin-bottom: 12px;
  }

  .footer-contact p {
    font-size: 0.86rem;
    gap: 8px;
    margin-bottom: 8px;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding-top: 18px;
  }

  /* Flutuantes */
  .floating-buttons {
    bottom: 14px;
    right: 12px;
    gap: 10px;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1.08rem;
  }
}

/* =====================================================
   MOBILE MUITO PEQUENO — até 360px
===================================================== */
@media (max-width: 360px) {
  .logo-title {
    font-size: 0.92rem;
  }

  .logo-text p {
    font-size: 0.62rem;
  }

  .partner-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tab-btn {
    font-size: 0.76rem;
    padding: 7px 10px;
  }
}
