/* ================================================
   CONDIÇÕES TRATADAS — Editorial Premium
   ================================================ */

#condicoes {
  padding: 110px 0;
  background: #f8fbff;
}

/* ── Cabeçalho ── */
.cond-header {
  text-align: center;
  margin-bottom: 76px;
}
.cond-header .section-title {
  margin-top: 8px;
  margin-bottom: 0;
}

/* ── Grid 2 colunas ── */
.cond-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

/* ══ ESQUERDA: Lista editorial ══ */

.cond-list {
  display: flex;
  flex-direction: column;
}

.cond-item {
  display: flex;
  gap: 22px;
  padding: 32px 0;
  align-items: flex-start;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.cond-list:hover .cond-item {
  opacity: 0.38;
}
.cond-list:hover .cond-item:hover,
.cond-list:hover .cond-item.active {
  opacity: 1;
}

/* Ícone circular minimalista */
.cond-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
  transition: background 0.22s ease, color 0.22s ease;
}
.cond-item:hover .cond-icon,
.cond-item.active .cond-icon {
  background: var(--primary);
  color: #fff;
}
.cond-icon svg {
  width: 17px;
  height: 17px;
}

.cond-item.active .cond-title {
  color: var(--primary);
}

.cond-body {
  flex: 1;
}

.cond-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.cond-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 12px;
}

.cond-link {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.1px;
  transition: gap 0.2s ease;
}
.cond-link svg {
  width: 13px;
  height: 13px;
}
.cond-link:hover {
  gap: 9px;
}

/* Separador fino */
.cond-sep {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ══ DIREITA: Visual ══ */

.cond-visual {
  position: relative;
}

.cond-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.cond-img-frame img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity 0.26s ease;
}
.cond-img-frame img.fading {
  opacity: 0;
}

/* Overlay suave para unificar o fundo da imagem */
.cond-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(2, 100, 160, 0.06) 100%
  );
  pointer-events: none;
}

/* ── Indicadores anatômicos ── */
.cond-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.cond-marker {
  position: absolute;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease 0.15s;
}
.cond-marker.active {
  opacity: 1;
}

.cond-marker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.18);
}

.cond-marker-line {
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.cond-marker-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(2, 100, 160, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.cond-marker-shoulder { top: 19%; }
.cond-marker-lumbar   { top: 43%; }
.cond-marker-knee     { top: 66%; }

/* ── Responsivo ── */
@media (max-width: 1100px) {
  .cond-split { gap: 56px; }
}

@media (max-width: 900px) {
  .cond-split { gap: 36px; align-items: start; }
  .cond-img-frame img { height: 460px; }
}

@media (max-width: 600px) {
  #condicoes { padding: 80px 0; }
  .cond-header { margin-bottom: 44px; }

  .cond-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cond-visual { order: -1; }
  .cond-img-frame img { height: 300px; }
  .cond-markers { display: none; }

  .cond-item { padding: 20px 0; }
}
