/* ============================================
   FETALMED — Página Individual do Nome
   single-nomes.php
   ============================================ */

.fn-page {
  background: #f8fafc;
  padding-bottom: 48px;
}

/* ── Inline search ── */
.fn-inline-search {
  position: relative;
  margin-bottom: var(--space-lg, 24px);
}
.fn-inline-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light, #64748b);
  pointer-events: none;
}
.fn-inline-search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  font-size: 14px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  color: var(--color-text-strong, #0f172a);
  background: #fff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-sm, 8px);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.fn-inline-search-input:focus {
  border-color: var(--color-primary, #0e7490);
  box-shadow: 0 0 0 3px rgba(14,116,144,.1);
}
.fn-inline-autocomplete {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 0.5px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.fn-inline-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  transition: background .1s;
}
.fn-inline-ac-item:hover { background: #f1f5f9; }
.fn-inline-ac-item + .fn-inline-ac-item { border-top: 0.5px solid #f1f5f9; }
.fn-inline-ac-name { font-weight: 500; color: var(--color-text-strong, #0f172a); }
.fn-inline-ac-meta { font-size: 11px; color: var(--color-text-light, #64748b); }

/* ── Header ── */
.fn-header {
  background: #fff;
  border: 0.5px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  padding: 24px 24px 20px;
  margin-bottom: var(--space-md, 16px);
}

.fn-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.fn-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-strong, #0f172a);
  line-height: 1.1;
  margin: 0;
}

.fn-fav-btn {
  background: none;
  border: 0.5px solid var(--color-border, #e2e8f0);
  border-radius: 99px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: #e11d48;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .15s;
}
.fn-fav-btn:hover,
.fn-fav-btn.active { background: #fff1f2; border-color: #e11d48; }

/* ── Badges ── */
.fn-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.fn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
}
.fn-badge-masculino { background: #ecfeff; color: #155e75; }
.fn-badge-feminino  { background: #fff1f2; color: #be123c; }
.fn-badge-unissex   { background: #f1f5f9; color: #1e293b; }
.fn-badge-orig      { background: #f1f5f9; color: #1e293b; }
.fn-badge-orig:hover { background: #e2e8f0; }

/* ── Variações ── */
.fn-variacoes {
  font-size: 12px;
  color: var(--color-text-light, #64748b);
  margin: 0;
}
.fn-variacoes strong {
  color: var(--color-text-mid, #334155);
  font-weight: 500;
}

/* ── Seções ── */
.fn-section {
  padding: 16px 0 0;
}

.fn-section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary, #0e7490);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 10px;
}

/* ── Significado ── */
.fn-sig-card {
  background: #fff;
  border: 0.5px solid var(--color-border, #e2e8f0);
  border-left: 3px solid var(--color-primary, #0e7490);
  border-radius: 0 var(--radius-md, 12px) var(--radius-md, 12px) 0;
  padding: 16px;
}

.fn-sig-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-strong, #0f172a);
  line-height: 1.4;
  margin: 0;
}

/* ── Descrição ── */
.fn-desc {
  font-size: 14px;
  color: var(--color-text-mid, #334155);
  font-weight: 300;
  line-height: 1.8;
}
.fn-desc p { margin: 0 0 12px; }
.fn-desc p:last-child { margin-bottom: 0; }

.fn-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 0.5px solid var(--color-border, #e2e8f0);
  border-radius: 99px;
  padding: 3px 8px;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 12px;
}

/* ── Combina bem com ── */
.fn-combina-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fn-combina-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #fff;
  border: 0.5px solid var(--color-border, #e2e8f0);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary, #0e7490);
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
}
a.fn-combina-chip:hover {
  background: #f0fdfa;
  border-color: var(--color-primary, #0e7490);
  transform: translateY(-1px);
}

/* ── WhatsApp ── */
.fn-wpp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-md, 12px);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.fn-wpp-btn:hover { opacity: .9; }

/* ── Similares ── */
.fn-similares-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.fn-sim-card {
  background: #fff;
  border: 0.5px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-sm, 10px);
  padding: 10px 12px;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.fn-sim-card:hover {
  border-color: var(--color-primary, #0e7490);
  transform: translateY(-1px);
}

.fn-sim-nome {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-strong, #0f172a);
  margin-bottom: 2px;
}

.fn-sim-orig {
  font-size: 11px;
  color: #94a3b8;
}

/* ── Surpresa ── */
.fn-surprise-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1.5px dashed var(--color-primary, #0e7490);
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary, #0e7490);
  margin-top: 20px;
  transition: background .2s;
}
.fn-surprise-btn:hover { background: #f0fdfa; }

/* ── Skeleton ── */
.fn-skeleton {
  height: 60px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: fn-skeleton 1.4s ease infinite;
  border-radius: var(--radius-md, 12px);
}
@keyframes fn-skeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Divisor ── */
/* ── Famosos ── */
.fn-famosos-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fn-famoso-card {
  background: #fff;
  border: 0.5px solid var(--color-border, #e2e8f0);
  border-radius: 10px;
  padding: 12px 14px;
}
.fn-famoso-nome {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-strong, #0f172a);
  margin-bottom: 2px;
}
.fn-famoso-desc {
  font-size: 12px;
  color: var(--color-text-light, #64748b);
  font-weight: 300;
  line-height: 1.5;
}

/* ── Ad slots ── */
.fn-page .ad-slot {
  background: #fff;
  border: 1.5px dashed var(--color-border, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  padding: 20px;
}
.fn-page .ad-slot svg { width: 16px; height: 16px; opacity: .4; }
.fn-page .ad-slot-rectangle { min-height: 250px; }
.fn-page .ad-slot-leaderboard { min-height: 90px; }

.fn-divider {
  height: 0.5px;
  background: var(--color-border, #e2e8f0);
  margin: 20px 0 0;
}

/* ── Responsivo ── */
@media (max-width: 400px) {
  .fn-similares-grid { grid-template-columns: 1fr; }
  .fn-title { font-size: 26px; }
}
